Skip to main content
.NET Framework 4.6.2+

XpoDefault Methods

Provides global settings.
Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ForcePerformanceCountersCreation() static Forces the XPO to create performance counters.
GetConnectionPoolString(String, Int32, Int32) static Gets a connection pool’s connection string based on a specified standard connection string, pool capacity, and connection limit.
GetConnectionPoolString(String, Int32) static Gets a connection pool’s connection string based on a specified standard connection string and pool capacity.
GetConnectionPoolString(String) static 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.
GetConnectionProvider(AutoCreateOption) static Creates a data store provider (an IDataStore instance).
GetConnectionProvider(IDbConnection, AutoCreateOption) static Creates a data store provider (an IDataStore instance).
GetConnectionProvider(String, AutoCreateOption, out IDisposable[]) static Creates a data store provider (an IDataStore instance).
GetConnectionProvider(String, AutoCreateOption) static Creates a data store provider (an IDataStore instance).
GetDataLayer(AutoCreateOption) static Creates a data layer for the default connection string and default metadata information.
GetDataLayer(XPDictionary, AutoCreateOption) static Creates a data layer for the default connection string and specified metadata information.
GetDataLayer(IDbConnection, AutoCreateOption) static Creates a data layer for the specified connection and the default metadata.
GetDataLayer(IDbConnection, XPDictionary, AutoCreateOption, out IDisposable[]) static 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.
GetDataLayer(IDbConnection, XPDictionary, AutoCreateOption) static Creates a data layer for the specified connection and metadata information.
GetDataLayer(String, AutoCreateOption) static Creates a data access layer.
GetDataLayer(String, XPDictionary, AutoCreateOption, out IDisposable[]) static Creates a data access layer.
GetDataLayer(String, XPDictionary, AutoCreateOption) static Creates a data access layer.
GetDictionary() static Gets the dictionary where metadata on persistent objects is stored by default.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetTerminalInSize(Int32, Int32) static Returns the optimal packet size (the number of operands in a packet) for a specified number of operands passed to the InOperator.
GetTerminalInSize(Int32) static Returns the optimal packet size (the number of operands in a packet) for a specified number of operands passed to the InOperator.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
NewGuid() static Generates a new globally unique identifier (GUID).
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterBonusProviders() static This member supports the internal infrastructure and is not intended to be used directly from your code.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also