C# Class gpconnect_appointment_checker.DAL.DataService

Inheritance: IDataService
Mostra file Open project: nhsconnect/gpconnect-appointment-checker

Public Methods

Method Description
DataService ( IConfiguration configuration, ILogger logger ) : Dapper
ExecuteFunction ( string functionName, DynamicParameters parameters ) : int
ExecuteFunction ( string functionName ) : List
ExecuteFunction ( string functionName, DynamicParameters parameters ) : List
ExecuteFunctionAndGetDataTable ( string functionName ) : DataTable
ExecuteFunctionAndGetDataTable ( string functionName, Dictionary parameters ) : DataTable
ExecuteQuery ( string query ) : int

Method Details

DataService() public method

public DataService ( IConfiguration configuration, ILogger logger ) : Dapper
configuration IConfiguration
logger ILogger
return Dapper

ExecuteFunction() public method

public ExecuteFunction ( string functionName, DynamicParameters parameters ) : int
functionName string
parameters DynamicParameters
return int

ExecuteFunction() public method

public ExecuteFunction ( string functionName ) : List
functionName string
return List

ExecuteFunction() public method

public ExecuteFunction ( string functionName, DynamicParameters parameters ) : List
functionName string
parameters DynamicParameters
return List

ExecuteFunctionAndGetDataTable() public method

public ExecuteFunctionAndGetDataTable ( string functionName ) : DataTable
functionName string
return DataTable

ExecuteFunctionAndGetDataTable() public method

public ExecuteFunctionAndGetDataTable ( string functionName, Dictionary parameters ) : DataTable
functionName string
parameters Dictionary
return DataTable

ExecuteQuery() public method

public ExecuteQuery ( string query ) : int
query string
return int