Having this object
public class MyObject
{
public Guid Id { get; set; }
public string Name { get; set; }
public ICollection<Url> Urls { get; set; }
}
Add a way to use custom serialize / deserialize mechanisms for a property.
In this exemple I could write two short functions that use protobuff to store the Urls property as binary in database and restore it when retrieved from database.
public class MyObject
{
public Guid Id { get; set; }
public string Name { get; set; }
public ICollection<Url> Urls { get; set; }
}
Add a way to use custom serialize / deserialize mechanisms for a property.
In this exemple I could write two short functions that use protobuff to store the Urls property as binary in database and restore it when retrieved from database.