mapping - Distinguishing between storage model and conceptual model field names (Entity Framework) -


Each sample that I have comes with a storage model in which there are institutions and properties, similar to the same model. Therefore, in the mapping section, I can not tell whether an entity or property is from a storage model or conceptual model.

This is a snippet of an entity framework diagram. Which "ID" fields are from the database and from the institutions?

  & amp; Union; Association Metaping Name = "FK_Operers_Groups" TypeName = "ContosoModel.FK_Orders_Customers" StoreEntitySet = "Order" & gt; & Lt; Endpraf name = "customer" & gt; & Lt; ScalarProperty name = "id" columnname = "customer id" /> & Lt; / EndProperty & gt; & Lt; Endpraf name = "order" & gt; & Lt; ScalarProperty name = "id" columnname = "id" /> & Lt; / EndProperty & gt; & Lt; / AssociationSetMapping & gt;  

Well there are only database columns, so the name of the column name is the name. The name is from the unit (or association in this case).

Hope this helps Alex


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -