.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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 an instance of a connection provider using settings from the XpoDefault.ActiveConnectionString.

GetConnectionProvider(IDbConnection, AutoCreateOption) static

Creates an instance of a connection provider using the specified settings.

GetConnectionProvider(String, AutoCreateOption) static

Creates an instance of a connection provider using the specified settings.

GetConnectionProvider(String, AutoCreateOption, out IDisposable[]) static

Creates an instance of a connection provider using the specified settings.

GetDataLayer(AutoCreateOption) static

Creates a data layer for the default connection string and default 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 layer for the specified connection string and the default metadata.

GetDataLayer(String, XPDictionary, AutoCreateOption) static

Creates a data layer for the specified connection string and metadata information.

GetDataLayer(String, XPDictionary, AutoCreateOption, out IDisposable[]) static

Creates a data layer for the specified connection string and metadata information and returns objects that need to be disposed of when a connection to a data store is closed.

GetDataLayer(XPDictionary, AutoCreateOption) static

Creates a data layer for the default connection string and specified metadata information.

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() 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