python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Many to Many, self join - how to do this, code first in Fluent Api, EF Core 6?
https://i.stack.imgur.com/VOvHl.png
So basically, I want to be able to define a User and have them be able to have a list of other Users that I designate as their friends - for some reason I'm stumped...
TikTakToe
Votes: 0
Answers: 1
Entity Framework Core: Owned type that has navigation properties
I have some classes:
public class Project
{
public TimeLine TimeLine { get; set; };
}
public class TimeLine
{
public ICollection<TimeLinePhases> TimeLinePhases { get; set; };
}
pub...
Niels
Votes: 0
Answers: 1
Getting classes that Inherits interface<Type:Type>
Here is my problem I want get all of my fluent api configuration classes as a list.
And then apply them in my DbContext.
My domain Classes all Inherits BaseModel like this ;
public class Role : BaseMo...
Saeed sheikhhosseini
Votes: 0
Answers: 2
How to map ComplexType of EF6 in base class to derived class table in EF Core?
Our system is existed and upgrading into EF Core
We have an EntityBase class for all entities to inheritance, but every derived class has its own key "Sid"
EntityBase.cs
public abstract clas...
KAMyAw
Votes: 0
Answers: 0