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)

7 results in tag: self-referencing-table

Self-referencing many to many relation in Entity Framework Core

I'm using Entity Framework Core (EF) for building models for a project....Now I want to save companies and their hierachy. Therefore I have following cases:...A subsidiary company (Child) has any number of children and any number of parents....A parent co...
c# entity-framework-core many-to-many self-referencing-table visual-studio-2015
asked by MCoder

EF Core - Self-referencing Many to Many relationship

Entity model:...public class DocumentType : CodeBase { [Required] [MaxLength(100)] public string Name { get; set; } public TimeSpan? Productiontime { get; set; } public bool IsDeliverable { get; set; } public virtual ICollection...
c# entity-framework-core many-to-many self-referencing-table
asked by user2963570

Entity Framework Core One-One Self Referencing Relationship fails

When building the migration I get the following error: ...Unable to determine the relationship represented by navigation property 'Location.NorthLocation' of type 'Location'. Either manually configure the relationship, or ignore this property from the mod...
entity-framework entity-framework-core entity-relationship one-to-one self-referencing-table
asked by Hades

How to implement an self referencing many to many relationship with Entity Framework Core 1.1?

I'm following this tutorial to implement my friendship system with EF Core 1.1 : ...http://www.codedodle.com/2014/12/social-network-friends-database.html...Friendship.cs...public class Friendship { public Guid ApplicationUserId { get; set; } publi...
asp.net-core c# entity-framework-core many-to-many self-referencing-table
asked by abatjourr

Map category parent id self referencing table structure to EF Core entity

Database Table:...Image...I tried this approach to map the category table to EF core:...protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.Entity<Category>(entity => { entity .HasMany(e => e.Child...
c# categories entity-framework-core self-referencing-table sql
asked by lschmid

EF Core one-way self referencing entity binding

I have set up a self referential entity using EF Core which looks like this:...Entity...public class DetailType { public int DetailTypeId { get; set; } public string Name { get; set; } public int? ParentTypeId { get; set; } public DetailT...
asp.net-core c# entity-framework entity-framework-core self-referencing-table
asked by Andy Furniss

Entity Framework Core 3.0 - Creating a self-referencing many to many relationship

So here is my issue...what I am trying to create is a self-referencing many to many relationship. Basically here is my model....public class InformationSystem { public InformationSystem() { Systems = new HashSet<InformationSystem>(); Parent...
c# entity-framework-core many-to-many self-referencing-table
asked by Chris Kuznicki

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!