Table of Contents

Class MSSqlConnectionProvider

Namespace
DevExpress.Xpo.DB
Assembly
DevExpress.Xpo.v24.1.dll

Implements data-aware operations for working with an Microsoft SQL Server or Microsoft SQL Azure database.

public class MSSqlConnectionProvider : ConnectionProviderSql
Inheritance
MSSqlConnectionProvider

Constructors

MSSqlConnectionProvider(IDbConnection, AutoCreateOption)

Initializes a new instance of the MSSqlConnectionProvider class with the specified settings.

public MSSqlConnectionProvider(IDbConnection connection, AutoCreateOption autoCreateOption)

Parameters

connection IDbConnection

An object implementing the IDbConnection interface that represents an open connection to a data source.

autoCreateOption AutoCreateOption

An DevExpress.Xpo.DB.AutoCreateOption value that specifies which operations are performed when storage is accessed for the first time. This parameter is used to initialize the IDataStore.AutoCreateOption property.

Fields

IsNotForReplication

Specifies whether or not the “NOT FOR REPLICATION” option is used in SQL statements that create constraints.

public static bool IsNotForReplication

Field Value

bool

MaximumBinarySize

This member supports the internal infrastructure and is not intended to be used directly from your code.

public const int MaximumBinarySize = 8000

Field Value

int

MaximumStringSize

This member supports the internal infrastructure and is not intended to be used directly from your code.

public const int MaximumStringSize = 4000

Field Value

int

ObjectsOwner

The default owner of the objects in the Microsoft SQL database. By default “dbo”.

public string ObjectsOwner

Field Value

string

XpoProviderTypeString

Gets the name of the current connection provider. This name is used internally when generating a connection string via the MSSqlConnectionProvider.GetConnectionString method.

public const string XpoProviderTypeString = "MSSqlServer"

Field Value

string

Properties

CreateForeignKeyTemplate

protected override string CreateForeignKeyTemplate { get; }

Property Value

string

DbTypeMapper

protected override DbTypeMapperBase DbTypeMapper { get; }

Property Value

DbTypeMapperBase

NativeOuterApplySupported

Indicates whether the connection provider supports the OUTER APPLY operators.

public override bool NativeOuterApplySupported { get; }

Property Value

bool

true for Microsoft SQL Server version 2005 and later; otherwise, false.

NativeSkipTakeSupported

Indicates whether the connection provider supports the SKIP and TAKE (TOP) operators.

public override bool NativeSkipTakeSupported { get; }

Property Value

bool

true for Microsoft SQL Server version 2005 and later; otherwise, false.

UpdateSchemaFormatter

protected override UpdateSchemaSqlFormatterHelper UpdateSchemaFormatter { get; }

Property Value

UpdateSchemaSqlFormatterHelper

Methods

ClearDatabase(IDbCommand)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public static void ClearDatabase(IDbCommand command)

Parameters

command IDbCommand

CollectTablesToCreate(ICollection)

This method supports the internal infrastructure and is not intended to be called directly from your code.

public override ICollection CollectTablesToCreate(ICollection tables)

Parameters

tables ICollection

Returns

ICollection

CommandBuilderDeriveParameters(IDbCommand)

protected override void CommandBuilderDeriveParameters(IDbCommand command)

Parameters

command IDbCommand

CommandExecuteNonQueryAsync(IDbCommand, AsyncOperationIdentifier, CancellationToken)

protected override Task<int> CommandExecuteNonQueryAsync(IDbCommand command, AsyncOperationIdentifier asyncOperationId, CancellationToken cancellationToken)

Parameters

command IDbCommand
asyncOperationId AsyncOperationIdentifier
cancellationToken CancellationToken

Returns

Task<int>

CommandExecuteReaderAsync(IDbCommand, CommandBehavior, AsyncOperationIdentifier, CancellationToken)

protected override Task<IDataReader> CommandExecuteReaderAsync(IDbCommand command, CommandBehavior commandBehavior, AsyncOperationIdentifier asyncOperationId, CancellationToken cancellationToken)

Parameters

command IDbCommand
commandBehavior CommandBehavior
asyncOperationId AsyncOperationIdentifier
cancellationToken CancellationToken

Returns

Task<IDataReader>

CommandExecuteScalarAsync(IDbCommand, AsyncOperationIdentifier, CancellationToken)

