Ido Flatow

חדשות

Browse by Tags

All Tags » Binary (RSS)
Working with binary data types and detached entities in entity framework
Entity framework supports creating an entity type that holds binary data (byte[]), this is useful if you need your entity to hold things like file streams, photos etc. But there is a problem when your entity has a property of type binary. If you’ve worked with EF and N-tier applications, you know that you can serialize your entity and pass it to the client, deserialize it the client-side, change it and the send it to the server to be updated. MS suggests using the ApplyPropertyChanges method of the...