Session.AutoCreateOption Property
Gets or sets the action which is performed when the session is connected to a data store.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v20.2.dll
Declaration
Property Value
Type | Description |
---|---|
AutoCreateOption | An AutoCreateOption enumeration value which specifies the action which is performed when the session is connected to a data store. |
Remarks
To connect a session to a database use the Session.Connect method. The AutoCreateOption property specifies the action which is performed when the session is connected to a data store. For a list of available actions, see the AutoCreateOption topic.
If the AutoCreateOption property is set to the AutoCreateOption.None value, the SchemaCorrectionNeededException is raised every time the database metadata is mismatched.
See Also
Feedback