Class DB.ProceduresCollection
Inheritance
System.Object
DB.ProceduresCollection
Assembly: Natec.Entities.dll
Syntax
public class ProceduresCollection : Object
Methods
CallProcedure(String, DynamicParameters, Nullable<Int32>)
Declaration
public void CallProcedure(string storedProcedureName, DynamicParameters parameter, Nullable<int> timeOut = null)
Parameters
Type |
Name |
Description |
System.String |
storedProcedureName |
|
Dapper.DynamicParameters |
parameter |
|
System.Nullable<System.Int32> |
timeOut |
|
CallProcedure<T>(T, Nullable<Int32>)
Declaration
public void CallProcedure<T>(T cpm, Nullable<int> commandTimeOut = null)
where T : class, ICallProcedureModel<T>
Parameters
Type |
Name |
Description |
T |
cpm |
|
System.Nullable<System.Int32> |
commandTimeOut |
|
Type Parameters
CallProcedureAsync(String, DynamicParameters, Nullable<Int32>)
Declaration
public Task CallProcedureAsync(string storedProcedureName, DynamicParameters parameter, Nullable<int> timeOut = null)
Parameters
Type |
Name |
Description |
System.String |
storedProcedureName |
|
Dapper.DynamicParameters |
parameter |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
CallProcedureAsync<T>(T, Nullable<Int32>)
Declaration
public Task CallProcedureAsync<T>(T cpm, Nullable<int> commandTimeOut = null)
where T : class, ICallProcedureModel<T>
Parameters
Type |
Name |
Description |
T |
cpm |
|
System.Nullable<System.Int32> |
commandTimeOut |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
CallRequestResponse<T, TOut>(T, Nullable<Int32>)
Declaration
public TOut CallRequestResponse<T, TOut>(T cpm, Nullable<int> timeOut = null)
where T : class, ICallProcedureModel<T> where TOut : class, ICallProcedureModel<TOut>
Parameters
Type |
Name |
Description |
T |
cpm |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type Parameters
CallRequestResponseAsync<T, TOut>(T, Nullable<Int32>)
Declaration
public Task<TOut> CallRequestResponseAsync<T, TOut>(T cpm, Nullable<int> timeOut = null)
where T : class, ICallProcedureModel<T> where TOut : class
Parameters
Type |
Name |
Description |
T |
cpm |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TOut> |
|
Type Parameters
CallRequestResponseModelTemplated<T, TOut>(T, Nullable<Int32>)
Declaration
public TOut CallRequestResponseModelTemplated<T, TOut>(T cpm, Nullable<int> timeOut = null)
where T : class, ICallProcedureModel<T> where TOut : class
Parameters
Type |
Name |
Description |
T |
cpm |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type Parameters
CallRequestResponseModelTemplatedAsync<T, TOut>(T, Nullable<Int32>)
Declaration
public Task<TOut> CallRequestResponseModelTemplatedAsync<T, TOut>(T cpm, Nullable<int> timeOut = null)
where T : class, ICallProcedureModel<T> where TOut : class
Parameters
Type |
Name |
Description |
T |
cpm |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<TOut> |
|
Type Parameters
CallRequestResponseQuery<TInCallModel, TOutCallModel>(TInCallModel, out TOutCallModel, Nullable<Int32>)
Declaration
public IEnumerable<dynamic> CallRequestResponseQuery<TInCallModel, TOutCallModel>(TInCallModel inCallModel, out TOutCallModel outCallModel, Nullable<int> timeOut = null)
where TInCallModel : class, ICallProcedureModel<TInCallModel> where TOutCallModel : class
Parameters
Type |
Name |
Description |
TInCallModel |
inCallModel |
|
TOutCallModel |
outCallModel |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Object> |
|
Type Parameters
Name |
Description |
TInCallModel |
|
TOutCallModel |
|
CallRequestResponseQuery<T, TOut>(T, Func<Object, TOut>, Nullable<Int32>)
Declaration
public IEnumerable<TOut> CallRequestResponseQuery<T, TOut>(T cpm, Func<object, TOut> mapper, Nullable<int> timeOut = null)
where T : class, ICallProcedureModel<T>
Parameters
Type |
Name |
Description |
T |
cpm |
|
System.Func<System.Object, TOut> |
mapper |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<TOut> |
|
Type Parameters
CallRequestResponseQuery<TInCallModel, TOutCallModel>(TInCallModel, Nullable<Int32>)
Declaration
public ValueTuple<TOutCallModel, IEnumerable<dynamic>> CallRequestResponseQuery<TInCallModel, TOutCallModel>(TInCallModel inCallModel, Nullable<int> timeOut = null)
where TInCallModel : class, ICallProcedureModel<TInCallModel> where TOutCallModel : class
Parameters
Type |
Name |
Description |
TInCallModel |
inCallModel |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.ValueTuple<TOutCallModel, System.Collections.Generic.IEnumerable<System.Object>> |
|
Type Parameters
Name |
Description |
TInCallModel |
|
TOutCallModel |
|
CallRequestResponseQuery<TInCallModel, TOutCallModel, TOut>(TInCallModel, out TOutCallModel, Func<Object, TOut>, Nullable<Int32>)
Declaration
public IEnumerable<TOut> CallRequestResponseQuery<TInCallModel, TOutCallModel, TOut>(TInCallModel inCallModel, out TOutCallModel outCallModel, Func<dynamic, TOut> mapper, Nullable<int> timeOut = null)
where TInCallModel : class, ICallProcedureModel<TInCallModel> where TOutCallModel : class where TOut : class
Parameters
Type |
Name |
Description |
TInCallModel |
inCallModel |
|
TOutCallModel |
outCallModel |
|
System.Func<System.Object, TOut> |
mapper |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<TOut> |
|
Type Parameters
Name |
Description |
TInCallModel |
|
TOutCallModel |
|
TOut |
|
CallRequestResponseQuery<TInCallModel, TOutCallModel, TProcOut, TResOut>(TInCallModel, out TOutCallModel, Func<TProcOut, TResOut>, Nullable<Int32>)
Declaration
public IEnumerable<TResOut> CallRequestResponseQuery<TInCallModel, TOutCallModel, TProcOut, TResOut>(TInCallModel inCallModel, out TOutCallModel outCallModel, Func<TProcOut, TResOut> mapper = null, Nullable<int> timeOut = null)
where TInCallModel : class, ICallProcedureModel<TInCallModel> where TOutCallModel : class where TProcOut : class where TResOut : class
Parameters
Type |
Name |
Description |
TInCallModel |
inCallModel |
|
TOutCallModel |
outCallModel |
|
System.Func<TProcOut, TResOut> |
mapper |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<TResOut> |
|
Type Parameters
Name |
Description |
TInCallModel |
|
TOutCallModel |
|
TProcOut |
|
TResOut |
|
p_get_ListID(Nullable<Int64>, Nullable<Int32>)
Declaration
public IEnumerable<Nullable<long>> p_get_ListID(Nullable<long> lig_Id, Nullable<int> timeOut = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int64> |
lig_Id |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Nullable<System.Int64>> |
|
p_get_ServiceTaskData(p_get_ServiceTaskData_CallModel, Nullable<Int32>)
Declaration
public IEnumerable<p_get_ServiceTaskData_ResultModel> p_get_ServiceTaskData(p_get_ServiceTaskData_CallModel callModel, Nullable<int> timeOut = null)
Parameters
Returns
p_get_Tasks(p_get_Tasks_CallModel, Nullable<Int32>)
Declaration
public IEnumerable<p_get_Tasks_ResultModel> p_get_Tasks(p_get_Tasks_CallModel callModel, Nullable<int> timeOut = null)
Parameters
Returns
p_srh_get_ListID(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Declaration
public IEnumerable<Nullable<long>> p_srh_get_ListID(Nullable<int> lig_Id, Nullable<int> tspl_NoListIDRead, Nullable<int> timeOut = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
lig_Id |
|
System.Nullable<System.Int32> |
tspl_NoListIDRead |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Nullable<System.Int64>> |
|
p_ucp_get_TaskProcessList(Nullable<Int32>)
Declaration
public IEnumerable<p_ucp_get_TaskProcessList_ResultModel> p_ucp_get_TaskProcessList(Nullable<int> timeOut = null)
Parameters
Type |
Name |
Description |
System.Nullable<System.Int32> |
timeOut |
|
Returns
p_ucp_set_ServiceTask(Int32, TaskStateCode, String, DateTime, Int32, Nullable<Int32>)
Declaration
public SET_p_ucp_set_ServiceTask_Response p_ucp_set_ServiceTask(int taskId, TaskStateCode stateCode, string stateMessage, DateTime dateStart, int groupATSId, Nullable<int> timeOut = null)
Parameters
Type |
Name |
Description |
System.Int32 |
taskId |
|
Natec.Entities.TaskStateCode |
stateCode |
|
System.String |
stateMessage |
|
System.DateTime |
dateStart |
|
System.Int32 |
groupATSId |
|
System.Nullable<System.Int32> |
timeOut |
|
Returns
Type |
Description |
Natec.Widecoup.SET_p_ucp_set_ServiceTask_Response |
|
sp_StatusMonitor(Int32, Nullable<Int32>)
Declaration
public void sp_StatusMonitor(int numberATS, Nullable<int> timeOut = null)
Parameters
Type |
Name |
Description |
System.Int32 |
numberATS |
|
System.Nullable<System.Int32> |
timeOut |
|