Does EF4 support the Cascade update rule? Does it make sense to do this with the Cascade delete rule or is it automatically updated when I call SaveChanges in my context? I saw that in MSSQL 2005 there is a Cascade update option, but I do not see support for it in EF4 ...
Yes, Cascade Update support Entity Framework support, you can see this property in the .edmx file on the properties tab when clicking on table associations
It is not possible to update the Entity key in EF, even if it is an integral part. Therefore, EF does not allow you to create associations without an Entity Key. You can provide this only at the database level.
Source: https://habr.com/ru/post/1337159/More articles:What are the most difficult issues in mood analysis (intellectual examination)? - nlpUnable to compile SFINAE in Visual Studio 10 - c ++Creating parameterized SQL queries in Excel 2010 using VBA - vbaHibernate OneToMany and ManyToOne confusion! List of zeros! - javaThe right way to participate in open source projects? - gitreverse SQL LIKE - sqlDynamic fields / properties in Doctrine2 - how? - phpWhat are the most important points when connecting to an open source project? - open-sourceResize GTK widget in vbox to C - cShould I pass a Unity Container to my dependencies? - c #All Articles