I am getting started with WCF Data Services. A WCF Service requires programmer to explicitly define the DataContract and the DataMembers comprising the DataContract but I don't see any such thing for WCF Data Services. Given a class, how to choose what properties get serialized when using WCF Data Services?
When I try to create a WCF Data Service for my SQL Server database, I get an error - it does not know how to serialize objects of type DbGeometry.