table-per-type
TPH vs TPT vs TPC and OR mappers
I\'m working on a datamodel that has a set of types that share some common fields such as Id, Name, Description. To be more concrete:[详细]
2023-04-12 23:33 分类:问答How do I query just one level of a table-per-type mapping?
I\'m using Entity Framework 4.1\'s code first approach to map a class hierarchy to a series of tables.[详细]
2023-03-27 00:04 分类:问答Table-per-type inheritance with EF 4.1 Fluent Code First
I have a pretty straight forward set of database tables, like: Vehicle Id RegNo Car Id (FK of Vehicle.Id)[详细]
2023-03-16 07:02 分类:问答Entity Framework 4.1 - TPT Eager Loading - "The ResultType of the specified expression is not compatible with the required type"
I have a model with TPT inheritance. Location (abstract) Street (derived from Location) GoogleStreetView (1 Street -> 0..1 GoogleStreetView)[详细]
2023-03-09 16:33 分类:问答Checking Parent Type TPT EF4
I have a TPT scenario in EF4 with an abstract base class. I need to wite a linq query against a collection of children types to get the value from a field of one type of parent.[详细]
2023-03-04 11:05 分类:问答Problem with EF4, SQLite, TPT hierarchy and batch insert
I\'ve been strugglin开发者_JAVA百科g for a little while with the following issue using EF4 and SQLite ADO.NET provider:[详细]
2023-02-22 02:50 分类:问答Entity Framework 4.1 Table-Per-Type Mapping
I am trying to write a project using the code-first approach and I have run into t开发者_Python百科he following problem[详细]
2023-02-22 02:36 分类:问答How can I associate a new entity with an existing entity in EF4?
I\'ve got a Patient entity (storing up-to-date information about a patient) and a TreatmentPlanPatient entity (a copy of a patient\'s date as it was when the \"treatment plan\", another entity not rel[详细]
2023-02-17 19:21 分类:问答Entity Framework 4 - TPT Inheritance in Features CTP5 (code first): rename foreign key column on inherited table
I\'m trying to convert an xml Entity Framework model to Code First (CTP5) one. I have to model a hierarchy which fits quite well the TPT pattern.[详细]
2023-02-10 17:30 分类:问答Entity Framework Table Per Type Performance
So it turns out that I am the last person to discover the fundamental floor that exists in Microsoft\'s Entity Framework when implementing TPT (Table Per Type) inheritance.[详细]
2023-02-03 13:48 分类:问答