You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2016/05/05 12:19:12 UTC
[jira] [Commented] (IGNITE-2945) .NET: Investigate Entity Framework
entity object serialization
[ https://issues.apache.org/jira/browse/IGNITE-2945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15272245#comment-15272245 ]
Pavel Tupitsyn commented on IGNITE-2945:
----------------------------------------
Findings:
* Latest stable Entity Framework (v6) works only with POCOs (there is no mode where entities derive from some EF classes).
* In certain cases, EF returns proxy objects instead of real objects (for lazy loading, etc).
* POCO proxy objects can't be serialized by Ignite (they are dynamic and can't be registered). User has to disable proxy generation via DbContextConfiguration.ProxyCreationEnabled property.
Documentation is updated: https://apacheignite-net.readme.io/v1.5/docs/serialization
> .NET: Investigate Entity Framework entity object serialization
> --------------------------------------------------------------
>
> Key: IGNITE-2945
> URL: https://issues.apache.org/jira/browse/IGNITE-2945
> Project: Ignite
> Issue Type: Task
> Components: platforms
> Affects Versions: 1.1.4
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Fix For: 1.7
>
>
> Check what happens when user tries to put EF entities to cache in various modes (POCO, POCO proxy, non-POCO, etc).
> We need to either improve support for such objects, or provide documentation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)