XpoDefault Properties
Provides global settings.
Name | Description |
---|---|
Active |
Gets the connection string which is used by newly created connection providers. |
Connection |
Gets or sets the string which is used to open a database, by default. |
Data |
Gets or sets the default data access layer which is used by Session objects by default, to access a data store. |
Data |
For internal use. |
Default |
Specifies the default setting of the Session. |
Default |
Specifies the default size of the database column which the member’s data is stored in. The default value is 100. |
Dictionary static | Gets or sets metadata on the persistent objects in a data store. |
Identity |
Gets or sets the Identity Map behavior used by Sessions by default. |
Is |
Specifies whether or not a persistent object is marked modified when its non-persistent property value is changed. |
Max |
Gets the maximum optimal packet size (the number of operands in a packet) for the In |
Nullable |
Specifies if nullable columns should be created when updating the database schema. |
Object |
Specifies the default object access layer which is used by Session objects by default, to retrieve and update object data in a data store. |
Optimistic |
Gets or sets a value which specifies how XPO behaves by default when reloading changed objects (objects with different versions). |
Session static | Gets or sets the default session. |
Track |
Specifies the default value of the Session. |
Use |
Gets or sets whether XPO uses its internal mechanism to create new instances of persistent classes, and to set and retrieve object property values. |
See Also