protected override Task<object> CommandExecuteScalarAsync(IDbCommand command, AsyncOperationIdentifier asyncOperationId, CancellationToken cancellationToken)

Parameters

command IDbCommand
asyncOperationId AsyncOperationIdentifier
cancellationToken CancellationToken

Returns

Task<object>

ComposeSafeSchemaName(string)

Returns the valid schema name for the specified table’s name.

public override string ComposeSafeSchemaName(string tableName)

Parameters

tableName string

A string value that specifies the table’s name for which the valid schema name must be composed.

Returns

string

A string value that specifies the valid schema name.

ConvertToDbParameter(object, TypeCode)

protected override object ConvertToDbParameter(object clientValue, TypeCode clientValueTypeCode)

Parameters

clientValue object
clientValueTypeCode TypeCode

Returns

object

CreateConnection()

protected override IDbConnection CreateConnection()

Returns

IDbConnection

CreateConnection(string)

For internal use.

public static IDbConnection CreateConnection(string connectionString)

Parameters

connectionString string

Returns

IDbConnection

CreateDataBase()

protected override void CreateDataBase()

CreateParameter(IDbCommand, object, string, DBColumnType, string, int)

protected override IDataParameter CreateParameter(IDbCommand command, object value, string name, DBColumnType dbType, string dbTypeName, int size)

Parameters

command IDbCommand
value object
name string
dbType DBColumnType
dbTypeName string
size int

Returns

IDataParameter

CreateProviderFromConnection(IDbConnection, AutoCreateOption)

This method supports the internal infrastructure and is not intended to be called directly from your code.

public static IDataStore CreateProviderFromConnection(IDbConnection connection, AutoCreateOption autoCreateOption)

Parameters

connection IDbConnection
autoCreateOption AutoCreateOption

Returns

IDataStore

CreateProviderFromString(string, AutoCreateOption, out IDisposable[])

This method supports the internal infrastructure and is not intended to be called directly from your code.

public static IDataStore CreateProviderFromString(string connectionString, AutoCreateOption autoCreateOption, out IDisposable[] objectsToDisposeOnDisconnect)

Parameters

connectionString string
autoCreateOption AutoCreateOption
objectsToDisposeOnDisconnect IDisposable[]

Returns

IDataStore

CreateSchemaComparer()

protected override DBSchemaComparerSql CreateSchemaComparer()

Returns

DBSchemaComparerSql

EmptyAllTablesInDatabase(IDbCommand)

This method supports the internal infrastructure and is not intended to be used directly in your code.

public static void EmptyAllTablesInDatabase(IDbCommand command)

Parameters

command IDbCommand

