poco
Cascade delete and detached objects in Entity Framework?
Here is a part of an Entity Framework model Basically I have items that can have multiple previews, and each preview has a thumbnail (stored in the blob field Data in PreviewThumbnail).[详细]
2023-03-09 13:46 分类:问答EF 4.1: Removing child object from collection does not delete it - why?
I have a some error : EF 4: Removing child object from collection does not delete it - why? when i remove a child from the parent that the child is deleted when i call SaveChanges(), it gives the fol[详细]
2023-03-08 03:05 分类:问答Strategies for replacing legacy data layer with Entity framework and POCO classes
We are using .net C# 4.0, VS 2010, EF 4.1 and legacy code in this project we are working on. I\'m working on a win form project where I have made a decision to start using entity framework 4.1 for ac[详细]
2023-03-07 17:30 分类:问答MVC 3 + EF 4.1 + POCOs + ViewModel pattern + Controller with scaffolding == confusion!
I\'m [finally!] tackling MVC (version 3) after years of ASP.NET forms development. I have a strong background in n-tier application architecture, and I\'m trying to approach this new project properly,[详细]
2023-03-07 16:43 分类:问答Why create classes to represent data in web applications?
In the past, I\'ve generally used classes to represent my data in applications I design and build.But in web applications, that doesn\'t seem to be needed/applicable, because data is stored in a datab[详细]
2023-03-07 12:56 分类:问答How to use POCO with Domain Service Class Dialog?
I want the Domain Service Class to show my entities so that I can have it generate CRUD for me.Why is nothing showing up?[详细]
2023-03-07 03:12 分类:问答How to design an application using Entity Framework 4.1, POCOs, and the Repository Pattern
I\'m trying to design an application, in ASP.NET MVC, using Enterprise Library 4.1I added the Entity Framework POCO template and moved the generated entities to a separate \"Entities\" project.However[详细]
2023-03-07 02:23 分类:问答Is it bad to have some common methods in POCO entities?
Is it bad design to have some common functions in POCO entities in Asp.NET MVC 3 + EF CF project? Let\'s say i need function 开发者_高级运维to get next record code generated by entity properties :[详细]
2023-03-06 17:00 分类:问答EF4: Serialize only eager loaded navigation properties of Poco Objects
I am using a WCF Service which returns POCO objects. My navigation properties are marked as virtual to enable lazy loading/proxies. I also use the [ApplyDataContractResolver] pattern to serialize the[详细]
2023-03-06 10:57 分类:问答Entity Framework + POCO Downfalls?
I have heard that there are downsides to POCO with Entity Framework, but I am not 100% sure what they are. I heard that there are issues with change tracking. What are the major downsides and what are[详细]
2023-03-06 02:37 分类:问答