c# - Foreign Key Association and Independent Association, Whose priority is higher? -


if have entity in ef , have foreign key property in entity. want update related record. if use both foreign key association , independent association, preferred entity framework , why ?

case : suppose if assign different entity navigation property , different enityid in foreign key property. saved in database ?

i think foreign key in case. independent key table's itself


Comments

Popular posts from this blog

c# - Store DBContext Log in other EF table -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -