Hi,
I have a domain entity class and a GeoJson2DGeographicCoordinates
property:
public GeoJson2DGeographicCoordinates Location { get; set; }
Is it possible to serialize it to the mongoDB
GeoJsonPoint<GeoJson2DGeographicCoordinates>
.
I do prefer to map it by code:
BsonClassMap.RegisterClassMap<MyClass>(cm =>
{
cm.AutoMap();
cm.MapMember(c => c.X).SetSerializer(new XXXSerializer());
});
Thanks