Back to Devexpress

XpoDefault Properties

xpo-devexpress-dot-xpo-dot-xpodefault-dot-underscore-properties.md

latest3.5 KB
Original Source

XpoDefault Properties

Provides global settings.

NameDescription
ActiveConnectionString staticGets the connection string which is used by newly created connection providers.
ConnectionString staticGets or sets the string which is used to open a database, by default.
DataLayer staticGets or sets the default data access layer which is used by Session objects by default, to access a data store.
DataStoreAsyncBehavior staticFor internal use.
DefaultCaseSensitive staticSpecifies the default setting of the Session.CaseSensitive and XPDataView.CaseSensitive properties.
DefaultStringMappingFieldSize staticSpecifies the default size of the database column which the member’s data is stored in. The default value is 100.
Dictionary staticGets or sets metadata on the persistent objects in a data store.
IdentityMapBehavior staticGets or sets the Identity Map behavior used by Sessions by default.
IsObjectModifiedOnNonPersistentPropertyChange staticSpecifies whether or not a persistent object is marked modified when its non-persistent property value is changed.
MaxInSize staticGets the maximum optimal packet size (the number of operands in a packet) for the InOperator.Operands collection.
NullableBehavior staticSpecifies if nullable columns should be created when updating the database schema.
ObjectLayer staticSpecifies the default object access layer which is used by Session objects by default, to retrieve and update object data in a data store.
OptimisticLockingReadBehavior staticGets or sets a value which specifies how XPO behaves by default when reloading changed objects (objects with different versions).
Session staticGets or sets the default session.
TrackPropertiesModifications staticSpecifies the default value of the Session.TrackPropertiesModifications property of all Sessions.
UseFastAccessors staticGets 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

XpoDefault Class

XpoDefault Members

DevExpress.Xpo Namespace