I have a setup with Client -> WCF -> POCO -> EF4. Say I have a list with A entities. The A entity contain among other properties a huge list of B entities that isn\'t loaded by default. When a certa
I have a little problem. When i\'ll add a new item into my databse(EF) i had a UpdateEception : Unable to update the EntitySet \'UserRoles\' because it has a DefiningQuery and noelement exists in thee
I have a tree structure and need to make a cascade delete. I\'ve read somewhere that marking properties of my poco object with RelatedToAttribute attribute and KeyAttribute would 开发者_开发技巧do the
I have one table \"Courses\" mapped to two entities \"Course\" and \"CourseDetails\". Both have POCO classes with virtual navigation properties.
I have an entity named Tour which can have many Agents. I am able to add agents, but I cannot remove them.
I am using POCO classes on an EF4 CTP5 project and I am having trouble deleting child properties. Here\'s my example (hopefully not too long).
I am having trouble to return an IEnumerable and IList, I cant do it! I am using EF 4 with POCOs Here\'s the whole method:
I\'m using EF4 POCOs and UnitOfWork/repository patterns with MVC 3.I\'m trying to understand how I would modify a new record that is to be inserted.
I am creating an Entity model applying the Model first approach. I want that some of the entity classes have properties of the EnumWrapper type (http://blogs.msdn.com/b/alexj/archive/2009/06/05/tip-23
I am working on WPF application which uses Entity Framework alongwith POCO classes. I would like to use data annotations with POCO classes for Client side validations in UI (WPF). Since, 开发者_运维百