self-tracking-entities
EF4 STE Access to deleted entity
How can I access deleted entity in self tracking entities graph? I understand that in case I use MarkAsDeleted on the objects contained in a collection they are moved to ObjectsRemovedFromCollectionPr[详细]
2023-02-22 16:47 分类:问答How would I know if I should use Self-Tracking Entities or DTOs/POCOs?
What are some questions I can ask myself about our design to identify if we should use DTOs or Self-Tracking Entities in our application?[详细]
2023-02-19 10:17 分类:问答EF4 Self-Tracking entities and WCF serialization creates stack overflow
I try to get above configuration working, but with no luck. Step 1) I started a new solution with a WCF Service Application project.[详细]
2023-02-18 12:11 分类:问答How to save collection into entity properly?
I have some object with EntityCollection inside. If I just add the new entity everything works good. The code that does it here:[详细]
2023-02-18 08:24 分类:问答How do I correctly use EF4 Navigation Properties?
I\'ve created a database using the EF4 model-first approach. In my model, there\'s an N-to-M relationship between two entities:[详细]
2023-02-17 16:46 分类:问答Self-tracking Entity - Tries to insert an unchanged entity when adding to collection
Using EF4 Self-tracking entities. I have a \"User\" entity that has a collection of \"Groups\" the user can belong to. I want to add/remove some \"Groups\" to this user given just a list of Group IDs[详细]
2023-02-17 05:22 分类:问答EF4 Self Tracking Entities
I am currently trying to use STE\'s in an n-tier scenario. I have a WCF service that allows me to retrieve a graph of objects and/or update objects along with a client (WPF) application that allows me[详细]
2023-02-16 14:48 分类:问答EF4 STE include-path....exclude-path?
Context: Repository-pattern, WCF, WPF/SL In my Repository of self-tracking Entities i need to explicitly load some related properties in order to correctly process the query. Those are not the include[详细]
2023-02-12 04:15 分类:问答EF4 circular reference problem when deleting
Hi I am using EF 4 self tracking entities. I have three tables (Questionnaire, Section and Page) as follows;[详细]
2023-02-06 01:47 分类:问答Self-Tracking Entity Sets and loading realated entites with include problem
I have a problem with .include method of Self-Tracking Entity. My table called documents have relations to tables States, Companies, Workers and Departments. I want to load all documents with this rel[详细]
2023-01-25 05:37 分类:问答