ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-2945) .NET: Investigate Entity Framework entity object serialization
Date Thu, 05 May 2016 12:19:12 GMT

    [ 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)

Mime
View raw message