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

Entity Framework 6 - Knowledge Base (KB)

5 results in tag: relational-database

Mapping Many to Many Relationship w/ Foreign Key Reference

This should be a simple question for the well versed EF user....I have the following schema (in my head) of how the relationships between the tables should look....[FooBar] [Foo] [Bar] FooId PK,FK Id PK Id PK BarId PK,FK BarId ...
.net c# entity-framework relational-database sql-server
asked by culturalanomoly

Duplicate ForeignKey when using inheritance

I have created these classes in order to generate the database model via EntityFramework 6 code-first approach: ...public class Vehicle { public long Id { get; set; } public long ResponsiblePersonId { get; set; } } public class Car: Vehicle { ...
c# entity-framework entity-framework-6 relational-database
asked by user2549803

Multiplicity constraint violated Entity framework 6

I have something which i don't understand. ...This... is a similar case like mine. I have BaseEntity, Product, Supplier, Contract and a ProductSupplierForContract Entities, all inherit from BaseEntity....Base Entity:...public class BaseEntity { public...
asp.net-mvc c# entity-framework-6 orm relational-database
asked by Dimitri

Entity Framework inserting duplicates on Seeding database

EDIT----...From ...here... i tried assigning Id's in the seeding method and this was ...OK for Languages... but not when i added Address to the customer and assign Id's as well to these addresses, than it created the dupes again......Both Address & Langua...
c# code-first entity-framework-6 relational-database seeding
asked by Dimitri

Entity Framework database mapping relationships (Duplicate creation using Seed() method)

I created a post with ...an issue... and ...another issue.... These can be looked at for references but i consider them as handled....My question arising from these issues and the action i (need or not need) to apply bothers me because i don't quite under...
asp.net-mvc code-first entity-framework-6 orm relational-database
asked by Dimitri

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
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!