FormatBinary(BinaryOperatorType, string, string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatBinary(BinaryOperatorType operatorType, string leftOperand, string rightOperand)

Parameters

operatorType BinaryOperatorType
leftOperand string
rightOperand string

Returns

string

FormatColumn(string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatColumn(string columnName)

Parameters

columnName string

Returns

string

FormatColumn(string, string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatColumn(string columnName, string tableAlias)

Parameters

columnName string
tableAlias string

Returns

string

FormatConstraint(string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatConstraint(string constraintName)

Parameters

constraintName string

Returns

string

FormatDelete(string, string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatDelete(string tableName, string whereClause)

Parameters

tableName string
whereClause string

Returns

string

FormatFunction(FunctionOperatorType, params string[])

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatFunction(FunctionOperatorType operatorType, params string[] operands)

Parameters

operatorType FunctionOperatorType
operands string[]

Returns

string

FormatFunction(ProcessParameter, FunctionOperatorType, params object[])

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatFunction(ProcessParameter processParameter, FunctionOperatorType operatorType, params object[] operands)

Parameters

processParameter ProcessParameter
operatorType FunctionOperatorType
operands object[]

Returns

string

FormatInsert(string, string, string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatInsert(string tableName, string fields, string values)

Parameters

tableName string
fields string
values string

Returns

string

FormatInsertDefaultValues(string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatInsertDefaultValues(string tableName)

Parameters

tableName string

Returns

string

FormatSelect(string, string, string, string, string, string, int, int)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatSelect(string selectedPropertiesSql, string fromSql, string whereSql, string orderBySql, string groupBySql, string havingSql, int skipSelectedRecords, int topSelectedRecords)

Parameters

selectedPropertiesSql string
fromSql string
whereSql string
orderBySql string
groupBySql string
havingSql string
skipSelectedRecords int
topSelectedRecords int

Returns

string

FormatTable(string, string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatTable(string schema, string tableName)

Parameters

schema string
tableName string

Returns

string

FormatTable(string, string, string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatTable(string schema, string tableName, string tableAlias)

Parameters

schema string
tableName string
tableAlias string

Returns

string

FormatUpdate(string, string, string)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override string FormatUpdate(string tableName, string sets, string whereClause)

Parameters

tableName string
sets string
whereClause string

Returns

string

GenerateStoredProcedures(DBTable, out string)

Generates DDL (Data Description Language) code for the Generating Persistent Classes wizard, when mapping persistent classes to Microsoft SQL Server database views with the help of INSTEAD-OF triggers and stored procedures.

public override string GenerateStoredProcedures(DBTable table, out string dropLines)

Parameters

table DBTable
dropLines string

Returns

string

GetConnectionString(string, int, string)

Returns a connection string used to open a specified Microsoft SQL database using provided login credentials.

public static string GetConnectionString(string server, int port, string database)

Parameters

server string

A string that specifies the SQL server’s name.

port int

An integer that specifies the server’s port number.

database string

A string that specifies the database name.

Returns

string

A connection string.

GetConnectionString(string, int, string, string, string)

Returns a connection string used to open a specified Microsoft SQL database using provided login credentials.

public static string GetConnectionString(string server, int port, string userId, string password, string database)

Parameters

server string

A string that specifies the SQL server’s name.

port int

An integer that specifies the server’s port number.

userId string

A string that specifies a user name.

password string

A string that specifies a password.

database string

A string that specifies the database name.

Returns

string

A connection string.

GetConnectionString(string, string)

Returns a connection string used to open a specified Microsoft SQL database using Windows Integrated Security.

public static string GetConnectionString(string server, string database)

Parameters

server string

A string that specifies the SQL server name.

database string

A string that specifies the database name.

Returns

string

A connection string.

GetConnectionString(string, string, string, string)

Returns a connection string used to open a specified Microsoft SQL database using provided login credentials.

public static string GetConnectionString(string server, string userId, string password, string database)

Parameters

server string

A string that specifies the SQL server’s name.

userId string

A string that specifies a user name.

password string

A string that specifies a password.

database string

A string that specifies the database name.

Returns

string

A connection string.

GetConnectionString2005CacheRoot(string, string)

Returns a connection string used to open a specified Microsoft SQL database using Windows Integrated Security and to enable the SqlDependency feature.

public static string GetConnectionString2005CacheRoot(string server, string database)

Parameters

server string

A string that specifies the SQL server name.

database string

A string that specifies the database name.

Returns

string

A connection string.

GetConnectionString2005CacheRoot(string, string, string, string)

Returns a connection string used to open a specified Microsoft SQL database using provided login credentials and to enable the SqlDependency feature.

public static string GetConnectionString2005CacheRoot(string server, string userId, string password, string database)

Parameters

server string

A string that specifies the SQL server name.

userId string

A string that specifies a user name.

password string

A string that specifies a user password.

database string

A string that specifies the database name.

Returns

string

A connection string.

GetConnectionString2005WithCache(string, string)

Returns a connection string used to open a specified Microsoft SQL database using Windows Integrated Security and to enable the SqlDependency feature.

public static string GetConnectionString2005WithCache(string server, string database)

Parameters

server string

A string that specifies the SQL server name.

database string

A string that specifies the database name.

Returns

string

A connection string.

GetConnectionString2005WithCache(string, string, string, string)

Returns a connection string used to open a specified Microsoft SQL database using provided login credentials and to enable the SqlDependency feature.

public static string GetConnectionString2005WithCache(string server, string userId, string password, string database)

Parameters

server string

A string that specifies the SQL server name.

userId string

A string that specifies a user name.

password string

A string that specifies a user password.

database string

A string that specifies the database name.

Returns

string

A connection string.

GetConnectionStringForType(string, string, int, string)

protected static string GetConnectionStringForType(string providerTypeString, string server, int port, string database)

Parameters

providerTypeString string
server string
port int
database string

Returns

string

GetConnectionStringForType(string, string, int, string, string, string)

protected static string GetConnectionStringForType(string providerTypeString, string server, int port, string userId, string password, string database)

Parameters

providerTypeString string
server string
port int
userId string
password string
database string

Returns

string

GetConnectionStringForType(string, string, string)

protected static string GetConnectionStringForType(string providerTypeString, string server, string database)

Parameters

providerTypeString string
server string
database string

Returns

string

GetConnectionStringForType(string, string, string, string, string)

protected static string GetConnectionStringForType(string providerTypeString, string server, string userId, string password, string database)

Parameters

providerTypeString string
server string
userId string
password string
database string

Returns

string

GetConnectionStringForTypeWithAttach(string, string, string, bool)

protected static string GetConnectionStringForTypeWithAttach(string providerTypeString, string server, string attachDbFilename, bool userInstance)

Parameters

providerTypeString string
server string
attachDbFilename string
userInstance bool

Returns

string

GetConnectionStringForTypeWithAttach(string, string, string, string, string, bool)

protected static string GetConnectionStringForTypeWithAttach(string providerTypeString, string server, string userId, string password, string attachDbFilename, bool userInstance)

Parameters

providerTypeString string
server string
userId string
password string
attachDbFilename string
userInstance bool

Returns

string

GetConnectionStringForTypeWithAttachForLocalDB(string, string, string, string)

protected static string GetConnectionStringForTypeWithAttachForLocalDB(string providerTypeString, string server, string database, string attachDbFilename)

Parameters

providerTypeString string
server string
database string
attachDbFilename string

Returns

string

GetConnectionStringWithAttach(string, string, bool)

Returns a connection string to connect to a Microsoft SQL Server database by attaching a specified .mdf database file to a specific server using Windows Integrated Security.

public static string GetConnectionStringWithAttach(string server, string attachDbFilename, bool userInstance)

Parameters

server string

A string that specifies the SQL server name.

attachDbFilename string

A string specifying a .mdf database file to attach to the server. This value is used to initialize the “AttachDbFilename” field of the connection string.

userInstance bool

true to enable User Instances (required when attaching the attachDbFilename); otherwise, false (when the database specified by the attachDbFilename already exists on the server). For more information about SQL Server Express and User Instances, read the SQL Server 2005 Express Edition User Instances MSDN article.

Returns

string

A connection string.

GetConnectionStringWithAttach(string, string, string, string, bool)

Returns a connection string to connect to a Microsoft SQL Server database by attaching a specified .mdf database file to a specific server using specified login credentials.

public static string GetConnectionStringWithAttach(string server, string userId, string password, string attachDbFilename, bool userInstance)

Parameters

server string

A string that specifies the SQL server name.

userId string

A string that specifies a user name.

password string

A string that specifies the password. This is used to initialize the “Password” field of the connection string.

attachDbFilename string

A string specifying a .mdf database file to attach to the server. This value is used to initialize the “AttachDbFilename” field of the connection string.

userInstance bool

true to enable User Instances (required when attaching the attachDbFilename); otherwise, false (when the database specified by the attachDbFilename already exists on the server). This value is used to initialize the “User Instance” field of the connection string.For more information about SQL Server Express and User Instances, read the SQL Server 2005 Express Edition User Instances MSDN article.

Returns

string

A connection string.

GetConnectionStringWithAttachForLocalDB(string, string, string)

Returns the connection string to SQL Server 2012 Express LocalDB for the specified server, database and database file location.

public static string GetConnectionStringWithAttachForLocalDB(string server, string database, string attachDbFilename)

Parameters

server string

A string that is the server name.

database string

A string that is the database name.

attachDbFilename string

A string that is the path to the MDB file.

Returns

string

A string that is the connection string to SQL Server 2012 Express LocalDB for the specified server, database and database file location.

GetIdentity(Query)

protected override long GetIdentity(Query sql)

Parameters

sql Query

Returns

long

GetIdentityAsync(Query, AsyncOperationIdentifier, CancellationToken)

protected override Task<long> GetIdentityAsync(Query sql, AsyncOperationIdentifier asyncOperationId, CancellationToken cancellationToken)

Parameters

sql Query
asyncOperationId AsyncOperationIdentifier
cancellationToken CancellationToken

Returns

Task<long>

GetParameterName(OperandValue, int, ref bool)

This member supports the .NET Framework infrastructure and cannot be used directly from your code.

public override string GetParameterName(OperandValue parameter, int index, ref bool createParameter)

Parameters

parameter OperandValue
index int
createParameter bool

Returns

string

GetQueryParameterMode()

protected override QueryParameterMode GetQueryParameterMode()

Returns

QueryParameterMode

GetSafeNameRoot(string)

protected override string GetSafeNameRoot(string originalName)

Parameters

originalName string

Returns

string

GetSafeNameTableMaxLength()

protected override int GetSafeNameTableMaxLength()

Returns

int

GetSqlCreateColumnFullAttributes(DBTable, DBColumn)

This method supports the internal infrastructure and is not intended to be used directly from your code.

public override string GetSqlCreateColumnFullAttributes(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnFullAttributes(DBTable, DBColumn, bool)

public override string GetSqlCreateColumnFullAttributes(DBTable table, DBColumn column, bool forTableCreate)

Parameters

table DBTable
column DBColumn
forTableCreate bool

Returns

string

GetSqlCreateColumnTypeForBoolean(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForBoolean(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForByte(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForByte(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForByteArray(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForByteArray(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForChar(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForChar(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForDateTime(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForDateTime(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForDecimal(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForDecimal(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForDouble(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForDouble(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForGuid(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForGuid(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForInt16(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForInt16(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForInt32(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForInt32(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForInt64(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForInt64(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForSByte(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForSByte(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForSingle(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForSingle(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForString(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForString(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForUInt16(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForUInt16(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForUInt32(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForUInt32(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetSqlCreateColumnTypeForUInt64(DBTable, DBColumn)

protected override string GetSqlCreateColumnTypeForUInt64(DBTable table, DBColumn column)

Parameters

table DBTable
column DBColumn

Returns

string

GetStorageTablesList(bool)

Returns a list of the available tables in the data store.

public override string[] GetStorageTablesList(bool includeViews)

Parameters

includeViews bool

true, to include available database views in the resulting array; otherwise, false.

Returns

string[]

An array of the table names in the data store.

GetStoredProcedures()

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override DBStoredProcedure[] GetStoredProcedures()

Returns

DBStoredProcedure[]

GetTableSchema(DBTable, bool, bool)

This member supports the internal infrastructure and is not intended to be used directly from your code.

public override void GetTableSchema(DBTable table, bool checkIndexes, bool checkForeignKeys)

Parameters

table DBTable
checkIndexes bool
checkForeignKeys bool

IsDeadLock(Exception)

protected override bool IsDeadLock(Exception e)

Parameters

e Exception

Returns

bool

ProcessClearDatabase()

protected override void ProcessClearDatabase()

ProcessModifyData(params ModificationStatement[])

protected override ModificationResult ProcessModifyData(params ModificationStatement[] dmlStatements)

Parameters

dmlStatements ModificationStatement[]

Returns

ModificationResult

ProcessModifyDataAsync(AsyncOperationIdentifier, CancellationToken, params ModificationStatement[])

protected override Task<ModificationResult> ProcessModifyDataAsync(AsyncOperationIdentifier asyncOperationId, CancellationToken cancellationToken, params ModificationStatement[] dmlStatements)

Parameters

asyncOperationId AsyncOperationIdentifier
cancellationToken CancellationToken
dmlStatements ModificationStatement[]

Returns

Task<ModificationResult>

ReaderNextResultAsync(IDataReader, AsyncOperationIdentifier, CancellationToken)

protected override Task<bool> ReaderNextResultAsync(IDataReader reader, AsyncOperationIdentifier asyncOperationId, CancellationToken cancellationToken)

Parameters

reader IDataReader
asyncOperationId AsyncOperationIdentifier
cancellationToken CancellationToken

Returns

Task<bool>

ReaderReadAsync(IDataReader, AsyncOperationIdentifier, CancellationToken)

protected override Task<bool> ReaderReadAsync(IDataReader reader, AsyncOperationIdentifier asyncOperationId, CancellationToken cancellationToken)

Parameters

reader IDataReader
asyncOperationId AsyncOperationIdentifier
cancellationToken CancellationToken

Returns

Task<bool>

Register()

Registers the provider for use with XPO.

public static void Register()

WrapException(Exception, IDbCommand)

protected override Exception WrapException(Exception e, IDbCommand query)

Parameters

e Exception
query IDbCommand

Returns

Exception