Interface INonQueryStoredProcedure<TParameters>
Provides an interface to execute non query stored procedures.
Inherited Members
Namespace: Paradigm.ORM.Data.StoredProcedures
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface INonQueryStoredProcedure<in TParameters> : IRoutine, IDisposable
Type Parameters
Name | Description |
---|---|
TParameters | The type of the parameters. |
Remarks
Instead of sending individual parameters to the procedure, the orm expects a
Methods
| Improve this Doc View SourceExecuteNonQuery(TParameters)
Executes the stored procedure as a non query.
Declaration
int ExecuteNonQuery(TParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
TParameters | parameters | The parameters. |
Returns
Type | Description |
---|---|
System.Int32 | Number of affected rows. |
ExecuteNonQueryAsync(TParameters)
Executes the stored procedure as a non query.
Declaration
Task<int> ExecuteNonQueryAsync(TParameters parameters)
Parameters
Type | Name | Description |
---|---|---|
TParameters | parameters | The parameters. |
Returns
Type | Description |
---|---|
Task<System.Int32> | Number of affected rows. |