AsSourceBlockAsync<T&
AsSourceBlockAsync<T>()
is fully asynchronous from end-to-end and can keep total buffering to a minimum by consuming (receiving) results as fast as possible, but may incur additional latency between reads.
ResultsAsync<T>()
is fully asynchronous from end-to-end but returns an IEnumerable<T>
that although has fully buffered the all the data into memory, has deferred the transformation until enumerated. This way, the asynchronous data pipeline is fully complete before synchronously transforming the data.
Both methods ultimately are using a Queue<object[]>
or ConcurrentQueue<object[]>
(Dataflow) to buffer the data, but ResultsAsync<T>()
buffers the entire data set before dequeuing and transforming the results.
-
+Transactions
+Example:
+ // Returns true if the transaction is successful.
+ public static bool TryTransaction()
+ => ConnectionFactory.Using(connection =>
+ // Open a connection and start a transaction.
+ connection.ExecuteTransactionConditional(transaction => {
+
+ // First procedure does some updates.
+ var count = transaction
+ .StoredProcedure("[Updated Procedure]")
+ .ExecuteNonQuery();
+
+ // Second procedure validates the results.
+ // If it returns true, then the transaction is commited.
+ // If it returns false, then the transaction is rolled back.
+ return transaction
+ .StoredProcedure("[Validation Procedure]")
+ .AddParam("@ExpectedCount", count)
+ .ExecuteScalar<bool>();
+ }));
+
diff --git a/docs/api/Open.Database.Extensions.ExpressiveCommandBase-4.html b/docs/api/Open.Database.Extensions.ExpressiveCommandBase-4.html
index a98c4de..170450f 100644
--- a/docs/api/Open.Database.Extensions.ExpressiveCommandBase-4.html
+++ b/docs/api/Open.Database.Extensions.ExpressiveCommandBase-4.html
@@ -149,18 +149,18 @@ Constructors
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ExpressiveCommandBase(TConnection, CommandType, String, List<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param>)
+ ExpressiveCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param>)
Declaration
- protected ExpressiveCommandBase(TConnection connection, CommandType type, string command, List<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param> params)
+ protected ExpressiveCommandBase(TConnection connection, IDbTransaction transaction, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param> params)
Parameters
@@ -176,6 +176,12 @@ Parameters
TConnection
connection
The connection to execute the command on.
+
+
+
+ System.Data.IDbTransaction
+ transaction
+ The optional transaction to execute the command on.
@@ -191,7 +197,7 @@ Parameters
- System.Collections.Generic.List<ExpressiveCommandBase.Param<>>
+ System.Collections.Generic.IEnumerable<ExpressiveCommandBase.Param<>>
params
The list of params
@@ -200,18 +206,18 @@ Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ExpressiveCommandBase(IDbConnectionFactory<TConnection>, CommandType, String, List<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param>)
+ ExpressiveCommandBase(IDbConnectionFactory<TConnection>, CommandType, String, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param>)
Declaration
- protected ExpressiveCommandBase(IDbConnectionFactory<TConnection> connFactory, CommandType type, string command, List<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param> params)
+ protected ExpressiveCommandBase(IDbConnectionFactory<TConnection> connFactory, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param> params)
Parameters
@@ -242,7 +248,7 @@ Parameters
- System.Collections.Generic.List<ExpressiveCommandBase.Param<>>
+ System.Collections.Generic.IEnumerable<ExpressiveCommandBase.Param<>>
params
The list of params
@@ -311,6 +317,36 @@ Field Value
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+ Transaction
+ The transaction to execute commands on if not using a connection factory.
+
+
+ Declaration
+
+ protected readonly IDbTransaction Transaction
+
+ Field Value
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.IDbTransaction
+
+
+
+
Properties
@@ -318,7 +354,7 @@ Properties
Improve this Doc
- View Source
+ View Source
Command
@@ -349,7 +385,7 @@ Property Value
Improve this Doc
- View Source
+ View Source
Params
@@ -380,7 +416,7 @@ Property Value
Improve this Doc
- View Source
+ View Source
Timeout
@@ -411,7 +447,7 @@ Property Value
Improve this Doc
- View Source
+ View Source
Type
@@ -444,7 +480,7 @@ Methods
Improve this Doc
- View Source
+ View Source
AddParam(String)
@@ -494,7 +530,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParam(String, Object)
@@ -550,7 +586,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParam(String, Object, TDbType)
@@ -612,7 +648,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParam<T>(String, Nullable<T>)
@@ -683,7 +719,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AddParam<T>(String, Nullable<T>, TDbType)
@@ -760,7 +796,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AddParamIf(Boolean, String)
@@ -816,7 +852,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParamIf(Boolean, String, Object)
@@ -878,7 +914,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParamIf(Boolean, String, Object, TDbType)
@@ -946,7 +982,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParamIf<T>(Boolean, String, Nullable<T>)
@@ -1023,7 +1059,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AddParamIf<T>(Boolean, String, Nullable<T>, TDbType)
@@ -1106,7 +1142,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AddParams(TCommand)
@@ -1140,7 +1176,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
AsSourceBlock<T>(IEnumerable<KeyValuePair<String, String>>, Boolean)
@@ -1214,7 +1250,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AsSourceBlock<T>(IEnumerable<>, Boolean)
@@ -1288,7 +1324,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AsSourceBlock<T>(Func<IDataRecord, T>, Boolean)
@@ -1362,7 +1398,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AsSourceBlock<T>([])
@@ -1428,7 +1464,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
Execute(Action<TCommand>)
@@ -1462,7 +1498,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
Execute<T>(Func<TCommand, T>)
@@ -1528,7 +1564,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteNonQuery()
@@ -1560,7 +1596,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ExecuteReader(Action<IDataReader>, CommandBehavior)
@@ -1600,7 +1636,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
ExecuteReader<T>(Func<IDataReader, T>, CommandBehavior)
@@ -1672,7 +1708,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteReturn()
@@ -1704,7 +1740,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ExecuteReturn<T>()
@@ -1751,7 +1787,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteScalar()
@@ -1783,7 +1819,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ExecuteScalar<T>()
@@ -1831,7 +1867,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteScalar<T>(Func<Object, T>)
@@ -1896,7 +1932,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
First<T>(Func<IDataRecord, T>)
@@ -1962,7 +1998,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
FirstOrDefault<T>(Func<IDataRecord, T>)
@@ -2028,7 +2064,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
FirstOrdinalResults()
@@ -2061,7 +2097,7 @@ Returns
Improve this Doc
- View Source
+ View Source
FirstOrdinalResults<T0>()
@@ -2109,7 +2145,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
IterateReader(Action<IDataRecord>)
@@ -2143,7 +2179,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
IterateReader<TEntity, TResult>(Func<IDataRecord, TEntity>, Func<IEnumerable<TEntity>, TResult>)
@@ -2220,7 +2256,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
IterateReaderInternal<T>(Func<IDataRecord, T>)
@@ -2286,7 +2322,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
IterateReaderWhile(Func<IDataRecord, Boolean>)
@@ -2320,7 +2356,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
LoadTable()
@@ -2352,7 +2388,7 @@ Returns
Improve this Doc
- View Source
+ View Source
LoadTables()
@@ -2385,7 +2421,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Results<T>(IEnumerable<KeyValuePair<String, String>>)
@@ -2452,7 +2488,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
Results<T>(IEnumerable<>)
@@ -2519,7 +2555,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
Results<T>([])
@@ -2586,7 +2622,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
Retrieve()
@@ -2619,7 +2655,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Retrieve(IEnumerable<Int32>)
@@ -2670,7 +2706,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Retrieve(IEnumerable<String>)
@@ -2721,7 +2757,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Retrieve(Int32, Int32[])
@@ -2778,7 +2814,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Retrieve(String, String[])
@@ -2835,7 +2871,7 @@ Returns
Improve this Doc
- View Source
+ View Source
SetTimeout(UInt16)
@@ -2885,7 +2921,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Single<T>(Func<IDataRecord, T>)
@@ -2951,7 +2987,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
SingleOrDefault<T>(Func<IDataRecord, T>)
@@ -3017,7 +3053,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
Skip<T>(Int32, Func<IDataRecord, T>)
@@ -3089,7 +3125,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
SkipThenTake<T>(Int32, Int32, Func<IDataRecord, T>)
@@ -3167,7 +3203,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
Take<T>(Int32, Func<IDataRecord, T>)
@@ -3239,7 +3275,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToArray<T>(Func<IDataRecord, T>)
@@ -3305,7 +3341,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToList<T>(Func<IDataRecord, T>)
@@ -3371,7 +3407,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToTargetBlock<T>(ITargetBlock<T>, Func<IDataRecord, T>)
@@ -3424,19 +3460,19 @@ Type Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- UsingConnection(Action<TConnection>)
+ UsingConnection(Action<TConnection, IDbTransaction>)
Handles providing the connection for use with the command.
Declaration
- protected void UsingConnection(Action<TConnection> action)
+ protected void UsingConnection(Action<TConnection, IDbTransaction> action)
Parameters
@@ -3449,7 +3485,7 @@ Parameters
- System.Action<TConnection>
+ System.Action<TConnection, System.Data.IDbTransaction>
action
The handler for use with the connection.
@@ -3458,19 +3494,19 @@ Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- UsingConnection<T>(Func<TConnection, T>)
+ UsingConnection<T>(Func<TConnection, IDbTransaction, T>)
Handles providing the connection for use with the command.
Declaration
- protected T UsingConnection<T>(Func<TConnection, T> action)
+ protected T UsingConnection<T>(Func<TConnection, IDbTransaction, T> action)
Parameters
@@ -3483,7 +3519,7 @@ Parameters
- System.Func<TConnection, T>
+ System.Func<TConnection, System.Data.IDbTransaction, T>
action
The handler for use with the connection.
diff --git a/docs/api/Open.Database.Extensions.ExpressiveDbCommand.html b/docs/api/Open.Database.Extensions.ExpressiveDbCommand.html
index 5cb8a2d..2c268f6 100644
--- a/docs/api/Open.Database.Extensions.ExpressiveDbCommand.html
+++ b/docs/api/Open.Database.Extensions.ExpressiveDbCommand.html
@@ -184,6 +184,9 @@ Inherited Members
+
@@ -233,10 +236,10 @@ Inherited Members
ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.AddParams(DbCommand)
- ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.UsingConnection(Action<DbConnection>)
+ ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.UsingConnection(Action<DbConnection, IDbTransaction>)
- ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.UsingConnection<T>(Func<DbConnection, T>)
+ ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.UsingConnection<T>(Func<DbConnection, IDbTransaction, T>)
ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Execute(Action<DbCommand>)
@@ -390,18 +393,18 @@ Constructors
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ExpressiveDbCommand(IDbConnectionFactory<DbConnection>, CommandType, String, ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param[])
+ ExpressiveDbCommand(IDbConnectionFactory<DbConnection>, CommandType, String, IEnumerable<ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param>)
Declaration
- public ExpressiveDbCommand(IDbConnectionFactory<DbConnection> connFactory, CommandType type, string command, params ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param[] params)
+ public ExpressiveDbCommand(IDbConnectionFactory<DbConnection> connFactory, CommandType type, string command, IEnumerable<ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param> params = null)
Parameters
@@ -432,7 +435,7 @@ Parameters
- ExpressiveCommandBase.Param<>[]
+ System.Collections.Generic.IEnumerable<ExpressiveCommandBase.Param<>>
params
The list of params
@@ -441,69 +444,18 @@ Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ExpressiveDbCommand(IDbConnectionFactory<DbConnection>, CommandType, String, List<ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param>)
+ ExpressiveDbCommand(DbConnection, DbTransaction, CommandType, String, IEnumerable<ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param>)
Declaration
- public ExpressiveDbCommand(IDbConnectionFactory<DbConnection> connFactory, CommandType type, string command, List<ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param> params)
-
- Parameters
-
-
-
- Type
- Name
- Description
-
-
-
-
- IDbConnectionFactory<System.Data.Common.DbConnection>
- connFactory
- The factory to generate connections from.
-
-
-
- System.Data.CommandType
- type
- The command type>.
-
-
-
- System.String
- command
- The SQL command.
-
-
-
- System.Collections.Generic.List<ExpressiveCommandBase.Param<>>
- params
- The list of params
-
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- ExpressiveDbCommand(DbConnection, CommandType, String, ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param[])
-
-
- Declaration
-
- public ExpressiveDbCommand(DbConnection connection, CommandType type, string command, params ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param[] params)
+ public ExpressiveDbCommand(DbConnection connection, DbTransaction transaction, CommandType type, string command, IEnumerable<ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param> params = null)
Parameters
@@ -522,54 +474,9 @@ Parameters
- System.Data.CommandType
- type
- The command type>.
-
-
-
- System.String
- command
- The SQL command.
-
-
-
- ExpressiveCommandBase.Param<>[]
- params
- The list of params
-
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- ExpressiveDbCommand(DbConnection, CommandType, String, List<ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param>)
-
-
- Declaration
-
- public ExpressiveDbCommand(DbConnection connection, CommandType type, string command, List<ExpressiveCommandBase<DbConnection, DbCommand, DbType, ExpressiveDbCommand>.Param> params)
-
- Parameters
-
-
-
- Type
- Name
- Description
-
-
-
-
- System.Data.Common.DbConnection
- connection
- The connection to execute the command on.
+ System.Data.Common.DbTransaction
+ transaction
+ The optional transaction to execute the command on.
@@ -585,7 +492,7 @@ Parameters
- System.Collections.Generic.List<ExpressiveCommandBase.Param<>>
+ System.Collections.Generic.IEnumerable<ExpressiveCommandBase.Param<>>
params
The list of params
@@ -599,7 +506,7 @@ Methods
Improve this Doc
- View Source
+ View Source
AddParams(DbCommand)
@@ -640,7 +547,7 @@ Overrides
Improve this Doc
- View Source
+ View Source
diff --git a/docs/api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html b/docs/api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html
index 4d54dcb..d2e9de9 100644
--- a/docs/api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html
+++ b/docs/api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html
@@ -93,6 +93,9 @@ Inherited Members
+
@@ -142,10 +145,10 @@ Inherited Members
ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.AddParams(TCommand)
- ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.UsingConnection(Action<TConnection>)
+ ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.UsingConnection(Action<TConnection, IDbTransaction>)
- ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.UsingConnection<T>(Func<TConnection, T>)
+ ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.UsingConnection<T>(Func<TConnection, IDbTransaction, T>)
ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Execute(Action<TCommand>)
@@ -330,18 +333,18 @@ Constructors
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ExpressiveDbCommandBase(TConnection, CommandType, String, List<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param>)
+ ExpressiveDbCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param>)
Declaration
- protected ExpressiveDbCommandBase(TConnection connection, CommandType type, string command, List<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param> params)
+ protected ExpressiveDbCommandBase(TConnection connection, IDbTransaction transaction, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param> params)
Parameters
@@ -357,6 +360,12 @@ Parameters
TConnection
connection
The connection to execute the command on.
+
+
+
+ System.Data.IDbTransaction
+ transaction
+ The optional transaction to execute the command on.
@@ -372,7 +381,7 @@ Parameters
- System.Collections.Generic.List<ExpressiveCommandBase.Param<>>
+ System.Collections.Generic.IEnumerable<ExpressiveCommandBase.Param<>>
params
The list of params
@@ -381,18 +390,18 @@ Parameters
|
- Improve this Doc
+ Improve this Doc
View Source
- ExpressiveDbCommandBase(IDbConnectionFactory<TConnection>, CommandType, String, List<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param>)
+ ExpressiveDbCommandBase(IDbConnectionFactory<TConnection>, CommandType, String, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param>)
Declaration
- protected ExpressiveDbCommandBase(IDbConnectionFactory<TConnection> connFactory, CommandType type, string command, List<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param> params)
+ protected ExpressiveDbCommandBase(IDbConnectionFactory<TConnection> connFactory, CommandType type, string command, IEnumerable<ExpressiveCommandBase<TConnection, TCommand, TDbType, TThis>.Param> params)
Parameters
@@ -423,7 +432,7 @@ Parameters
- System.Collections.Generic.List<ExpressiveCommandBase.Param<>>
+ System.Collections.Generic.IEnumerable<ExpressiveCommandBase.Param<>>
params
The list of params
@@ -437,7 +446,7 @@ Methods
Improve this Doc
- View Source
+ View Source
AsSourceBlockAsync<T>(IEnumerable<KeyValuePair<String, String>>)
@@ -503,7 +512,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AsSourceBlockAsync<T>(IEnumerable<>)
@@ -569,7 +578,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AsSourceBlockAsync<T>(Func<IDataRecord, T>)
@@ -635,7 +644,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
AsSourceBlockAsync<T>([])
@@ -701,7 +710,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteAsync(Func<TCommand, Task>, Nullable<CancellationToken>)
@@ -756,7 +765,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ExecuteAsync<T>(Func<TCommand, Task<T>>, Nullable<CancellationToken>)
@@ -828,7 +837,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteNonQueryAsync(Nullable<CancellationToken>)
@@ -878,7 +887,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ExecuteReaderAsync(Func<DbDataReader, Task>, CommandBehavior, Nullable<CancellationToken>)
@@ -939,7 +948,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ExecuteReaderAsync<T>(Func<DbDataReader, Task<T>>, CommandBehavior, Nullable<CancellationToken>)
@@ -1017,7 +1026,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteReturnAsync(Nullable<CancellationToken>)
@@ -1067,7 +1076,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ExecuteReturnAsync<T>(Nullable<CancellationToken>)
@@ -1132,7 +1141,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteScalarAsync(Nullable<CancellationToken>)
@@ -1182,7 +1191,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ExecuteScalarAsync<T>(Func<Object, T>, Nullable<CancellationToken>)
@@ -1254,7 +1263,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteScalarAsync<T>(Func<Object, Task<T>>, Nullable<CancellationToken>)
@@ -1326,7 +1335,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ExecuteScalarAsync<T>(Nullable<CancellationToken>)
@@ -1392,7 +1401,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
FirstOrdinalResultsAsync()
@@ -1425,7 +1434,7 @@ Returns
Improve this Doc
- View Source
+ View Source
FirstOrdinalResultsAsync<T0>()
@@ -1473,7 +1482,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
IterateReaderAsync(Action<IDataRecord>, Nullable<CancellationToken>)
@@ -1528,7 +1537,7 @@ Returns
Improve this Doc
- View Source
+ View Source
IterateReaderAsyncWhile(Func<IDataRecord, Boolean>, Nullable<CancellationToken>)
@@ -1558,7 +1567,8 @@ Parameters
System.Nullable<System.Threading.CancellationToken>
token
-
+ An optional cancellation token.
+
@@ -1583,7 +1593,7 @@ Returns
Improve this Doc
- View Source
+ View Source
IterateReaderAsyncWhile(Func<IDataRecord, Task<Boolean>>)
@@ -1633,7 +1643,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ResultsAsync<T>(IEnumerable<KeyValuePair<String, String>>)
@@ -1699,7 +1709,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ResultsAsync<T>(IEnumerable<>)
@@ -1765,7 +1775,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ResultsAsync<T>([])
@@ -1831,7 +1841,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
RetrieveAsync()
@@ -1863,7 +1873,7 @@ Returns
Improve this Doc
- View Source
+ View Source
RetrieveAsync(IEnumerable<Int32>)
@@ -1913,7 +1923,7 @@ Returns
Improve this Doc
- View Source
+ View Source
RetrieveAsync(IEnumerable<String>, Boolean)
@@ -1969,7 +1979,7 @@ Returns
Improve this Doc
- View Source
+ View Source
RetrieveAsync(Int32, Int32[])
@@ -2025,7 +2035,7 @@ Returns
Improve this Doc
- View Source
+ View Source
RetrieveAsync(String, String[])
@@ -2081,7 +2091,7 @@ Returns
Improve this Doc
- View Source
+ View Source
TakeAsync<T>(Func<IDataRecord, T>, Int32)
@@ -2153,7 +2163,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToListAsync<T>(Func<IDataRecord, T>)
@@ -2218,7 +2228,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToTargetBlockAsync<T>(ITargetBlock<T>, Func<IDataRecord, T>)
diff --git a/docs/api/Open.Database.Extensions.Extensions.html b/docs/api/Open.Database.Extensions.Extensions.html
index 684573c..60df26c 100644
--- a/docs/api/Open.Database.Extensions.Extensions.html
+++ b/docs/api/Open.Database.Extensions.Extensions.html
@@ -118,7 +118,7 @@ Methods
Improve this Doc
- View Source
+ View Source
AddParameter(IDbCommand, String, Object)
@@ -180,7 +180,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParameter(IDbCommand, String, Object, DbType, ParameterDirection)
@@ -254,7 +254,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParameterType(IDbCommand, String, DbType, ParameterDirection)
@@ -322,7 +322,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AsEnumerable(DataColumnCollection)
@@ -372,7 +372,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AsEnumerable(DataRowCollection)
@@ -422,7 +422,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AsEnumerable(IDataReader)
@@ -473,7 +473,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AsEnumerable(IDataReader, IEnumerable<Int32>)
@@ -530,7 +530,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AsEnumerable(IDataReader, Int32, Int32[])
@@ -592,7 +592,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Command(IDbConnectionFactory<DbConnection>, String, CommandType)
@@ -713,19 +713,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- Command(Func<DbConnection>, String, CommandType)
+ Command(DbTransaction, String, CommandType)
Creates an ExpressiveDbCommand for subsequent configuration and execution.
Declaration
- public static ExpressiveDbCommand Command(this Func<DbConnection> target, string command, CommandType type = CommandType.Text)
+ public static ExpressiveDbCommand Command(this DbTransaction target, string command, CommandType type = CommandType.Text)
Parameters
@@ -738,9 +738,9 @@ Parameters
- System.Func<System.Data.Common.DbConnection>
+ System.Data.Common.DbTransaction
target
- The connection factory to generate a commands from.
+ The transaction to execute the command on.
@@ -775,19 +775,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- CreateCommand(DbConnection, CommandType, String, Int32)
- Shortcut for creating an DbCommand from any DbConnection.
+
+ Command(Func<DbConnection>, String, CommandType)
+ Creates an ExpressiveDbCommand for subsequent configuration and execution.
Declaration
- public static DbCommand CreateCommand(this DbConnection connection, CommandType type, string commandText, int secondsTimeout = 60)
+ public static ExpressiveDbCommand Command(this Func<DbConnection> target, string command, CommandType type = CommandType.Text)
Parameters
@@ -800,27 +800,21 @@ Parameters
- System.Data.Common.DbConnection
- connection
- The connection to create a command from.
-
-
-
- System.Data.CommandType
- type
- The command type. Text, StoredProcedure, or TableDirect.
+ System.Func<System.Data.Common.DbConnection>
+ target
+ The connection factory to generate a commands from.
System.String
- commandText
+ command
The command text or stored procedure name to use.
- System.Int32
- secondsTimeout
- The number of seconds to wait before the command times out.
+ System.Data.CommandType
+ type
+ The command type.
@@ -835,27 +829,27 @@ Returns
- System.Data.Common.DbCommand
- The created SqlCommand.
+ ExpressiveDbCommand
+ The resultant ExpressiveDbCommand.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- CreateCommand(IDbConnection, CommandType, String, Int32)
- Shortcut for creating an IDbCommand from any IDbConnection.
+ CreateCommand(DbConnection, CommandType, String, Int32)
+ Shortcut for creating an DbCommand from any DbConnection.
Declaration
- public static IDbCommand CreateCommand(this IDbConnection connection, CommandType type, string commandText, int secondsTimeout = 60)
+ public static DbCommand CreateCommand(this DbConnection connection, CommandType type, string commandText, int secondsTimeout = 60)
Parameters
@@ -868,7 +862,7 @@ Parameters
- System.Data.IDbConnection
+ System.Data.Common.DbConnection
connection
The connection to create a command from.
@@ -903,7 +897,7 @@ Returns
- System.Data.IDbCommand
+ System.Data.Common.DbCommand
The created SqlCommand.
@@ -911,19 +905,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- CreateStoredProcedureCommand(DbConnection, String, Int32)
- Shortcut for creating an DbCommand from any DbConnection.
+
+ CreateCommand(DbTransaction, CommandType, String, Int32)
+ Shortcut for creating an DbCommand from any DbTransaction.
Declaration
- public static DbCommand CreateStoredProcedureCommand(this DbConnection connection, string commandText, int secondsTimeout = 60)
+ public static DbCommand CreateCommand(this DbTransaction transaction, CommandType type, string commandText, int secondsTimeout = 60)
Parameters
@@ -936,9 +930,15 @@ Parameters
- System.Data.Common.DbConnection
- connection
- The connection to create a command from.
+ System.Data.Common.DbTransaction
+ transaction
+ The transaction to create a command from.
+
+
+
+ System.Data.CommandType
+ type
+ The command type. Text, StoredProcedure, or TableDirect.
@@ -973,19 +973,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- CreateStoredProcedureCommand(IDbConnection, String, Int32)
+
+ CreateCommand(IDbConnection, CommandType, String, Int32)
Shortcut for creating an IDbCommand from any IDbConnection.
Declaration
- public static IDbCommand CreateStoredProcedureCommand(this IDbConnection connection, string commandText, int secondsTimeout = 60)
+ public static IDbCommand CreateCommand(this IDbConnection connection, CommandType type, string commandText, int secondsTimeout = 60)
Parameters
@@ -1001,6 +1001,12 @@ Parameters
System.Data.IDbConnection
connection
The connection to create a command from.
+
+
+
+ System.Data.CommandType
+ type
+ The command type. Text, StoredProcedure, or TableDirect.
@@ -1035,19 +1041,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- DBNullToNull(IEnumerable<Object>)
- Any DBNull values are converted to null.
+
+ CreateCommand(IDbTransaction, CommandType, String, Int32)
+ Shortcut for creating an IDbCommand from any IDbTransaction.
Declaration
- public static IEnumerable<object> DBNullToNull(this IEnumerable<object> values)
+ public static IDbCommand CreateCommand(this IDbTransaction transaction, CommandType type, string commandText, int secondsTimeout = 60)
Parameters
@@ -1060,9 +1066,27 @@ Parameters
- System.Collections.Generic.IEnumerable<System.Object>
- values
- The source values.
+ System.Data.IDbTransaction
+ transaction
+ The transaction to create a command from.
+
+
+
+ System.Data.CommandType
+ type
+ The command type. Text, StoredProcedure, or TableDirect.
+
+
+
+ System.String
+ commandText
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
@@ -1077,27 +1101,27 @@ Returns
- System.Collections.Generic.IEnumerable<System.Object>
- The converted enumerable.
+ System.Data.IDbCommand
+ The created SqlCommand.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- DBNullToNull(Object[])
- Returns a copy of this array with any DBNull values converted to null.
+
+ CreateStoredProcedureCommand(DbConnection, String, Int32)
+ Shortcut for creating a stored procedure DbCommand from any DbConnection.
Declaration
- public static object[] DBNullToNull(this object[] values)
+ public static DbCommand CreateStoredProcedureCommand(this DbConnection connection, string procedureName, int secondsTimeout = 60)
Parameters
@@ -1110,9 +1134,21 @@ Parameters
- System.Object[]
- values
- The source values.
+ System.Data.Common.DbConnection
+ connection
+ The connection to create a command from.
+
+
+
+ System.String
+ procedureName
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
@@ -1127,28 +1163,27 @@ Returns
- System.Object[]
- A new array containing the results with.
+ System.Data.Common.DbCommand
+ The created SqlCommand.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- DequeueEach<T>(Queue<T>)
- Useful extension for dequeuing items from a queue.
-Not thread safe but queueing/dequeueing items in between items is supported.
+
+ CreateStoredProcedureCommand(DbTransaction, String, Int32)
+ Shortcut for creating a stored procedure DbCommand from any DbTransaction.
Declaration
- public static IEnumerable<T> DequeueEach<T>(this Queue<T> source)
+ public static DbCommand CreateStoredProcedureCommand(this DbTransaction transaction, string procedureName, int secondsTimeout = 60)
Parameters
@@ -1161,60 +1196,56 @@ Parameters
- System.Collections.Generic.Queue<T>
- source
-
+ System.Data.Common.DbTransaction
+ transaction
+ The transaction to create a command from.
+
-
-
- Returns
-
-
- Type
- Description
+ System.String
+ procedureName
+ The command text or stored procedure name to use.
+
-
-
- System.Collections.Generic.IEnumerable<T>
- An enumerable of the items contained within the queue.
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
- Type Parameters
+ Returns
- Name
+ Type
Description
- T
- Return type of the source queue
+ System.Data.Common.DbCommand
+ The created SqlCommand.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- EnsureOpen(IDbConnection)
- If the connection isn't open, opens the connection.
-If the connection is in neither open or close, first closes the connection.
+
+ CreateStoredProcedureCommand(IDbConnection, String, Int32)
+ Shortcut for creating an IDbCommand from any IDbConnection.
Declaration
- public static ConnectionState EnsureOpen(this IDbConnection connection)
+ public static IDbCommand CreateStoredProcedureCommand(this IDbConnection connection, string commandText, int secondsTimeout = 60)
Parameters
@@ -1229,7 +1260,20 @@ Parameters
System.Data.IDbConnection
connection
-
+ The connection to create a command from.
+
+
+
+ System.String
+ commandText
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
+
@@ -1243,28 +1287,27 @@ Returns
- System.Data.ConnectionState
- The prior connection state.
+ System.Data.IDbCommand
+ The created SqlCommand.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- EnsureOpenAsync(DbConnection, Nullable<CancellationToken>)
- If the connection isn't open, opens the connection.
-If the connection is in neither open or close, first closes the connection.
+
+ CreateStoredProcedureCommand(IDbTransaction, String, Int32)
+ Shortcut for creating a stored procedure IDbCommand from any IDbTransaction.
Declaration
- public static Task<ConnectionState> EnsureOpenAsync(this DbConnection connection, CancellationToken? token = default (CancellationToken? ))
+ public static IDbCommand CreateStoredProcedureCommand(this IDbTransaction transaction, string procedureName, int secondsTimeout = 60)
Parameters
@@ -1277,15 +1320,21 @@ Parameters
- System.Data.Common.DbConnection
- connection
- The connection to transact with.
+ System.Data.IDbTransaction
+ transaction
+ The transaction to create a command from.
- System.Nullable<System.Threading.CancellationToken>
- token
- An optional token to cancel opening.
+ System.String
+ procedureName
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
@@ -1300,27 +1349,27 @@ Returns
- System.Threading.Tasks.Task<System.Data.ConnectionState>
- A task containing the prior connection state.
+ System.Data.IDbCommand
+ The created SqlCommand.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteReader(IDbCommand, Action<IDataReader>, CommandBehavior)
- Executes a reader on a command with a handler function.
+
+ CreateTextCommand(DbConnection, String, Int32)
+ Shortcut for creating a text DbCommand from any DbConnection.
Declaration
- public static void ExecuteReader(this IDbCommand command, Action<IDataReader> handler, CommandBehavior behavior = CommandBehavior.Default)
+ public static DbCommand CreateTextCommand(this DbConnection connection, string commandText, int secondsTimeout = 60)
Parameters
@@ -1333,40 +1382,2028 @@ Parameters
- System.Data.IDbCommand
- command
- The IDbCommand to generate a reader from.
+ System.Data.Common.DbConnection
+ connection
+ The connection to create a command from.
- System.Action<System.Data.IDataReader>
- handler
- The handler function for each IDataRecord.
+ System.String
+ commandText
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.Common.DbCommand
+ The created SqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ CreateTextCommand(DbTransaction, String, Int32)
+ Shortcut for creating a text DbCommand from any DbTransaction.
+
+
+ Declaration
+
+ public static DbCommand CreateTextCommand(this DbTransaction transaction, string commandText, int secondsTimeout = 60)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbTransaction
+ transaction
+ The transaction to create a command from.
+
+
+
+ System.String
+ commandText
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.Common.DbCommand
+ The created SqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ CreateTextCommand(IDbConnection, String, Int32)
+ Shortcut for creating a text IDbCommand from any IDbConnection.
+
+
+ Declaration
+
+ public static IDbCommand CreateTextCommand(this IDbConnection connection, string commandText, int secondsTimeout = 60)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.IDbConnection
+ connection
+ The connection to create a command from.
+
+
+
+ System.String
+ commandText
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.IDbCommand
+ The created SqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ CreateTextCommand(IDbTransaction, String, Int32)
+ Shortcut for creating a text IDbCommand from any IDbTransaction.
+
+
+ Declaration
+
+ public static IDbCommand CreateTextCommand(this IDbTransaction transaction, string commandText, int secondsTimeout = 60)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.IDbTransaction
+ transaction
+ The transaction to create a command from.
+
+
+
+ System.String
+ commandText
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.IDbCommand
+ The created SqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ DBNullToNull(IEnumerable<Object>)
+ Any DBNull values are converted to null.
+
+
+ Declaration
+
+ public static IEnumerable<object> DBNullToNull(this IEnumerable<object> values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Collections.Generic.IEnumerable<System.Object>
+ values
+ The source values.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Collections.Generic.IEnumerable<System.Object>
+ The converted enumerable.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ DBNullToNull(Object[])
+ Returns a copy of this array with any DBNull values converted to null.
+
+
+ Declaration
+
+ public static object[] DBNullToNull(this object[] values)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Object[]
+ values
+ The source values.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Object[]
+ A new array containing the results with.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ DequeueEach<T>(Queue<T>)
+ Useful extension for dequeuing items from a queue.
+Not thread safe but queueing/dequeueing items in between items is supported.
+
+
+ Declaration
+
+ public static IEnumerable<T> DequeueEach<T>(this Queue<T> source)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Collections.Generic.Queue<T>
+ source
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Collections.Generic.IEnumerable<T>
+ An enumerable of the items contained within the queue.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ Return type of the source queue
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ EnsureOpen(IDbConnection)
+ If the connection isn't open, opens the connection.
+If the connection is in neither open or close, first closes the connection.
+
+
+ Declaration
+
+ public static ConnectionState EnsureOpen(this IDbConnection connection)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.IDbConnection
+ connection
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.ConnectionState
+ The prior connection state.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ EnsureOpenAsync(DbConnection, Nullable<CancellationToken>)
+ If the connection isn't open, opens the connection.
+If the connection is in neither open or close, first closes the connection.
+
+
+ Declaration
+
+ public static Task<ConnectionState> EnsureOpenAsync(this DbConnection connection, CancellationToken? token = default (CancellationToken? ))
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ An optional token to cancel opening.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.Data.ConnectionState>
+ A task containing the prior connection state.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteReader(IDbCommand, Action<IDataReader>, CommandBehavior)
+ Executes a reader on a command with a handler function.
+
+
+ Declaration
+
+ public static void ExecuteReader(this IDbCommand command, Action<IDataReader> handler, CommandBehavior behavior = CommandBehavior.Default)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.IDbCommand
+ command
+ The IDbCommand to generate a reader from.
+
+
+
+ System.Action<System.Data.IDataReader>
+ handler
+ The handler function for each IDataRecord.
+
+
+
+ System.Data.CommandBehavior
+ behavior
+ The command behavior for once the command the reader is complete.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteReader<T>(IDbCommand, Func<IDataReader, T>, CommandBehavior)
+ Executes a reader on a command with a transform function.
+
+
+ Declaration
+
+ public static T ExecuteReader<T>(this IDbCommand command, Func<IDataReader, T> transform, CommandBehavior behavior = CommandBehavior.Default)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.IDbCommand
+ command
+ The IDbCommand to generate a reader from.
+
+
+
+ System.Func<System.Data.IDataReader, T>
+ transform
+ The transform function for each IDataRecord.
+
+
+
+ System.Data.CommandBehavior
+ behavior
+ The command behavior for once the command the reader is complete.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The result of the transform.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The return type of the transform function.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteReaderAsync(DbCommand, Func<DbDataReader, Task>, CommandBehavior, Nullable<CancellationToken>)
+ Executes a reader on a command with a handler function.
+
+
+ Declaration
+
+ public static Task ExecuteReaderAsync(this DbCommand command, Func<DbDataReader, Task> handler, CommandBehavior behavior = CommandBehavior.Default, CancellationToken? token = default (CancellationToken? ))
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbCommand
+ command
+ The IDbCommand to generate a reader from.
+
+
+
+ System.Func<System.Data.Common.DbDataReader, System.Threading.Tasks.Task>
+ handler
+ The handler function for each IDataRecord.
+
+
+
+ System.Data.CommandBehavior
+ behavior
+ The command behavior for once the command the reader is complete.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ Optional cancellation token.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteReaderAsync<T>(DbCommand, Func<DbDataReader, Task<T>>, CommandBehavior, Nullable<CancellationToken>)
+ Executes a reader on a command with a transform function.
+
+
+ Declaration
+
+ public static Task<T> ExecuteReaderAsync<T>(this DbCommand command, Func<DbDataReader, Task<T>> transform, CommandBehavior behavior = CommandBehavior.Default, CancellationToken? token = default (CancellationToken? ))
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbCommand
+ command
+ The IDbCommand to generate a reader from.
+
+
+
+ System.Func<System.Data.Common.DbDataReader, System.Threading.Tasks.Task<T>>
+ transform
+ The transform function for each IDataRecord.
System.Data.CommandBehavior
behavior
The command behavior for once the command the reader is complete.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ Optional cancellation token.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The result of the transform.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The return type of the transform function.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction(DbConnection, Action<DbTransaction>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static void ExecuteTransaction(this DbConnection connection, Action<DbTransaction> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Action<System.Data.Common.DbTransaction>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction(DbConnection, IsolationLevel, Action<DbTransaction>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static void ExecuteTransaction(this DbConnection connection, IsolationLevel isolationLevel, Action<DbTransaction> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Action<System.Data.Common.DbTransaction>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction(DbConnection, IsolationLevel, Nullable<CancellationToken>, Action<DbTransaction>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static void ExecuteTransaction(this DbConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Action<DbTransaction> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Action<System.Data.Common.DbTransaction>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction(DbConnection, Nullable<CancellationToken>, Action<DbTransaction>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static void ExecuteTransaction(this DbConnection connection, CancellationToken? token, Action<DbTransaction> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Action<System.Data.Common.DbTransaction>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction<T>(DbConnection, IsolationLevel, Func<DbTransaction, T>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static T ExecuteTransaction<T>(this DbConnection connection, IsolationLevel isolationLevel, Func<DbTransaction, T> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, T>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The value of the action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction<T>(DbConnection, IsolationLevel, Nullable<CancellationToken>, Func<DbTransaction, T>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static T ExecuteTransaction<T>(this DbConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<DbTransaction, T> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, T>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The value of the action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction<T>(DbConnection, Func<DbTransaction, T>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static T ExecuteTransaction<T>(this DbConnection connection, Func<DbTransaction, T> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, T>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The value of the action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction<T>(DbConnection, Nullable<CancellationToken>, Func<DbTransaction, T>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static T ExecuteTransaction<T>(this DbConnection connection, CancellationToken? token, Func<DbTransaction, T> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, T>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The value of the action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync(DbConnection, IsolationLevel, Func<DbTransaction, Task>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task ExecuteTransactionAsync(this DbConnection connection, IsolationLevel isolationLevel, Func<DbTransaction, Task> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync(DbConnection, IsolationLevel, Nullable<CancellationToken>, Func<DbTransaction, Task>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task ExecuteTransactionAsync(this DbConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<DbTransaction, Task> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync(DbConnection, Func<DbTransaction, Task>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task ExecuteTransactionAsync(this DbConnection connection, Func<DbTransaction, Task> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync(DbConnection, Nullable<CancellationToken>, Func<DbTransaction, Task>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task ExecuteTransactionAsync(this DbConnection connection, CancellationToken? token, Func<DbTransaction, Task> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync<T>(DbConnection, IsolationLevel, Func<DbTransaction, Task<T>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<T> ExecuteTransactionAsync<T>(this DbConnection connection, IsolationLevel isolationLevel, Func<DbTransaction, Task<T>> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<T>>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync<T>(DbConnection, IsolationLevel, Nullable<CancellationToken>, Func<DbTransaction, Task<T>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<T> ExecuteTransactionAsync<T>(this DbConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<DbTransaction, Task<T>> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<T>>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync<T>(DbConnection, Func<DbTransaction, Task<T>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<T> ExecuteTransactionAsync<T>(this DbConnection connection, Func<DbTransaction, Task<T>> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<T>>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync<T>(DbConnection, Nullable<CancellationToken>, Func<DbTransaction, Task<T>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<T> ExecuteTransactionAsync<T>(this DbConnection connection, CancellationToken? token, Func<DbTransaction, Task<T>> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<T>>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional(DbConnection, IsolationLevel, Func<DbTransaction, Boolean>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the conditional action returns true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static bool ExecuteTransactionConditional(this DbConnection connection, IsolationLevel isolationLevel, Func<DbTransaction, bool> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Boolean>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Boolean
+ True if committed.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional(DbConnection, IsolationLevel, Nullable<CancellationToken>, Func<DbTransaction, Boolean>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the conditional action returns true, and the optional cancellation token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static bool ExecuteTransactionConditional(this DbConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<DbTransaction, bool> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Boolean>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Boolean
+ True if committed.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional(DbConnection, Func<DbTransaction, Boolean>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the conditional action returns true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static bool ExecuteTransactionConditional(this DbConnection connection, Func<DbTransaction, bool> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Boolean>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Boolean
+ True if committed.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteReader<T>(IDbCommand, Func<IDataReader, T>, CommandBehavior)
- Executes a reader on a command with a transform function.
+
+ ExecuteTransactionConditional(DbConnection, Nullable<CancellationToken>, Func<DbTransaction, Boolean>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the conditional action returns true, and the optional cancellation token is not cancelled. Otherwise rolls-back the transaction.
Declaration
- public static T ExecuteReader<T>(this IDbCommand command, Func<IDataReader, T> transform, CommandBehavior behavior = CommandBehavior.Default)
+ public static bool ExecuteTransactionConditional(this DbConnection connection, CancellationToken? token, Func<DbTransaction, bool> conditionalAction)
Parameters
@@ -1379,21 +3416,21 @@ Parameters
- System.Data.IDbCommand
- command
- The IDbCommand to generate a reader from.
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
- System.Func<System.Data.IDataReader, T>
- transform
- The transform function for each IDataRecord.
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
- System.Data.CommandBehavior
- behavior
- The command behavior for once the command the reader is complete.
+ System.Func<System.Data.Common.DbTransaction, System.Boolean>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
@@ -1408,8 +3445,70 @@ Returns
- T
- The result of the transform.
+ System.Boolean
+ True if committed.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional<T>(DbConnection, IsolationLevel, Func<DbTransaction, >)
+ Begins a transaction before executing the action. Commits if there are no exceptions and 'Commit' value from the action is true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static ExecuteTransactionConditional<T>(this DbConnection connection, IsolationLevel isolationLevel, Func<DbTransaction, > conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.
+ The value retured from the conditional action.
@@ -1425,26 +3524,26 @@ Type Parameters
T
- The return type of the transform function.
+ The value returned from the action.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteReaderAsync(DbCommand, Func<DbDataReader, Task>, CommandBehavior, Nullable<CancellationToken>)
- Executes a reader on a command with a handler function.
+
+ ExecuteTransactionConditional<T>(DbConnection, IsolationLevel, Nullable<CancellationToken>, Func<DbTransaction, >)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true and the optional cancellation token has not been cancelled. Otherwise rolls-back the transaction.
Declaration
- public static Task ExecuteReaderAsync(this DbCommand command, Func<DbDataReader, Task> handler, CommandBehavior behavior = CommandBehavior.Default, CancellationToken? token = default (CancellationToken? ))
+ public static ExecuteTransactionConditional<T>(this DbConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<DbTransaction, > conditionalAction)
Parameters
@@ -1457,27 +3556,27 @@ Parameters
- System.Data.Common.DbCommand
- command
- The IDbCommand to generate a reader from.
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
- System.Func<System.Data.Common.DbDataReader, System.Threading.Tasks.Task>
- handler
- The handler function for each IDataRecord.
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
- System.Data.CommandBehavior
- behavior
- The command behavior for once the command the reader is complete.
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
- System.Nullable<System.Threading.CancellationToken>
- token
- Optional cancellation token.
+ System.Func<System.Data.Common.DbTransaction, System.>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
@@ -1492,26 +3591,43 @@ Returns
- System.Threading.Tasks.Task
-
+ System.
+ The value retured from the conditional action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteReaderAsync<T>(DbCommand, Func<DbDataReader, Task<T>>, CommandBehavior, Nullable<CancellationToken>)
- Executes a reader on a command with a transform function.
+
+ ExecuteTransactionConditional<T>(DbConnection, Func<DbTransaction, >)
+ Begins a transaction before executing the action. Commits if there are no exceptions and 'Commit' value from the action is true. Otherwise rolls-back the transaction.
Declaration
- public static Task<T> ExecuteReaderAsync<T>(this DbCommand command, Func<DbDataReader, Task<T>> transform, CommandBehavior behavior = CommandBehavior.Default, CancellationToken? token = default (CancellationToken? ))
+ public static ExecuteTransactionConditional<T>(this DbConnection connection, Func<DbTransaction, > conditionalAction)
Parameters
@@ -1524,27 +3640,93 @@ Parameters
- System.Data.Common.DbCommand
- command
- The IDbCommand to generate a reader from.
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
- System.Func<System.Data.Common.DbDataReader, System.Threading.Tasks.Task<T>>
- transform
- The transform function for each IDataRecord.
+ System.Func<System.Data.Common.DbTransaction, System.>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
- System.Data.CommandBehavior
- behavior
- The command behavior for once the command the reader is complete.
+ System.
+ The value retured from the conditional action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional<T>(DbConnection, Nullable<CancellationToken>, Func<DbTransaction, >)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true and the optional cancellation token has not been cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static ExecuteTransactionConditional<T>(this DbConnection connection, CancellationToken? token, Func<DbTransaction, > conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbConnection
+ connection
+ The connection to transact with.
System.Nullable<System.Threading.CancellationToken>
token
- Optional cancellation token.
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
@@ -1559,8 +3741,8 @@ Returns
- System.Threading.Tasks.Task<T>
- The result of the transform.
+ System.
+ The value retured from the conditional action.
@@ -1576,26 +3758,26 @@ Type Parameters
T
- The return type of the transform function.
+ The value returned from the action.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteTransaction<TConn>(TConn, Action<TConn>, Nullable<CancellationToken>)
- Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+ ExecuteTransactionConditionalAsync(DbConnection, IsolationLevel, Func<DbTransaction, Task<Boolean>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the value from the action is true. Otherwise rolls-back the transaction.
Declaration
- public static void ExecuteTransaction<TConn>(this TConn connection, Action<TConn> action, CancellationToken? token = default (CancellationToken? ))where TConn : DbConnection
+ public static Task<bool> ExecuteTransactionConditionalAsync(this DbConnection connection, IsolationLevel isolationLevel, Func<DbTransaction, Task<bool>> conditionalAction)
Parameters
@@ -1608,56 +3790,56 @@ Parameters
- TConn
+ System.Data.Common.DbConnection
connection
The connection to transact with.
-
- System.Action<TConn>
- action
- The handler to execute while a transaction is pending.
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
- System.Nullable<System.Threading.CancellationToken>
- token
- A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<System.Boolean>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
- Type Parameters
+ Returns
- Name
+ Type
Description
- TConn
- The connection type.
+ System.Threading.Tasks.Task<System.Boolean>
+ The value of the awaited action.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteTransaction<TConn, T>(TConn, Func<TConn, T>, Nullable<CancellationToken>)
- Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+ ExecuteTransactionConditionalAsync(DbConnection, IsolationLevel, Nullable<CancellationToken>, Func<DbTransaction, Task<Boolean>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
Declaration
- public static T ExecuteTransaction<TConn, T>(this TConn connection, Func<TConn, T> action, CancellationToken? token = default (CancellationToken? ))where TConn : DbConnection
+ public static Task<bool> ExecuteTransactionConditionalAsync(this DbConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<DbTransaction, Task<bool>> conditionalAction)
Parameters
@@ -1670,15 +3852,15 @@ Parameters
- TConn
+ System.Data.Common.DbConnection
connection
The connection to transact with.
- System.Func<TConn, T>
- action
- The handler to execute while a transaction is pending.
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
@@ -1687,60 +3869,45 @@ Parameters
A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
-
-
- Returns
-
-
-
- Type
- Description
-
-
-
- T
- The value of the action.
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<System.Boolean>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
- Type Parameters
+ Returns
- Name
+ Type
Description
- TConn
- The connection type.
-
-
-
- T
- The value returned from the action.
+ System.Threading.Tasks.Task<System.Boolean>
+ The value of the awaited action.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteTransactionAsync<TConn>(TConn, Func<TConn, Task>, Nullable<CancellationToken>)
- Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+ ExecuteTransactionConditionalAsync(DbConnection, Func<DbTransaction, Task<Boolean>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the value from the action is true. Otherwise rolls-back the transaction.
Declaration
- public static Task ExecuteTransactionAsync<TConn>(this TConn connection, Func<TConn, Task> action, CancellationToken? token = default (CancellationToken? ))where TConn : DbConnection
+ public static Task<bool> ExecuteTransactionConditionalAsync(this DbConnection connection, Func<DbTransaction, Task<bool>> conditionalAction)
Parameters
@@ -1753,21 +3920,15 @@ Parameters
- TConn
+ System.Data.Common.DbConnection
connection
The connection to transact with.
- System.Func<TConn, System.Threading.Tasks.Task>
- action
- The handler to execute while a transaction is pending.
-
-
-
- System.Nullable<System.Threading.CancellationToken>
- token
- A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<System.Boolean>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
@@ -1782,42 +3943,27 @@ Returns
- System.Threading.Tasks.Task
-
-
-
-
- Type Parameters
-
-
-
- Name
- Description
-
-
-
-
- TConn
- The connection type.
+ System.Threading.Tasks.Task<System.Boolean>
+ The value of the awaited action.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteTransactionAsync<TConn, T>(TConn, Func<TConn, Task<T>>, Nullable<CancellationToken>)
- Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+ ExecuteTransactionConditionalAsync(DbConnection, Nullable<CancellationToken>, Func<DbTransaction, Task<Boolean>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
Declaration
- public static Task<T> ExecuteTransactionAsync<TConn, T>(this TConn connection, Func<TConn, Task<T>> action, CancellationToken? token = default (CancellationToken? ))where TConn : DbConnection
+ public static Task<bool> ExecuteTransactionConditionalAsync(this DbConnection connection, CancellationToken? token, Func<DbTransaction, Task<bool>> conditionalAction)
Parameters
@@ -1830,15 +3976,9 @@ Parameters
- TConn
+ System.Data.Common.DbConnection
connection
The connection to transact with.
-
-
-
- System.Func<TConn, System.Threading.Tasks.Task<T>>
- action
- The handler to execute while a transaction is pending.
@@ -1847,60 +3987,45 @@ Parameters
A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
-
-
- Returns
-
-
-
- Type
- Description
-
-
-
- System.Threading.Tasks.Task<T>
- The value of the awaited action.
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<System.Boolean>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
- Type Parameters
+ Returns
- Name
+ Type
Description
- TConn
- The connection type.
-
-
-
- T
- The value returned from the action.
+ System.Threading.Tasks.Task<System.Boolean>
+ The value of the awaited action.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteTransactionConditional<TConn>(TConn, Func<TConn, Boolean>, Nullable<CancellationToken>)
- Begins a transaction before executing the action. Commits if there are no exceptions and the conditional actio returns true. Otherwise rolls-back the transaction.
+
+ ExecuteTransactionConditionalAsync<T>(DbConnection, IsolationLevel, Func<DbTransaction, Task<>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the 'Commit' value from the action is true. Otherwise rolls-back the transaction.
Declaration
- public static bool ExecuteTransactionConditional<TConn>(this TConn connection, Func<TConn, bool> conditionalAction, CancellationToken? token = default (CancellationToken? ))where TConn : DbConnection
+ public static Task<> ExecuteTransactionConditionalAsync<T>(this DbConnection connection, IsolationLevel isolationLevel, Func<DbTransaction, Task<>> conditionalAction)
Parameters
@@ -1913,21 +4038,21 @@ Parameters
- TConn
+ System.Data.Common.DbConnection
connection
The connection to transact with.
- System.Func<TConn, System.Boolean>
- conditionalAction
- The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
- System.Nullable<System.Threading.CancellationToken>
- token
- A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<System.>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
@@ -1942,8 +4067,8 @@ Returns
- System.Boolean
- True if committed.
+ System.Threading.Tasks.Task<System.>
+ The value of the awaited action.
@@ -1958,27 +4083,27 @@ Type Parameters
- TConn
- The connection type.
+ T
+ The value returned from the action.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- ExecuteTransactionConditional<TConn, T>(TConn, Func<TConn, >, Nullable<CancellationToken>)
- Begins a transaction before executing the action. Commits if there are no exceptions and 'Commit' value from the action is true. Otherwise rolls-back the transaction.
+
+ ExecuteTransactionConditionalAsync<T>(DbConnection, IsolationLevel, Nullable<CancellationToken>, Func<DbTransaction, Task<>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
Declaration
- public static ExecuteTransactionConditional<TConn, T>(this TConn connection, Func<TConn, > conditionalAction, CancellationToken? token = default (CancellationToken? ))where TConn : DbConnection
+ public static Task<> ExecuteTransactionConditionalAsync<T>(this DbConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<DbTransaction, Task<>> conditionalAction)
Parameters
@@ -1991,21 +4116,27 @@ Parameters
- TConn
+ System.Data.Common.DbConnection
connection
The connection to transact with.
- System.Func<TConn, System.>
- conditionalAction
- The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
System.Nullable<System.Threading.CancellationToken>
token
A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<System.>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
@@ -2020,8 +4151,8 @@ Returns
- System.
- The value retured from the conditional action.
+ System.Threading.Tasks.Task<System.>
+ The value of the awaited action.
@@ -2035,11 +4166,6 @@ Type Parameters
-
- TConn
- The connection type.
-
-
T
The value returned from the action.
@@ -2049,19 +4175,19 @@ Type Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ExecuteTransactionConditionalAsync<TConn, T>(TConn, Func<TConn, Task<Boolean>>, Nullable<CancellationToken>)
- Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+ ExecuteTransactionConditionalAsync<T>(DbConnection, Func<DbTransaction, Task<>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the 'Commit' value from the action is true. Otherwise rolls-back the transaction.
Declaration
- public static Task<bool> ExecuteTransactionConditionalAsync<TConn, T>(this TConn connection, Func<TConn, Task<bool>> conditionalAction, CancellationToken? token = default (CancellationToken? ))where TConn : DbConnection
+ public static Task<> ExecuteTransactionConditionalAsync<T>(this DbConnection connection, Func<DbTransaction, Task<>> conditionalAction)
Parameters
@@ -2074,21 +4200,15 @@ Parameters
- TConn
+ System.Data.Common.DbConnection
connection
The connection to transact with.
- System.Func<TConn, System.Threading.Tasks.Task<System.Boolean>>
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<System.>>
conditionalAction
- The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
-
-
-
- System.Nullable<System.Threading.CancellationToken>
- token
- A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
@@ -2103,7 +4223,7 @@ Returns
- System.Threading.Tasks.Task<System.Boolean>
+ System.Threading.Tasks.Task<System.>
The value of the awaited action.
@@ -2118,11 +4238,6 @@ Type Parameters
-
- TConn
- The connection type.
-
-
T
The value returned from the action.
@@ -2132,19 +4247,19 @@ Type Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ExecuteTransactionConditionalAsync<TConn, T>(TConn, Func<TConn, Task<>>, Nullable<CancellationToken>)
+ ExecuteTransactionConditionalAsync<T>(DbConnection, Nullable<CancellationToken>, Func<DbTransaction, Task<>>)
Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
Declaration
- public static Task<> ExecuteTransactionConditionalAsync<TConn, T>(this TConn connection, Func<TConn, Task<>> conditionalAction, CancellationToken? token = default (CancellationToken? ))where TConn : DbConnection
+ public static Task<> ExecuteTransactionConditionalAsync<T>(this DbConnection connection, CancellationToken? token, Func<DbTransaction, Task<>> conditionalAction)
Parameters
@@ -2157,21 +4272,21 @@ Parameters
- TConn
+ System.Data.Common.DbConnection
connection
The connection to transact with.
-
-
-
- System.Func<TConn, System.Threading.Tasks.Task<System.>>
- conditionalAction
- The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
System.Nullable<System.Threading.CancellationToken>
token
A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.Common.DbTransaction, System.Threading.Tasks.Task<System.>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
@@ -2201,11 +4316,6 @@ Type Parameters
-
- TConn
- The connection type.
-
-
T
The value returned from the action.
@@ -2218,7 +4328,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
First<T>(IDbCommand, Func<IDataRecord, T>)
@@ -2290,7 +4400,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
FirstOrDefault<T>(IDbCommand, Func<IDataRecord, T>)
@@ -2362,7 +4472,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
FirstOrdinalResults(IDataReader)
@@ -2412,7 +4522,7 @@ Returns
Improve this Doc
- View Source
+ View Source
FirstOrdinalResults(IDbCommand)
@@ -2462,7 +4572,7 @@ Returns
Improve this Doc
- View Source
+ View Source
FirstOrdinalResults<T0>(IDataReader)
@@ -2527,7 +4637,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
FirstOrdinalResults<T0>(IDbCommand)
@@ -2592,7 +4702,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
FirstOrdinalResultsAsync(DbCommand, Nullable<CancellationToken>)
@@ -2649,7 +4759,7 @@ Returns
Improve this Doc
- View Source
+ View Source
FirstOrdinalResultsAsync(DbDataReader, Nullable<CancellationToken>)
@@ -2706,7 +4816,7 @@ Returns
Improve this Doc
- View Source
+ View Source
FirstOrdinalResultsAsync<T0>(DbCommand, Nullable<CancellationToken>)
@@ -2778,7 +4888,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
FirstOrdinalResultsAsync<T0>(DbDataReader, Nullable<CancellationToken>)
@@ -2850,7 +4960,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ForEach(IDataReader, Action<IDataRecord>)
@@ -2890,7 +5000,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
ForEachAsync(DbCommand, Action<IDataRecord>, Nullable<CancellationToken>)
@@ -2951,7 +5061,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ForEachAsync(DbDataReader, Action<IDataRecord>, Nullable<CancellationToken>)
@@ -3012,7 +5122,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ForEachAsync(DbDataReader, Func<IDataRecord, Task>, Nullable<CancellationToken>)
@@ -3073,7 +5183,7 @@ Returns
Improve this Doc
- View Source
+ View Source
GetDataTypeNames(IDataRecord)
@@ -3123,7 +5233,7 @@ Returns
Improve this Doc
- View Source
+ View Source
GetMatchingOrdinals(IDataRecord, IEnumerable<String>, Boolean)
@@ -3184,7 +5294,7 @@ Returns
Improve this Doc
- View Source
+ View Source
GetNames(IDataRecord)
@@ -3234,7 +5344,7 @@ Returns
Improve this Doc
- View Source
+ View Source
GetOrdinalMapping(IDataRecord)
@@ -3284,7 +5394,7 @@ Returns
Improve this Doc
- View Source
+ View Source
GetOrdinalMapping(IDataRecord, IEnumerable<String>, Boolean)
@@ -3345,7 +5455,7 @@ Returns
Improve this Doc
- View Source
+ View Source
GetValuesFromOrdinals(IDataRecord, Int32[])
@@ -3401,7 +5511,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Iterate<T>(IDataReader, Func<IDataRecord, T>)
@@ -3473,7 +5583,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
IterateReader(IDbCommand, Action<IDataRecord>)
@@ -3513,7 +5623,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
IterateReader(IDbCommand, CommandBehavior, Action<IDataRecord>)
@@ -3559,7 +5669,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
IterateReader<TEntity, TResult>(IDbCommand, CommandBehavior, Func<IDataRecord, TEntity>, Func<IEnumerable<TEntity>, TResult>)
@@ -3648,7 +5758,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
IterateReader<TEntity, TResult>(IDbCommand, Func<IDataRecord, TEntity>, Func<IEnumerable<TEntity>, TResult>)
@@ -3731,7 +5841,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
IterateReaderAsyncWhile(DbCommand, Func<IDataRecord, Boolean>, CommandBehavior, Nullable<CancellationToken>)
@@ -3798,7 +5908,7 @@ Returns
Improve this Doc
- View Source
+ View Source
IterateReaderAsyncWhile(DbCommand, Func<IDataRecord, Task<Boolean>>, CommandBehavior, Nullable<CancellationToken>)
@@ -3865,7 +5975,7 @@ Returns
Improve this Doc
- View Source
+ View Source
IterateReaderWhile(IDbCommand, Func<IDataRecord, Boolean>, CommandBehavior)
@@ -3911,7 +6021,7 @@ Parameters
Improve this Doc
- View Source
+ View Source
IterateWhile(IDataReader, Func<IDataRecord, Boolean>)
@@ -6628,7 +8738,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Single<T>(IDbCommand, Func<IDataRecord, T>)
@@ -6700,7 +8810,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
SingleOrDefault<T>(IDbCommand, Func<IDataRecord, T>)
@@ -6772,7 +8882,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
Skip<T>(IDbCommand, Int32, Func<IDataRecord, T>)
@@ -6850,7 +8960,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
SkipThenTake<T>(IDbCommand, Int32, Int32, Func<IDataRecord, T>)
@@ -6934,7 +9044,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
StoredProcedure(IDbConnectionFactory<DbConnection>, String)
@@ -6990,7 +9100,7 @@ Returns
Improve this Doc
- View Source
+ View Source
StoredProcedure(DbConnection, String)
@@ -7037,6 +9147,62 @@ Returns
ExpressiveDbCommand
The resultant ExpressiveDbCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ StoredProcedure(DbTransaction, String)
+ Creates an ExpressiveDbCommand with command type set to StoredProcedure for subsequent configuration and execution.
+
+
+ Declaration
+
+ public static ExpressiveDbCommand StoredProcedure(this DbTransaction target, string command)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.Common.DbTransaction
+ target
+ The transaction to execute the command on.
+
+
+
+ System.String
+ command
+ The command text or stored procedure name to use.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ ExpressiveDbCommand
+ The resultant ExpressiveDbCommand.
@@ -7046,7 +9212,7 @@ Returns
Improve this Doc
- View Source
+ View Source
StoredProcedure(Func<DbConnection>, String)
@@ -7102,7 +9268,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Take<T>(IDbCommand, Int32, Func<IDataRecord, T>)
@@ -7180,7 +9346,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
To<T>(DataTable, IEnumerable<KeyValuePair<String, String>>, Boolean)
@@ -7258,7 +9424,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
To<T>(DataTable, IEnumerable<>, Boolean)
@@ -7336,7 +9502,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
To<T>(DataTable, [])
@@ -7408,7 +9574,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToArray<T>(IDataReader, Func<IDataRecord, T>)
@@ -7480,7 +9646,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToArray<T>(IDbCommand, CommandBehavior, Func<IDataRecord, T>)
@@ -7558,7 +9724,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToArray<T>(IDbCommand, Func<IDataRecord, T>)
@@ -7630,7 +9796,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToDataTable(IDataReader)
@@ -7680,7 +9846,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ToDataTable(IDbCommand, CommandBehavior)
@@ -7736,7 +9902,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ToDataTables(IDbCommand, CommandBehavior)
@@ -7793,7 +9959,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ToDictionary(IDataRecord, IEnumerable<KeyValuePair<Int32, String>>)
@@ -7850,7 +10016,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ToDictionary(IDataRecord, IEnumerable<String>)
@@ -7907,7 +10073,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ToDictionary(IDataRecord, IEnumerable<>)
@@ -7964,7 +10130,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ToDictionary(IDataRecord, ISet<String>)
@@ -8021,7 +10187,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ToDictionary(IDataRecord, String[])
@@ -8078,7 +10244,7 @@ Returns
Improve this Doc
- View Source
+ View Source
ToList<T>(IDataReader, Func<IDataRecord, T>)
@@ -8150,7 +10316,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToList<T>(IDbCommand, CommandBehavior, Func<IDataRecord, T>)
@@ -8228,7 +10394,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToList<T>(IDbCommand, Func<IDataRecord, T>)
@@ -8300,7 +10466,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToListAsync<T>(DbCommand, Func<IDataRecord, T>, Nullable<CancellationToken>)
@@ -8378,7 +10544,7 @@ Type Parameters
Improve this Doc
- View Source
+ View Source
ToListAsync<T>(DbDataReader, Func<IDataRecord, T>, Nullable<CancellationToken>)
diff --git a/docs/api/Open.Database.Extensions.SqlClient.ExpressiveSqlCommand.html b/docs/api/Open.Database.Extensions.SqlClient.ExpressiveSqlCommand.html
index d431504..b3fc86d 100644
--- a/docs/api/Open.Database.Extensions.SqlClient.ExpressiveSqlCommand.html
+++ b/docs/api/Open.Database.Extensions.SqlClient.ExpressiveSqlCommand.html
@@ -184,6 +184,9 @@ Inherited Members
+
@@ -233,10 +236,10 @@ Inherited Members
ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.AddParams(SqlCommand)
- ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.UsingConnection(Action<SqlConnection>)
+ ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.UsingConnection(Action<SqlConnection, IDbTransaction>)
- ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.UsingConnection<T>(Func<SqlConnection, T>)
+ ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.UsingConnection<T>(Func<SqlConnection, IDbTransaction, T>)
ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Execute(Action<SqlCommand>)
@@ -390,69 +393,18 @@ Constructors
|
- Improve this Doc
-
-
- View Source
-
-
- ExpressiveSqlCommand(IDbConnectionFactory<SqlConnection>, CommandType, String, ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param[])
-
-
- Declaration
-
- public ExpressiveSqlCommand(IDbConnectionFactory<SqlConnection> connFactory, CommandType type, string command, params ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param[] params)
-
- Parameters
-
-
-
- Type
- Name
- Description
-
-
-
-
- IDbConnectionFactory<System.Data.SqlClient.SqlConnection>
- connFactory
- The factory to generate connections from.
-
-
-
- System.Data.CommandType
- type
- The command type>.
-
-
-
- System.String
- command
- The SQL command.
-
-
-
- ExpressiveCommandBase.Param<>[]
- params
- The list of params
-
-
-
-
-
- |
- Improve this Doc
+ Improve this Doc
View Source
- ExpressiveSqlCommand(IDbConnectionFactory<SqlConnection>, CommandType, String, List<ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param>)
+ ExpressiveSqlCommand(IDbConnectionFactory<SqlConnection>, CommandType, String, IEnumerable<ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param>)
Declaration
- public ExpressiveSqlCommand(IDbConnectionFactory<SqlConnection> connFactory, CommandType type, string command, List<ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param> params = null)
+ public ExpressiveSqlCommand(IDbConnectionFactory<SqlConnection> connFactory, CommandType type, string command, IEnumerable<ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param> params = null)
Parameters
@@ -483,7 +435,7 @@ Parameters
- System.Collections.Generic.List<ExpressiveCommandBase.Param<>>
+ System.Collections.Generic.IEnumerable<ExpressiveCommandBase.Param<>>
params
The list of params
@@ -492,18 +444,18 @@ Parameters
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
- ExpressiveSqlCommand(SqlConnection, CommandType, String, ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param[])
+ ExpressiveSqlCommand(SqlConnection, SqlTransaction, CommandType, String, IEnumerable<ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param>)
Declaration
- public ExpressiveSqlCommand(SqlConnection connection, CommandType type, string command, params ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param[] params)
+ public ExpressiveSqlCommand(SqlConnection connection, SqlTransaction transaction, CommandType type, string command, IEnumerable<ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param> params = null)
Parameters
@@ -522,54 +474,9 @@ Parameters
- System.Data.CommandType
- type
- The command type>.
-
-
-
- System.String
- command
- The SQL command.
-
-
-
- ExpressiveCommandBase.Param<>[]
- params
- The list of params
-
-
-
-
-
- |
- Improve this Doc
-
-
- View Source
-
-
- ExpressiveSqlCommand(SqlConnection, CommandType, String, List<ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param>)
-
-
- Declaration
-
- public ExpressiveSqlCommand(SqlConnection connection, CommandType type, string command, List<ExpressiveCommandBase<SqlConnection, SqlCommand, SqlDbType, ExpressiveSqlCommand>.Param> params)
-
- Parameters
-
-
-
- Type
- Name
- Description
-
-
-
-
- System.Data.SqlClient.SqlConnection
- connection
- The connection to execute the command on.
+ System.Data.SqlClient.SqlTransaction
+ transaction
+ The optional transaction to execute the command on.
@@ -585,7 +492,7 @@ Parameters
- System.Collections.Generic.List<ExpressiveCommandBase.Param<>>
+ System.Collections.Generic.IEnumerable<ExpressiveCommandBase.Param<>>
params
The list of params
@@ -599,7 +506,7 @@ Methods
Improve this Doc
- View Source
+ View Source
AddParams(SqlCommand)
diff --git a/docs/api/Open.Database.Extensions.SqlClient.Extensions.html b/docs/api/Open.Database.Extensions.SqlClient.Extensions.html
index 3b684a6..90a5944 100644
--- a/docs/api/Open.Database.Extensions.SqlClient.Extensions.html
+++ b/docs/api/Open.Database.Extensions.SqlClient.Extensions.html
@@ -118,7 +118,7 @@ Methods
Improve this Doc
- View Source
+ View Source
AddParameter(SqlCommand, String, Object, SqlDbType, ParameterDirection)
@@ -192,7 +192,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParameterType(IDbCommand, String, SqlDbType)
@@ -254,7 +254,7 @@ Returns
Improve this Doc
- View Source
+ View Source
AddParameterType(SqlCommand, String, SqlDbType, ParameterDirection)
@@ -322,7 +322,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Command(IDbConnectionFactory<SqlConnection>, String, CommandType)
@@ -384,7 +384,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Command(SqlConnection, String, CommandType)
@@ -437,6 +437,68 @@ Returns
ExpressiveSqlCommand
The resultant ExpressiveSqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ Command(SqlTransaction, String, CommandType)
+ Creates an ExpressiveSqlCommand for subsequent configuration and execution.
+
+
+ Declaration
+
+ public static ExpressiveSqlCommand Command(this SqlTransaction target, string command, CommandType type = CommandType.Text)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlTransaction
+ target
+ The transaction to execute the command on.
+
+
+
+ System.String
+ command
+ The command text or stored procedure name to use.
+
+
+
+ System.Data.CommandType
+ type
+ The command type.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ ExpressiveSqlCommand
+ The resultant ExpressiveSqlCommand.
@@ -446,7 +508,7 @@ Returns
Improve this Doc
- View Source
+ View Source
Command(Func<SqlConnection>, String, CommandType)
@@ -508,7 +570,7 @@ Returns
Improve this Doc
- View Source
+ View Source
CreateCommand(SqlConnection, CommandType, String, Int32)
@@ -567,6 +629,74 @@ Returns
System.Data.SqlClient.SqlCommand
The created SqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ CreateCommand(SqlTransaction, CommandType, String, Int32)
+ Shortcut for creating an SqlCommand from any SqlTransaction.
+
+
+ Declaration
+
+ public static SqlCommand CreateCommand(this SqlTransaction transaction, CommandType type, string commandText, int secondsTimeout = 60)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlTransaction
+ transaction
+ The transaction to create a command from.
+
+
+
+ System.Data.CommandType
+ type
+ The command type. Text, StoredProcedure, or TableDirect.
+
+
+
+ System.String
+ commandText
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlCommand
+ The created SqlCommand.
@@ -576,16 +706,140 @@ Returns
Improve this Doc
- View Source
+ View Source
CreateStoredProcedureCommand(SqlConnection, String, Int32)
- Shortcut for creating an SqlCommand from any SqlConnection.
+ Shortcut for creating a stored procedure SqlCommand from any SqlConnection.
+
+
+ Declaration
+
+ public static SqlCommand CreateStoredProcedureCommand(this SqlConnection connection, string procedureName, int secondsTimeout = 60)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to create a command from.
+
+
+
+ System.String
+ procedureName
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlCommand
+ The created SqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ CreateStoredProcedureCommand(SqlTransaction, String, Int32)
+ Shortcut for creating a stored procedure SqlCommand from any SqlTransaction.
+
+
+ Declaration
+
+ public static SqlCommand CreateStoredProcedureCommand(this SqlTransaction transaction, string procedureName, int secondsTimeout = 60)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlTransaction
+ transaction
+ The transaction to create a command from.
+
+
+
+ System.String
+ procedureName
+ The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlCommand
+ The created SqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ CreateTextCommand(SqlConnection, String, Int32)
+ Shortcut for creating an text SqlCommand from any SqlConnection.
Declaration
- public static SqlCommand CreateStoredProcedureCommand(this SqlConnection connection, string commandText, int secondsTimeout = 60)
+ public static SqlCommand CreateTextCommand(this SqlConnection connection, string commandText, int secondsTimeout = 60)
Parameters
@@ -635,19 +889,19 @@ Returns
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- StoredProcedure(IDbConnectionFactory<SqlConnection>, String)
- Creates an ExpressiveSqlCommand with command type set to StoredProcedure for subsequent configuration and execution.
+
+ CreateTextCommand(SqlTransaction, String, Int32)
+ Shortcut for creating a text SqlCommand from any SqlTransaction.
Declaration
- public static ExpressiveSqlCommand StoredProcedure(this IDbConnectionFactory<SqlConnection> target, string command)
+ public static SqlCommand CreateTextCommand(this SqlTransaction transaction, string procedureName, int secondsTimeout = 60)
Parameters
@@ -660,15 +914,21 @@ Parameters
- IDbConnectionFactory<System.Data.SqlClient.SqlConnection>
- target
- The connection factory to generate a commands from.
+ System.Data.SqlClient.SqlTransaction
+ transaction
+ The transaction to create a command from.
System.String
- command
+ procedureName
The command text or stored procedure name to use.
+
+
+
+ System.Int32
+ secondsTimeout
+ The number of seconds to wait before the command times out.
@@ -683,27 +943,27 @@ Returns
- ExpressiveSqlCommand
- The resultant ExpressiveSqlCommand.
+ System.Data.SqlClient.SqlCommand
+ The created SqlCommand.
|
- Improve this Doc
+ Improve this Doc
- View Source
+ View Source
-
- StoredProcedure(SqlConnection, String)
- Creates an ExpressiveSqlCommand with command type set to StoredProcedure for subsequent configuration and execution.
+
+ ExecuteTransaction(SqlConnection, Action<SqlTransaction>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
Declaration
- public static ExpressiveSqlCommand StoredProcedure(this SqlConnection target, string command)
+ public static void ExecuteTransaction(this SqlConnection connection, Action<SqlTransaction> action)
Parameters
@@ -717,8 +977,2292 @@ Parameters
System.Data.SqlClient.SqlConnection
- target
- The connection to execute the command on.
+ connection
+ The connection to transact with.
+
+
+
+ System.Action<System.Data.SqlClient.SqlTransaction>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction(SqlConnection, IsolationLevel, Action<SqlTransaction>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static void ExecuteTransaction(this SqlConnection connection, IsolationLevel isolationLevel, Action<SqlTransaction> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Action<System.Data.SqlClient.SqlTransaction>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction(SqlConnection, IsolationLevel, Nullable<CancellationToken>, Action<SqlTransaction>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static void ExecuteTransaction(this SqlConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Action<SqlTransaction> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Action<System.Data.SqlClient.SqlTransaction>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction(SqlConnection, Nullable<CancellationToken>, Action<SqlTransaction>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static void ExecuteTransaction(this SqlConnection connection, CancellationToken? token, Action<SqlTransaction> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Action<System.Data.SqlClient.SqlTransaction>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction<T>(SqlConnection, IsolationLevel, Func<SqlTransaction, T>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static T ExecuteTransaction<T>(this SqlConnection connection, IsolationLevel isolationLevel, Func<SqlTransaction, T> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, T>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The value of the action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction<T>(SqlConnection, IsolationLevel, Nullable<CancellationToken>, Func<SqlTransaction, T>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static T ExecuteTransaction<T>(this SqlConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<SqlTransaction, T> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, T>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The value of the action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction<T>(SqlConnection, Func<SqlTransaction, T>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static T ExecuteTransaction<T>(this SqlConnection connection, Func<SqlTransaction, T> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, T>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The value of the action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransaction<T>(SqlConnection, Nullable<CancellationToken>, Func<SqlTransaction, T>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static T ExecuteTransaction<T>(this SqlConnection connection, CancellationToken? token, Func<SqlTransaction, T> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, T>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ T
+ The value of the action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync(SqlConnection, IsolationLevel, Func<SqlTransaction, Task>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task ExecuteTransactionAsync(this SqlConnection connection, IsolationLevel isolationLevel, Func<SqlTransaction, Task> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync(SqlConnection, IsolationLevel, Nullable<CancellationToken>, Func<SqlTransaction, Task>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task ExecuteTransactionAsync(this SqlConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<SqlTransaction, Task> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync(SqlConnection, Func<SqlTransaction, Task>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task ExecuteTransactionAsync(this SqlConnection connection, Func<SqlTransaction, Task> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync(SqlConnection, Nullable<CancellationToken>, Func<SqlTransaction, Task>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task ExecuteTransactionAsync(this SqlConnection connection, CancellationToken? token, Func<SqlTransaction, Task> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync<T>(SqlConnection, IsolationLevel, Func<SqlTransaction, Task<T>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<T> ExecuteTransactionAsync<T>(this SqlConnection connection, IsolationLevel isolationLevel, Func<SqlTransaction, Task<T>> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<T>>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync<T>(SqlConnection, IsolationLevel, Nullable<CancellationToken>, Func<SqlTransaction, Task<T>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<T> ExecuteTransactionAsync<T>(this SqlConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<SqlTransaction, Task<T>> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<T>>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync<T>(SqlConnection, Func<SqlTransaction, Task<T>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<T> ExecuteTransactionAsync<T>(this SqlConnection connection, Func<SqlTransaction, Task<T>> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<T>>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionAsync<T>(SqlConnection, Nullable<CancellationToken>, Func<SqlTransaction, Task<T>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<T> ExecuteTransactionAsync<T>(this SqlConnection connection, CancellationToken? token, Func<SqlTransaction, Task<T>> action)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<T>>
+ action
+ The handler to execute while a transaction is pending.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<T>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional(SqlConnection, IsolationLevel, Func<SqlTransaction, Boolean>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the conditional action returns true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static bool ExecuteTransactionConditional(this SqlConnection connection, IsolationLevel isolationLevel, Func<SqlTransaction, bool> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Boolean>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Boolean
+ True if committed.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional(SqlConnection, IsolationLevel, Nullable<CancellationToken>, Func<SqlTransaction, Boolean>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the conditional action returns true, and the optional cancellation token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static bool ExecuteTransactionConditional(this SqlConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<SqlTransaction, bool> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Boolean>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Boolean
+ True if committed.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional(SqlConnection, Func<SqlTransaction, Boolean>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the conditional action returns true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static bool ExecuteTransactionConditional(this SqlConnection connection, Func<SqlTransaction, bool> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Boolean>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Boolean
+ True if committed.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional(SqlConnection, Nullable<CancellationToken>, Func<SqlTransaction, Boolean>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the conditional action returns true, and the optional cancellation token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static bool ExecuteTransactionConditional(this SqlConnection connection, CancellationToken? token, Func<SqlTransaction, bool> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Boolean>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Boolean
+ True if committed.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional<T>(SqlConnection, IsolationLevel, Func<SqlTransaction, >)
+ Begins a transaction before executing the action. Commits if there are no exceptions and 'Commit' value from the action is true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static ExecuteTransactionConditional<T>(this SqlConnection connection, IsolationLevel isolationLevel, Func<SqlTransaction, > conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.
+ The value retured from the conditional action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional<T>(SqlConnection, IsolationLevel, Nullable<CancellationToken>, Func<SqlTransaction, >)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true and the optional cancellation token has not been cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static ExecuteTransactionConditional<T>(this SqlConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<SqlTransaction, > conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.
+ The value retured from the conditional action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional<T>(SqlConnection, Func<SqlTransaction, >)
+ Begins a transaction before executing the action. Commits if there are no exceptions and 'Commit' value from the action is true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static ExecuteTransactionConditional<T>(this SqlConnection connection, Func<SqlTransaction, > conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.
+ The value retured from the conditional action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditional<T>(SqlConnection, Nullable<CancellationToken>, Func<SqlTransaction, >)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true and the optional cancellation token has not been cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static ExecuteTransactionConditional<T>(this SqlConnection connection, CancellationToken? token, Func<SqlTransaction, > conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.
+ The value retured from the conditional action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditionalAsync(SqlConnection, IsolationLevel, Func<SqlTransaction, Task<Boolean>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the value from the action is true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<bool> ExecuteTransactionConditionalAsync(this SqlConnection connection, IsolationLevel isolationLevel, Func<SqlTransaction, Task<bool>> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<System.Boolean>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.Boolean>
+ The value of the awaited action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditionalAsync(SqlConnection, IsolationLevel, Nullable<CancellationToken>, Func<SqlTransaction, Task<Boolean>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<bool> ExecuteTransactionConditionalAsync(this SqlConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<SqlTransaction, Task<bool>> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<System.Boolean>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.Boolean>
+ The value of the awaited action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditionalAsync(SqlConnection, Func<SqlTransaction, Task<Boolean>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the value from the action is true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<bool> ExecuteTransactionConditionalAsync(this SqlConnection connection, Func<SqlTransaction, Task<bool>> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<System.Boolean>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.Boolean>
+ The value of the awaited action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditionalAsync(SqlConnection, Nullable<CancellationToken>, Func<SqlTransaction, Task<Boolean>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<bool> ExecuteTransactionConditionalAsync(this SqlConnection connection, CancellationToken? token, Func<SqlTransaction, Task<bool>> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<System.Boolean>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.Boolean>
+ The value of the awaited action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditionalAsync<T>(SqlConnection, IsolationLevel, Func<SqlTransaction, Task<>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the 'Commit' value from the action is true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<> ExecuteTransactionConditionalAsync<T>(this SqlConnection connection, IsolationLevel isolationLevel, Func<SqlTransaction, Task<>> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<System.>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditionalAsync<T>(SqlConnection, IsolationLevel, Nullable<CancellationToken>, Func<SqlTransaction, Task<>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<> ExecuteTransactionConditionalAsync<T>(this SqlConnection connection, IsolationLevel isolationLevel, CancellationToken? token, Func<SqlTransaction, Task<>> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Data.IsolationLevel
+ isolationLevel
+ The isolation level for the transaction.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<System.>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditionalAsync<T>(SqlConnection, Func<SqlTransaction, Task<>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions and the 'Commit' value from the action is true. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<> ExecuteTransactionConditionalAsync<T>(this SqlConnection connection, Func<SqlTransaction, Task<>> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<System.>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ ExecuteTransactionConditionalAsync<T>(SqlConnection, Nullable<CancellationToken>, Func<SqlTransaction, Task<>>)
+ Begins a transaction before executing the action. Commits if there are no exceptions, the 'Commit' value from the action is true, and the optional provided token is not cancelled. Otherwise rolls-back the transaction.
+
+
+ Declaration
+
+ public static Task<> ExecuteTransactionConditionalAsync<T>(this SqlConnection connection, CancellationToken? token, Func<SqlTransaction, Task<>> conditionalAction)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ connection
+ The connection to transact with.
+
+
+
+ System.Nullable<System.Threading.CancellationToken>
+ token
+ A optional token that if cancelled will cause this transaction to be aborted or rolled-back.
+
+
+
+ System.Func<System.Data.SqlClient.SqlTransaction, System.Threading.Tasks.Task<System.>>
+ conditionalAction
+ The handler to execute while a transaction is pending. Returning a 'Commit' value of true signals to commit the transaction.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ System.Threading.Tasks.Task<System.>
+ The value of the awaited action.
+
+
+
+
+ Type Parameters
+
+
+
+ Name
+ Description
+
+
+
+
+ T
+ The value returned from the action.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ StoredProcedure(IDbConnectionFactory<SqlConnection>, String)
+ Creates an ExpressiveSqlCommand with command type set to StoredProcedure for subsequent configuration and execution.
+
+
+ Declaration
+
+ public static ExpressiveSqlCommand StoredProcedure(this IDbConnectionFactory<SqlConnection> target, string command)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ IDbConnectionFactory<System.Data.SqlClient.SqlConnection>
+ target
+ The connection factory to generate a commands from.
+
+
+
+ System.String
+ command
+ The command text or stored procedure name to use.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ ExpressiveSqlCommand
+ The resultant ExpressiveSqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ StoredProcedure(SqlConnection, String)
+ Creates an ExpressiveSqlCommand with command type set to StoredProcedure for subsequent configuration and execution.
+
+
+ Declaration
+
+ public static ExpressiveSqlCommand StoredProcedure(this SqlConnection target, string command)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlConnection
+ target
+ The connection to execute the command on.
+
+
+
+ System.String
+ command
+ The command text or stored procedure name to use.
+
+
+
+
+ Returns
+
+
+
+ Type
+ Description
+
+
+
+
+ ExpressiveSqlCommand
+ The resultant ExpressiveSqlCommand.
+
+
+
+
+
+ |
+ Improve this Doc
+
+
+ View Source
+
+
+ StoredProcedure(SqlTransaction, String)
+ Creates an ExpressiveSqlCommand with command type set to StoredProcedure for subsequent configuration and execution.
+
+
+ Declaration
+
+ public static ExpressiveSqlCommand StoredProcedure(this SqlTransaction target, string command)
+
+ Parameters
+
+
+
+ Type
+ Name
+ Description
+
+
+
+
+ System.Data.SqlClient.SqlTransaction
+ target
+ The transaction to execute the command on.
@@ -750,7 +3294,7 @@ Returns
Improve this Doc
- View Source
+ View Source
StoredProcedure(Func<SqlConnection>, String)
@@ -812,7 +3356,7 @@ Returns
Improve this Doc
- View Source
+ View Source
diff --git a/docs/manifest.json b/docs/manifest.json
index 0cecabf..d687a4c 100644
--- a/docs/manifest.json
+++ b/docs/manifest.json
@@ -1,6 +1,6 @@
{
"homepages": [],
- "source_base_path": "D:/Users/essence/Development/- GitHub/Open.Database.Extensions",
+ "source_base_path": "C:/Users/essence/Development/- GitHub/Open.Database.Extensions",
"xrefmap": "xrefmap.yml",
"files": [
{
@@ -9,7 +9,7 @@
"output": {
".html": {
"relative_path": "README.html",
- "hash": "6ocqwfnmvN3x6/SQ+CDpIA=="
+ "hash": "0r4x6OWPVdrfHnwseqEw4g=="
}
},
"is_incremental": true,
@@ -24,7 +24,7 @@
"hash": "VtEQXXI+ElbctG02qlc9rQ=="
}
},
- "is_incremental": false,
+ "is_incremental": true,
"version": ""
},
{
@@ -36,7 +36,7 @@
"hash": "xhMWzNRRpOR+6FeYl4PSfg=="
}
},
- "is_incremental": false,
+ "is_incremental": true,
"version": ""
},
{
@@ -57,7 +57,7 @@
"output": {
".html": {
"relative_path": "api/Open.Database.Extensions.ExpressiveCommandBase-4.html",
- "hash": "AA0UtnBymhkqBofwA7ALIA=="
+ "hash": "02TqaM4hKkTCgnJEh2iMxA=="
}
},
"is_incremental": false,
@@ -69,7 +69,7 @@
"output": {
".html": {
"relative_path": "api/Open.Database.Extensions.ExpressiveDbCommand.html",
- "hash": "dI7o2mKUNDb1c6EGR4IBuw=="
+ "hash": "OdAvRJ0OEsYzZnrRBAA8yQ=="
}
},
"is_incremental": false,
@@ -81,7 +81,7 @@
"output": {
".html": {
"relative_path": "api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html",
- "hash": "W5BHQ/b7wNVPtkJUWd+EqA=="
+ "hash": "ha5ywwEkJvoN379fy9yLLw=="
}
},
"is_incremental": false,
@@ -93,10 +93,10 @@
"output": {
".html": {
"relative_path": "api/Open.Database.Extensions.Extensions.html",
- "hash": "Z9uHrmcj3e27gKyLt0N85A=="
+ "hash": "M3ninHB1lHU9JJxR/9WVlQ=="
}
},
- "is_incremental": false,
+ "is_incremental": true,
"version": ""
},
{
@@ -108,7 +108,7 @@
"hash": "DBC1Y4kREXleorKW0papRw=="
}
},
- "is_incremental": false,
+ "is_incremental": true,
"version": ""
},
{
@@ -153,7 +153,7 @@
"output": {
".html": {
"relative_path": "api/Open.Database.Extensions.SqlClient.ExpressiveSqlCommand.html",
- "hash": "te+yPuJDNsNRZpVc3R2o3A=="
+ "hash": "0qzEXHBBAAW9Oun7akhmyQ=="
}
},
"is_incremental": false,
@@ -165,10 +165,10 @@
"output": {
".html": {
"relative_path": "api/Open.Database.Extensions.SqlClient.Extensions.html",
- "hash": "3Lcb4bjbDNkuLUZJcc6JuQ=="
+ "hash": "dC5o+V5YW+fw6rPNA77rEQ=="
}
},
- "is_incremental": false,
+ "is_incremental": true,
"version": ""
},
{
@@ -180,7 +180,7 @@
"hash": "7L6Ej6GSdK8o2rUEm+xhLA=="
}
},
- "is_incremental": false,
+ "is_incremental": true,
"version": ""
},
{
diff --git a/docs/xrefmap.yml b/docs/xrefmap.yml
index 4358f07..03527e9 100644
--- a/docs/xrefmap.yml
+++ b/docs/xrefmap.yml
@@ -101,24 +101,24 @@ references:
fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis)
nameWithType: ExpressiveCommandBase
nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis)
-- uid: Open.Database.Extensions.ExpressiveCommandBase`4.#ctor(`0,System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
- name: ExpressiveCommandBase(TConnection, CommandType, String, List.Param>)
- href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4__ctor__0_System_Data_CommandType_System_String_System_Collections_Generic_List_Open_Database_Extensions_ExpressiveCommandBase__0__1__2__3__Param__
- commentId: M:Open.Database.Extensions.ExpressiveCommandBase`4.#ctor(`0,System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
- name.vb: ExpressiveCommandBase(TConnection, CommandType, String, List(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- fullName: Open.Database.Extensions.ExpressiveCommandBase.ExpressiveCommandBase(TConnection, System.Data.CommandType, System.String, System.Collections.Generic.List.Param>)
- fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveCommandBase(TConnection, System.Data.CommandType, System.String, System.Collections.Generic.List(Of Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- nameWithType: ExpressiveCommandBase.ExpressiveCommandBase(TConnection, CommandType, String, List.Param>)
- nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveCommandBase(TConnection, CommandType, String, List(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
-- uid: Open.Database.Extensions.ExpressiveCommandBase`4.#ctor(Open.Database.Extensions.IDbConnectionFactory{`0},System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
- name: ExpressiveCommandBase(IDbConnectionFactory, CommandType, String, List.Param>)
- href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4__ctor_Open_Database_Extensions_IDbConnectionFactory__0__System_Data_CommandType_System_String_System_Collections_Generic_List_Open_Database_Extensions_ExpressiveCommandBase__0__1__2__3__Param__
- commentId: M:Open.Database.Extensions.ExpressiveCommandBase`4.#ctor(Open.Database.Extensions.IDbConnectionFactory{`0},System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
- name.vb: ExpressiveCommandBase(IDbConnectionFactory(Of TConnection), CommandType, String, List(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- fullName: Open.Database.Extensions.ExpressiveCommandBase.ExpressiveCommandBase(Open.Database.Extensions.IDbConnectionFactory, System.Data.CommandType, System.String, System.Collections.Generic.List.Param>)
- fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveCommandBase(Open.Database.Extensions.IDbConnectionFactory(Of TConnection), System.Data.CommandType, System.String, System.Collections.Generic.List(Of Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- nameWithType: ExpressiveCommandBase.ExpressiveCommandBase(IDbConnectionFactory, CommandType, String, List.Param>)
- nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveCommandBase(IDbConnectionFactory(Of TConnection), CommandType, String, List(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+- uid: Open.Database.Extensions.ExpressiveCommandBase`4.#ctor(`0,System.Data.IDbTransaction,System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
+ name: ExpressiveCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable.Param>)
+ href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4__ctor__0_System_Data_IDbTransaction_System_Data_CommandType_System_String_System_Collections_Generic_IEnumerable_Open_Database_Extensions_ExpressiveCommandBase__0__1__2__3__Param__
+ commentId: M:Open.Database.Extensions.ExpressiveCommandBase`4.#ctor(`0,System.Data.IDbTransaction,System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
+ name.vb: ExpressiveCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+ fullName: Open.Database.Extensions.ExpressiveCommandBase.ExpressiveCommandBase(TConnection, System.Data.IDbTransaction, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable.Param>)
+ fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveCommandBase(TConnection, System.Data.IDbTransaction, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable(Of Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+ nameWithType: ExpressiveCommandBase.ExpressiveCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable.Param>)
+ nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+- uid: Open.Database.Extensions.ExpressiveCommandBase`4.#ctor(Open.Database.Extensions.IDbConnectionFactory{`0},System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
+ name: ExpressiveCommandBase(IDbConnectionFactory, CommandType, String, IEnumerable.Param>)
+ href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4__ctor_Open_Database_Extensions_IDbConnectionFactory__0__System_Data_CommandType_System_String_System_Collections_Generic_IEnumerable_Open_Database_Extensions_ExpressiveCommandBase__0__1__2__3__Param__
+ commentId: M:Open.Database.Extensions.ExpressiveCommandBase`4.#ctor(Open.Database.Extensions.IDbConnectionFactory{`0},System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
+ name.vb: ExpressiveCommandBase(IDbConnectionFactory(Of TConnection), CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+ fullName: Open.Database.Extensions.ExpressiveCommandBase.ExpressiveCommandBase(Open.Database.Extensions.IDbConnectionFactory, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable.Param>)
+ fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveCommandBase(Open.Database.Extensions.IDbConnectionFactory(Of TConnection), System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable(Of Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+ nameWithType: ExpressiveCommandBase.ExpressiveCommandBase(IDbConnectionFactory, CommandType, String, IEnumerable.Param>)
+ nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveCommandBase(IDbConnectionFactory(Of TConnection), CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- uid: Open.Database.Extensions.ExpressiveCommandBase`4.#ctor*
name: ExpressiveCommandBase
href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4__ctor_
@@ -1013,6 +1013,14 @@ references:
fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ToTargetBlock(Of T)(System.Threading.Tasks.Dataflow.ITargetBlock(Of T), System.Func(Of System.Data.IDataRecord, T))
nameWithType: ExpressiveCommandBase.ToTargetBlock(ITargetBlock, Func)
nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).ToTargetBlock(Of T)(ITargetBlock(Of T), Func(Of IDataRecord, T))
+- uid: Open.Database.Extensions.ExpressiveCommandBase`4.Transaction
+ name: Transaction
+ href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4_Transaction
+ commentId: F:Open.Database.Extensions.ExpressiveCommandBase`4.Transaction
+ fullName: Open.Database.Extensions.ExpressiveCommandBase.Transaction
+ fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Transaction
+ nameWithType: ExpressiveCommandBase.Transaction
+ nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Transaction
- uid: Open.Database.Extensions.ExpressiveCommandBase`4.Type
name: Type
href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4_Type
@@ -1030,15 +1038,15 @@ references:
fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Type
nameWithType: ExpressiveCommandBase.Type
nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Type
-- uid: Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection(System.Action{`0})
- name: UsingConnection(Action)
- href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4_UsingConnection_System_Action__0__
- commentId: M:Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection(System.Action{`0})
- name.vb: UsingConnection(Action(Of TConnection))
- fullName: Open.Database.Extensions.ExpressiveCommandBase.UsingConnection(System.Action)
- fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection(System.Action(Of TConnection))
- nameWithType: ExpressiveCommandBase.UsingConnection(Action)
- nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection(Action(Of TConnection))
+- uid: Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection(System.Action{`0,System.Data.IDbTransaction})
+ name: UsingConnection(Action)
+ href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4_UsingConnection_System_Action__0_System_Data_IDbTransaction__
+ commentId: M:Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection(System.Action{`0,System.Data.IDbTransaction})
+ name.vb: UsingConnection(Action(Of TConnection, IDbTransaction))
+ fullName: Open.Database.Extensions.ExpressiveCommandBase.UsingConnection(System.Action)
+ fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection(System.Action(Of TConnection, System.Data.IDbTransaction))
+ nameWithType: ExpressiveCommandBase.UsingConnection(Action)
+ nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection(Action(Of TConnection, IDbTransaction))
- uid: Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection*
name: UsingConnection
href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4_UsingConnection_
@@ -1048,57 +1056,39 @@ references:
fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection
nameWithType: ExpressiveCommandBase.UsingConnection
nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection
-- uid: Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection``1(System.Func{`0,``0})
- name: UsingConnection(Func)
- href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4_UsingConnection__1_System_Func__0___0__
- commentId: M:Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection``1(System.Func{`0,``0})
- name.vb: UsingConnection(Of T)(Func(Of TConnection, T))
- fullName: Open.Database.Extensions.ExpressiveCommandBase.UsingConnection(System.Func)
- fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection(Of T)(System.Func(Of TConnection, T))
- nameWithType: ExpressiveCommandBase.UsingConnection(Func)
- nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection(Of T)(Func(Of TConnection, T))
+- uid: Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection``1(System.Func{`0,System.Data.IDbTransaction,``0})
+ name: UsingConnection(Func)
+ href: api/Open.Database.Extensions.ExpressiveCommandBase-4.html#Open_Database_Extensions_ExpressiveCommandBase_4_UsingConnection__1_System_Func__0_System_Data_IDbTransaction___0__
+ commentId: M:Open.Database.Extensions.ExpressiveCommandBase`4.UsingConnection``1(System.Func{`0,System.Data.IDbTransaction,``0})
+ name.vb: UsingConnection(Of T)(Func(Of TConnection, IDbTransaction, T))
+ fullName: Open.Database.Extensions.ExpressiveCommandBase.UsingConnection(System.Func)
+ fullName.vb: Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection(Of T)(System.Func(Of TConnection, System.Data.IDbTransaction, T))
+ nameWithType: ExpressiveCommandBase.UsingConnection(Func)
+ nameWithType.vb: ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).UsingConnection(Of T)(Func(Of TConnection, IDbTransaction, T))
- uid: Open.Database.Extensions.ExpressiveDbCommand
name: ExpressiveDbCommand
href: api/Open.Database.Extensions.ExpressiveDbCommand.html
commentId: T:Open.Database.Extensions.ExpressiveDbCommand
fullName: Open.Database.Extensions.ExpressiveDbCommand
nameWithType: ExpressiveDbCommand
-- uid: Open.Database.Extensions.ExpressiveDbCommand.#ctor(Open.Database.Extensions.IDbConnectionFactory{System.Data.Common.DbConnection},System.Data.CommandType,System.String,Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param[])
- name: ExpressiveDbCommand(IDbConnectionFactory, CommandType, String, ExpressiveCommandBase.Param[])
- href: api/Open.Database.Extensions.ExpressiveDbCommand.html#Open_Database_Extensions_ExpressiveDbCommand__ctor_Open_Database_Extensions_IDbConnectionFactory_System_Data_Common_DbConnection__System_Data_CommandType_System_String_Open_Database_Extensions_ExpressiveCommandBase_System_Data_Common_DbConnection_System_Data_Common_DbCommand_System_Data_DbType_Open_Database_Extensions_ExpressiveDbCommand__Param___
- commentId: M:Open.Database.Extensions.ExpressiveDbCommand.#ctor(Open.Database.Extensions.IDbConnectionFactory{System.Data.Common.DbConnection},System.Data.CommandType,System.String,Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param[])
- name.vb: ExpressiveDbCommand(IDbConnectionFactory(Of DbConnection), CommandType, String, ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param())
- fullName: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(Open.Database.Extensions.IDbConnectionFactory, System.Data.CommandType, System.String, Open.Database.Extensions.ExpressiveCommandBase.Param[])
- fullName.vb: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(Open.Database.Extensions.IDbConnectionFactory(Of System.Data.Common.DbConnection), System.Data.CommandType, System.String, Open.Database.Extensions.ExpressiveCommandBase(Of System.Data.Common.DbConnection, System.Data.Common.DbCommand, System.Data.DbType, Open.Database.Extensions.ExpressiveDbCommand).Param())
- nameWithType: ExpressiveDbCommand.ExpressiveDbCommand(IDbConnectionFactory, CommandType, String, ExpressiveCommandBase.Param[])
- nameWithType.vb: ExpressiveDbCommand.ExpressiveDbCommand(IDbConnectionFactory(Of DbConnection), CommandType, String, ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param())
-- uid: Open.Database.Extensions.ExpressiveDbCommand.#ctor(Open.Database.Extensions.IDbConnectionFactory{System.Data.Common.DbConnection},System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param})
- name: ExpressiveDbCommand(IDbConnectionFactory, CommandType, String, List.Param>)
- href: api/Open.Database.Extensions.ExpressiveDbCommand.html#Open_Database_Extensions_ExpressiveDbCommand__ctor_Open_Database_Extensions_IDbConnectionFactory_System_Data_Common_DbConnection__System_Data_CommandType_System_String_System_Collections_Generic_List_Open_Database_Extensions_ExpressiveCommandBase_System_Data_Common_DbConnection_System_Data_Common_DbCommand_System_Data_DbType_Open_Database_Extensions_ExpressiveDbCommand__Param__
- commentId: M:Open.Database.Extensions.ExpressiveDbCommand.#ctor(Open.Database.Extensions.IDbConnectionFactory{System.Data.Common.DbConnection},System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param})
- name.vb: ExpressiveDbCommand(IDbConnectionFactory(Of DbConnection), CommandType, String, List(Of ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param))
- fullName: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(Open.Database.Extensions.IDbConnectionFactory, System.Data.CommandType, System.String, System.Collections.Generic.List.Param>)
- fullName.vb: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(Open.Database.Extensions.IDbConnectionFactory(Of System.Data.Common.DbConnection), System.Data.CommandType, System.String, System.Collections.Generic.List(Of Open.Database.Extensions.ExpressiveCommandBase(Of System.Data.Common.DbConnection, System.Data.Common.DbCommand, System.Data.DbType, Open.Database.Extensions.ExpressiveDbCommand).Param))
- nameWithType: ExpressiveDbCommand.ExpressiveDbCommand(IDbConnectionFactory, CommandType, String, List.Param>)
- nameWithType.vb: ExpressiveDbCommand.ExpressiveDbCommand(IDbConnectionFactory(Of DbConnection), CommandType, String, List(Of ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param))
-- uid: Open.Database.Extensions.ExpressiveDbCommand.#ctor(System.Data.Common.DbConnection,System.Data.CommandType,System.String,Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param[])
- name: ExpressiveDbCommand(DbConnection, CommandType, String, ExpressiveCommandBase.Param[])
- href: api/Open.Database.Extensions.ExpressiveDbCommand.html#Open_Database_Extensions_ExpressiveDbCommand__ctor_System_Data_Common_DbConnection_System_Data_CommandType_System_String_Open_Database_Extensions_ExpressiveCommandBase_System_Data_Common_DbConnection_System_Data_Common_DbCommand_System_Data_DbType_Open_Database_Extensions_ExpressiveDbCommand__Param___
- commentId: M:Open.Database.Extensions.ExpressiveDbCommand.#ctor(System.Data.Common.DbConnection,System.Data.CommandType,System.String,Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param[])
- name.vb: ExpressiveDbCommand(DbConnection, CommandType, String, ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param())
- fullName: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(System.Data.Common.DbConnection, System.Data.CommandType, System.String, Open.Database.Extensions.ExpressiveCommandBase.Param[])
- fullName.vb: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(System.Data.Common.DbConnection, System.Data.CommandType, System.String, Open.Database.Extensions.ExpressiveCommandBase(Of System.Data.Common.DbConnection, System.Data.Common.DbCommand, System.Data.DbType, Open.Database.Extensions.ExpressiveDbCommand).Param())
- nameWithType: ExpressiveDbCommand.ExpressiveDbCommand(DbConnection, CommandType, String, ExpressiveCommandBase.Param[])
- nameWithType.vb: ExpressiveDbCommand.ExpressiveDbCommand(DbConnection, CommandType, String, ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param())
-- uid: Open.Database.Extensions.ExpressiveDbCommand.#ctor(System.Data.Common.DbConnection,System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param})
- name: ExpressiveDbCommand(DbConnection, CommandType, String, List.Param>)
- href: api/Open.Database.Extensions.ExpressiveDbCommand.html#Open_Database_Extensions_ExpressiveDbCommand__ctor_System_Data_Common_DbConnection_System_Data_CommandType_System_String_System_Collections_Generic_List_Open_Database_Extensions_ExpressiveCommandBase_System_Data_Common_DbConnection_System_Data_Common_DbCommand_System_Data_DbType_Open_Database_Extensions_ExpressiveDbCommand__Param__
- commentId: M:Open.Database.Extensions.ExpressiveDbCommand.#ctor(System.Data.Common.DbConnection,System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param})
- name.vb: ExpressiveDbCommand(DbConnection, CommandType, String, List(Of ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param))
- fullName: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(System.Data.Common.DbConnection, System.Data.CommandType, System.String, System.Collections.Generic.List.Param>)
- fullName.vb: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(System.Data.Common.DbConnection, System.Data.CommandType, System.String, System.Collections.Generic.List(Of Open.Database.Extensions.ExpressiveCommandBase(Of System.Data.Common.DbConnection, System.Data.Common.DbCommand, System.Data.DbType, Open.Database.Extensions.ExpressiveDbCommand).Param))
- nameWithType: ExpressiveDbCommand.ExpressiveDbCommand(DbConnection, CommandType, String, List.Param>)
- nameWithType.vb: ExpressiveDbCommand.ExpressiveDbCommand(DbConnection, CommandType, String, List(Of ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param))
+- uid: Open.Database.Extensions.ExpressiveDbCommand.#ctor(Open.Database.Extensions.IDbConnectionFactory{System.Data.Common.DbConnection},System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param})
+ name: ExpressiveDbCommand(IDbConnectionFactory, CommandType, String, IEnumerable.Param>)
+ href: api/Open.Database.Extensions.ExpressiveDbCommand.html#Open_Database_Extensions_ExpressiveDbCommand__ctor_Open_Database_Extensions_IDbConnectionFactory_System_Data_Common_DbConnection__System_Data_CommandType_System_String_System_Collections_Generic_IEnumerable_Open_Database_Extensions_ExpressiveCommandBase_System_Data_Common_DbConnection_System_Data_Common_DbCommand_System_Data_DbType_Open_Database_Extensions_ExpressiveDbCommand__Param__
+ commentId: M:Open.Database.Extensions.ExpressiveDbCommand.#ctor(Open.Database.Extensions.IDbConnectionFactory{System.Data.Common.DbConnection},System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param})
+ name.vb: ExpressiveDbCommand(IDbConnectionFactory(Of DbConnection), CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param))
+ fullName: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(Open.Database.Extensions.IDbConnectionFactory, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable.Param>)
+ fullName.vb: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(Open.Database.Extensions.IDbConnectionFactory(Of System.Data.Common.DbConnection), System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable(Of Open.Database.Extensions.ExpressiveCommandBase(Of System.Data.Common.DbConnection, System.Data.Common.DbCommand, System.Data.DbType, Open.Database.Extensions.ExpressiveDbCommand).Param))
+ nameWithType: ExpressiveDbCommand.ExpressiveDbCommand(IDbConnectionFactory, CommandType, String, IEnumerable.Param>)
+ nameWithType.vb: ExpressiveDbCommand.ExpressiveDbCommand(IDbConnectionFactory(Of DbConnection), CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param))
+- uid: Open.Database.Extensions.ExpressiveDbCommand.#ctor(System.Data.Common.DbConnection,System.Data.Common.DbTransaction,System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param})
+ name: ExpressiveDbCommand(DbConnection, DbTransaction, CommandType, String, IEnumerable.Param>)
+ href: api/Open.Database.Extensions.ExpressiveDbCommand.html#Open_Database_Extensions_ExpressiveDbCommand__ctor_System_Data_Common_DbConnection_System_Data_Common_DbTransaction_System_Data_CommandType_System_String_System_Collections_Generic_IEnumerable_Open_Database_Extensions_ExpressiveCommandBase_System_Data_Common_DbConnection_System_Data_Common_DbCommand_System_Data_DbType_Open_Database_Extensions_ExpressiveDbCommand__Param__
+ commentId: M:Open.Database.Extensions.ExpressiveDbCommand.#ctor(System.Data.Common.DbConnection,System.Data.Common.DbTransaction,System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{System.Data.Common.DbConnection,System.Data.Common.DbCommand,System.Data.DbType,Open.Database.Extensions.ExpressiveDbCommand}.Param})
+ name.vb: ExpressiveDbCommand(DbConnection, DbTransaction, CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param))
+ fullName: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(System.Data.Common.DbConnection, System.Data.Common.DbTransaction, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable.Param>)
+ fullName.vb: Open.Database.Extensions.ExpressiveDbCommand.ExpressiveDbCommand(System.Data.Common.DbConnection, System.Data.Common.DbTransaction, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable(Of Open.Database.Extensions.ExpressiveCommandBase(Of System.Data.Common.DbConnection, System.Data.Common.DbCommand, System.Data.DbType, Open.Database.Extensions.ExpressiveDbCommand).Param))
+ nameWithType: ExpressiveDbCommand.ExpressiveDbCommand(DbConnection, DbTransaction, CommandType, String, IEnumerable.Param>)
+ nameWithType.vb: ExpressiveDbCommand.ExpressiveDbCommand(DbConnection, DbTransaction, CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of DbConnection, DbCommand, DbType, ExpressiveDbCommand).Param))
- uid: Open.Database.Extensions.ExpressiveDbCommand.#ctor*
name: ExpressiveDbCommand
href: api/Open.Database.Extensions.ExpressiveDbCommand.html#Open_Database_Extensions_ExpressiveDbCommand__ctor_
@@ -1128,24 +1118,24 @@ references:
fullName.vb: Open.Database.Extensions.ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis)
nameWithType: ExpressiveDbCommandBase
nameWithType.vb: ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis)
-- uid: Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor(`0,System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
- name: ExpressiveDbCommandBase(TConnection, CommandType, String, List.Param>)
- href: api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html#Open_Database_Extensions_ExpressiveDbCommandBase_4__ctor__0_System_Data_CommandType_System_String_System_Collections_Generic_List_Open_Database_Extensions_ExpressiveCommandBase__0__1__2__3__Param__
- commentId: M:Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor(`0,System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
- name.vb: ExpressiveDbCommandBase(TConnection, CommandType, String, List(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- fullName: Open.Database.Extensions.ExpressiveDbCommandBase.ExpressiveDbCommandBase(TConnection, System.Data.CommandType, System.String, System.Collections.Generic.List.Param>)
- fullName.vb: Open.Database.Extensions.ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveDbCommandBase(TConnection, System.Data.CommandType, System.String, System.Collections.Generic.List(Of Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- nameWithType: ExpressiveDbCommandBase.ExpressiveDbCommandBase(TConnection, CommandType, String, List.Param>)
- nameWithType.vb: ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveDbCommandBase(TConnection, CommandType, String, List(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
-- uid: Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor(Open.Database.Extensions.IDbConnectionFactory{`0},System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
- name: ExpressiveDbCommandBase(IDbConnectionFactory, CommandType, String, List.Param>)
- href: api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html#Open_Database_Extensions_ExpressiveDbCommandBase_4__ctor_Open_Database_Extensions_IDbConnectionFactory__0__System_Data_CommandType_System_String_System_Collections_Generic_List_Open_Database_Extensions_ExpressiveCommandBase__0__1__2__3__Param__
- commentId: M:Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor(Open.Database.Extensions.IDbConnectionFactory{`0},System.Data.CommandType,System.String,System.Collections.Generic.List{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
- name.vb: ExpressiveDbCommandBase(IDbConnectionFactory(Of TConnection), CommandType, String, List(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- fullName: Open.Database.Extensions.ExpressiveDbCommandBase.ExpressiveDbCommandBase(Open.Database.Extensions.IDbConnectionFactory, System.Data.CommandType, System.String, System.Collections.Generic.List.Param>)
- fullName.vb: Open.Database.Extensions.ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveDbCommandBase(Open.Database.Extensions.IDbConnectionFactory(Of TConnection), System.Data.CommandType, System.String, System.Collections.Generic.List(Of Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- nameWithType: ExpressiveDbCommandBase.ExpressiveDbCommandBase(IDbConnectionFactory, CommandType, String, List.Param>)
- nameWithType.vb: ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveDbCommandBase(IDbConnectionFactory(Of TConnection), CommandType, String, List(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+- uid: Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor(`0,System.Data.IDbTransaction,System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
+ name: ExpressiveDbCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable.Param>)
+ href: api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html#Open_Database_Extensions_ExpressiveDbCommandBase_4__ctor__0_System_Data_IDbTransaction_System_Data_CommandType_System_String_System_Collections_Generic_IEnumerable_Open_Database_Extensions_ExpressiveCommandBase__0__1__2__3__Param__
+ commentId: M:Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor(`0,System.Data.IDbTransaction,System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
+ name.vb: ExpressiveDbCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+ fullName: Open.Database.Extensions.ExpressiveDbCommandBase.ExpressiveDbCommandBase(TConnection, System.Data.IDbTransaction, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable.Param>)
+ fullName.vb: Open.Database.Extensions.ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveDbCommandBase(TConnection, System.Data.IDbTransaction, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable(Of Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+ nameWithType: ExpressiveDbCommandBase.ExpressiveDbCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable.Param>)
+ nameWithType.vb: ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveDbCommandBase(TConnection, IDbTransaction, CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+- uid: Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor(Open.Database.Extensions.IDbConnectionFactory{`0},System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
+ name: ExpressiveDbCommandBase(IDbConnectionFactory, CommandType, String, IEnumerable.Param>)
+ href: api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html#Open_Database_Extensions_ExpressiveDbCommandBase_4__ctor_Open_Database_Extensions_IDbConnectionFactory__0__System_Data_CommandType_System_String_System_Collections_Generic_IEnumerable_Open_Database_Extensions_ExpressiveCommandBase__0__1__2__3__Param__
+ commentId: M:Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor(Open.Database.Extensions.IDbConnectionFactory{`0},System.Data.CommandType,System.String,System.Collections.Generic.IEnumerable{Open.Database.Extensions.ExpressiveCommandBase{`0,`1,`2,`3}.Param})
+ name.vb: ExpressiveDbCommandBase(IDbConnectionFactory(Of TConnection), CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+ fullName: Open.Database.Extensions.ExpressiveDbCommandBase.ExpressiveDbCommandBase(Open.Database.Extensions.IDbConnectionFactory, System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable.Param>)
+ fullName.vb: Open.Database.Extensions.ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveDbCommandBase(Open.Database.Extensions.IDbConnectionFactory(Of TConnection), System.Data.CommandType, System.String, System.Collections.Generic.IEnumerable(Of Open.Database.Extensions.ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
+ nameWithType: ExpressiveDbCommandBase.ExpressiveDbCommandBase(IDbConnectionFactory, CommandType, String, IEnumerable.Param>)
+ nameWithType.vb: ExpressiveDbCommandBase(Of TConnection, TCommand, TDbType, TThis).ExpressiveDbCommandBase(IDbConnectionFactory(Of TConnection), CommandType, String, IEnumerable(Of ExpressiveCommandBase(Of TConnection, TCommand, TDbType, TThis).Param))
- uid: Open.Database.Extensions.ExpressiveDbCommandBase`4.#ctor*
name: ExpressiveDbCommandBase
href: api/Open.Database.Extensions.ExpressiveDbCommandBase-4.html#Open_Database_Extensions_ExpressiveDbCommandBase_4__ctor_
@@ -1654,6 +1644,12 @@ references:
commentId: M:Open.Database.Extensions.Extensions.Command(System.Data.Common.DbConnection,System.String,System.Data.CommandType)
fullName: Open.Database.Extensions.Extensions.Command(System.Data.Common.DbConnection, System.String, System.Data.CommandType)
nameWithType: Extensions.Command(DbConnection, String, CommandType)
+- uid: Open.Database.Extensions.Extensions.Command(System.Data.Common.DbTransaction,System.String,System.Data.CommandType)
+ name: Command(DbTransaction, String, CommandType)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_Command_System_Data_Common_DbTransaction_System_String_System_Data_CommandType_
+ commentId: M:Open.Database.Extensions.Extensions.Command(System.Data.Common.DbTransaction,System.String,System.Data.CommandType)
+ fullName: Open.Database.Extensions.Extensions.Command(System.Data.Common.DbTransaction, System.String, System.Data.CommandType)
+ nameWithType: Extensions.Command(DbTransaction, String, CommandType)
- uid: Open.Database.Extensions.Extensions.Command(System.Func{System.Data.Common.DbConnection},System.String,System.Data.CommandType)
name: Command(Func, String, CommandType)
href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_Command_System_Func_System_Data_Common_DbConnection__System_String_System_Data_CommandType_
@@ -1676,12 +1672,24 @@ references:
commentId: M:Open.Database.Extensions.Extensions.CreateCommand(System.Data.Common.DbConnection,System.Data.CommandType,System.String,System.Int32)
fullName: Open.Database.Extensions.Extensions.CreateCommand(System.Data.Common.DbConnection, System.Data.CommandType, System.String, System.Int32)
nameWithType: Extensions.CreateCommand(DbConnection, CommandType, String, Int32)
+- uid: Open.Database.Extensions.Extensions.CreateCommand(System.Data.Common.DbTransaction,System.Data.CommandType,System.String,System.Int32)
+ name: CreateCommand(DbTransaction, CommandType, String, Int32)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateCommand_System_Data_Common_DbTransaction_System_Data_CommandType_System_String_System_Int32_
+ commentId: M:Open.Database.Extensions.Extensions.CreateCommand(System.Data.Common.DbTransaction,System.Data.CommandType,System.String,System.Int32)
+ fullName: Open.Database.Extensions.Extensions.CreateCommand(System.Data.Common.DbTransaction, System.Data.CommandType, System.String, System.Int32)
+ nameWithType: Extensions.CreateCommand(DbTransaction, CommandType, String, Int32)
- uid: Open.Database.Extensions.Extensions.CreateCommand(System.Data.IDbConnection,System.Data.CommandType,System.String,System.Int32)
name: CreateCommand(IDbConnection, CommandType, String, Int32)
href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateCommand_System_Data_IDbConnection_System_Data_CommandType_System_String_System_Int32_
commentId: M:Open.Database.Extensions.Extensions.CreateCommand(System.Data.IDbConnection,System.Data.CommandType,System.String,System.Int32)
fullName: Open.Database.Extensions.Extensions.CreateCommand(System.Data.IDbConnection, System.Data.CommandType, System.String, System.Int32)
nameWithType: Extensions.CreateCommand(IDbConnection, CommandType, String, Int32)
+- uid: Open.Database.Extensions.Extensions.CreateCommand(System.Data.IDbTransaction,System.Data.CommandType,System.String,System.Int32)
+ name: CreateCommand(IDbTransaction, CommandType, String, Int32)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateCommand_System_Data_IDbTransaction_System_Data_CommandType_System_String_System_Int32_
+ commentId: M:Open.Database.Extensions.Extensions.CreateCommand(System.Data.IDbTransaction,System.Data.CommandType,System.String,System.Int32)
+ fullName: Open.Database.Extensions.Extensions.CreateCommand(System.Data.IDbTransaction, System.Data.CommandType, System.String, System.Int32)
+ nameWithType: Extensions.CreateCommand(IDbTransaction, CommandType, String, Int32)
- uid: Open.Database.Extensions.Extensions.CreateCommand*
name: CreateCommand
href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateCommand_
@@ -1695,12 +1703,24 @@ references:
commentId: M:Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.Common.DbConnection,System.String,System.Int32)
fullName: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.Common.DbConnection, System.String, System.Int32)
nameWithType: Extensions.CreateStoredProcedureCommand(DbConnection, String, Int32)
+- uid: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.Common.DbTransaction,System.String,System.Int32)
+ name: CreateStoredProcedureCommand(DbTransaction, String, Int32)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateStoredProcedureCommand_System_Data_Common_DbTransaction_System_String_System_Int32_
+ commentId: M:Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.Common.DbTransaction,System.String,System.Int32)
+ fullName: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.Common.DbTransaction, System.String, System.Int32)
+ nameWithType: Extensions.CreateStoredProcedureCommand(DbTransaction, String, Int32)
- uid: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.IDbConnection,System.String,System.Int32)
name: CreateStoredProcedureCommand(IDbConnection, String, Int32)
href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateStoredProcedureCommand_System_Data_IDbConnection_System_String_System_Int32_
commentId: M:Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.IDbConnection,System.String,System.Int32)
fullName: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.IDbConnection, System.String, System.Int32)
nameWithType: Extensions.CreateStoredProcedureCommand(IDbConnection, String, Int32)
+- uid: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.IDbTransaction,System.String,System.Int32)
+ name: CreateStoredProcedureCommand(IDbTransaction, String, Int32)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateStoredProcedureCommand_System_Data_IDbTransaction_System_String_System_Int32_
+ commentId: M:Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.IDbTransaction,System.String,System.Int32)
+ fullName: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand(System.Data.IDbTransaction, System.String, System.Int32)
+ nameWithType: Extensions.CreateStoredProcedureCommand(IDbTransaction, String, Int32)
- uid: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand*
name: CreateStoredProcedureCommand
href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateStoredProcedureCommand_
@@ -1708,6 +1728,37 @@ references:
isSpec: "True"
fullName: Open.Database.Extensions.Extensions.CreateStoredProcedureCommand
nameWithType: Extensions.CreateStoredProcedureCommand
+- uid: Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.Common.DbConnection,System.String,System.Int32)
+ name: CreateTextCommand(DbConnection, String, Int32)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateTextCommand_System_Data_Common_DbConnection_System_String_System_Int32_
+ commentId: M:Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.Common.DbConnection,System.String,System.Int32)
+ fullName: Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.Common.DbConnection, System.String, System.Int32)
+ nameWithType: Extensions.CreateTextCommand(DbConnection, String, Int32)
+- uid: Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.Common.DbTransaction,System.String,System.Int32)
+ name: CreateTextCommand(DbTransaction, String, Int32)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateTextCommand_System_Data_Common_DbTransaction_System_String_System_Int32_
+ commentId: M:Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.Common.DbTransaction,System.String,System.Int32)
+ fullName: Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.Common.DbTransaction, System.String, System.Int32)
+ nameWithType: Extensions.CreateTextCommand(DbTransaction, String, Int32)
+- uid: Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.IDbConnection,System.String,System.Int32)
+ name: CreateTextCommand(IDbConnection, String, Int32)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateTextCommand_System_Data_IDbConnection_System_String_System_Int32_
+ commentId: M:Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.IDbConnection,System.String,System.Int32)
+ fullName: Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.IDbConnection, System.String, System.Int32)
+ nameWithType: Extensions.CreateTextCommand(IDbConnection, String, Int32)
+- uid: Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.IDbTransaction,System.String,System.Int32)
+ name: CreateTextCommand(IDbTransaction, String, Int32)
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateTextCommand_System_Data_IDbTransaction_System_String_System_Int32_
+ commentId: M:Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.IDbTransaction,System.String,System.Int32)
+ fullName: Open.Database.Extensions.Extensions.CreateTextCommand(System.Data.IDbTransaction, System.String, System.Int32)
+ nameWithType: Extensions.CreateTextCommand(IDbTransaction, String, Int32)
+- uid: Open.Database.Extensions.Extensions.CreateTextCommand*
+ name: CreateTextCommand
+ href: api/Open.Database.Extensions.Extensions.html#Open_Database_Extensions_Extensions_CreateTextCommand_
+ commentId: Overload:Open.Database.Extensions.Extensions.CreateTextCommand
+ isSpec: "True"
+ fullName: Open.Database.Extensions.Extensions.CreateTextCommand
+ nameWithType: Extensions.CreateTextCommand
- uid: Open.Database.Extensions.Extensions.DBNullToNull(System.Collections.Generic.IEnumerable{System.Object})
name: DBNullToNull(IEnumerable