Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity Framework mapping

Has anyone a good sample for a "real" mapping scenario with Entity Framework. Not one of that simple Table <-> Entity one ;-)

like image 501
Andreas Avatar asked Mar 13 '26 12:03

Andreas


1 Answers

You should look at the Defining Advanced Data Models article on MSDN, it has the following subjects:

  • Define a Model with a Stored Procedure
  • Define a Model with Modification Stored Procedures
  • Define a Model with Complex Type
  • Define a Model with Table-per-Type Inheritance
  • Define a Model with Table-per-Hierarchy Inheritance
  • Define a Model with Multiple Entity Sets per Type
  • Define a Model with Single Entity Mapped to Two Tables
  • Define a Model with a Horizontal Partition in the Storage Model
like image 61
Davy Landman Avatar answered Mar 16 '26 09:03

Davy Landman



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!