XpoDefault Members
In This Article
#Fields
Name | Description |
---|---|
App |
Returns the name of the application configuration file’s key that specifies the default connection string. You can add this key to the application configuration file, and specify a connection string. In case the connection string isn’t defined in the application, the connection string specified by this key will be used instead of the XPO’s default Microsoft Access connection string. |
Custom |
Specifies a Func<Guid> delegate called to generate a new GUID value. Refer to the Guid |
Default |
Returns the default Identity Map behavior. See Identity |
Default |
Specifies the value which is assigned to the Xpo |
Guid |
Specifies how globally unique identifiers are generated (if the Key |
#Properties
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. |
#Methods
Name | Description |
---|---|
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Force |
Forces the XPO to create performance counters. |
Get |
Gets a connection pool’s connection string based on a specified standard connection string, pool capacity, and connection limit. |
Get |
Gets a connection pool’s connection string based on a specified standard connection string and pool capacity. |
Get |
Gets a connection pool’s connection string based on a specified standard connection string. The pool’s capacity and connection limit are set to default values. |
Get |
Creates a data store provider (an IData |
Get |
Creates a data store provider (an IData |
Get |
Creates a data store provider (an IData |
Get |
Creates a data store provider (an IData |
Get |
Creates a data layer for the default connection string and default metadata information. |
Get |
Creates a data layer for the default connection string and specified metadata information. |
Get |
Creates a data layer for the specified connection and the default metadata. |
Get |
Creates a data layer for the specified connection and metadata information and returns objects that need to be disposed of when a connection to a data store is closed. |
Get |
Creates a data layer for the specified connection and metadata information. |
Get |
Creates a data access layer. |
Get |
Creates a data access layer. |
Get |
Creates a data access layer. |
Get |
Gets the dictionary where metadata on persistent objects is stored by default. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Returns the optimal packet size (the number of operands in a packet) for a specified number of operands passed to the In |
Get |
Returns the optimal packet size (the number of operands in a packet) for a specified number of operands passed to the In |
Get |
Gets the Type of the current instance. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
New |
Generates a new globally unique identifier (GUID). |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Register |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
To |
Returns a string that represents the current object. Inherited from Object. |
See Also