.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

XpoDefault Methods

Provides global settings.
Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
ForcePerformanceCountersCreation() static Forces the XPO to create performance counters.
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.
GetConnectionPoolString(String, Int32) static Gets a connection pool's connection string based on a specified standard connection string and pool capacity.
GetConnectionPoolString(String, Int32, Int32) static Gets a connection pool's connection string based on a specified standard connection string, pool capacity, and connection limit.
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) static Creates a data store provider (an IDataStore instance).
GetConnectionProvider(String, AutoCreateOption, out IDisposable[]) 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) static Creates a data layer for the specified connection and metadata information.
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(String, AutoCreateOption) static Creates a Data Access Layer.
GetDataLayer(String, XPDictionary, AutoCreateOption) static Creates a Data Access Layer.
GetDataLayer(String, XPDictionary, AutoCreateOption, out IDisposable[]) 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) 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, 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