开发者

Entity Framework 4 Collection to Binary Column

开发者 https://www.devze.com 2023-04-10 18:41 出处:网络
one of my entities contains a collection of objects i would like to persist to a binary column in the database and get populated on fetching.开发者_运维知识库 is this supported with EF or do i need to

one of my entities contains a collection of objects i would like to persist to a binary column in the database and get populated on fetching.开发者_运维知识库 is this supported with EF or do i need to manually handle this in my repository?


You would need to manually serialize the collection yourself and then store the serialized data in a binary format.

0

精彩评论

暂无评论...
验证码 换一张
取 消