Question : Entity Framework - Unable to determine a valid ordering for dependent operation

I am receiving the following error when calling SaveChanges().

Unable to determine a valid ordering for dependent operations. Dependencies may exist due to foreign key constraints, model requirements, or store-generated values.

I believe this is caused by some circular references in the database? Could someone confirm? Also, what is the simplest work around for this issue when using entity framework if there are some circular joins that for one reason or another need to keep.

Thanks,
Mark

Answer : Entity Framework - Unable to determine a valid ordering for dependent operation

Random Solutions  
 
programming4us programming4us