zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

2 results in tag: table-per-type

With EF 4.1 Fluent Code First, you may inherit tables per type.

I have a pretty straight forward set of database tables, like:...Vehicle Id RegNo Car Id (FK of Vehicle.Id) OtherStuff Bike Id (FK of Vehicle.Id) MoreStuff ...My class model is as you'd expect: with Vehicle being an abstract class, and then Car an...
entity-framework entity-framework-4 entity-framework-4.1 entity-framework-6 table-per-type
asked by nbevans

TPT inheritance in entity framework code first

by using ...Table per Type (TPT)... inheritance in ...Entity Framework...codefirst... we can create foreign keys like this : ... public abstract class Person { public int id { get; set; } public string Name { get; set; } public string Fami...
code-first ef-code-first entity-framework entity-framework-6 table-per-type
asked by Iman Salehi

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!