CreateDatabaseScript() method of ObjectContext, generate string containing script to create the desired database, but it ignores some entities with its related FKs
When I look into the script, I found something like this
-- Ignoring entity set with defining query: [FMISDomainModelEFStoreContainer].[Ex_Students]
-- Ignoring association set with participating entity set with defining query: [FK_Ex_Students_City]
Is there a problem in my model? although it is validated correctly.
Oh, Sorry I found it, in XML of the entity model this error
I think that’s why it is not generated in StorageModel of my model