Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Created Issue: Custom property serializer / deserializer [730]

$
0
0
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.


Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>