NotMapped property property

The NotMapped feature can be applied to the properties of the domain class. The default Code-First convention is to create data columns for all properties with get, and set property selectors. .

The NotMapped feature breaks this convention, you can use the NotMapped feature to a property, and Code-First will not create a column in the data table for this property.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324850256&siteId=291194637