C# Class Tiraggo.Interfaces.tgDataProvider

This class is used by EntitySpaces to issue loosely coupled calls to the actual EntitySpaces data provider as defined in the web.config or app.config file.
Show file Open project: BrewDawg/Tiraggo Class Usage Examples

Public Methods

Method Description
ExecuteNonQuery ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse

Used to execute a non-data return query through the EntitySpaces DataProvider

ExecuteReader ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse

Used to execute a command against the EntitySpaces DataProvider that returns data in the form of a IDataReader.

ExecuteScalar ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse

Used to issue a command against the EntitySpaces DataProvider that returns a single scalar value.

FillDataSet ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse

Not used by EntitySpaces but provided so that you can issue commands against the EntitySpaces DataProvider that return mult-resultsets (many DataTables).

FillDataTable ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse

Similiar to esLoadDataTable only this method merely returns a DataTable and does not actually populate an esEntity or tgEntityCollection.

esLoadDataTable ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse

Used to populate an esEntity or tgEntityCollection with data.

esSaveDataTable ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse

Used to issue a Save command on an esEntity or tgEntityCollection.

Method Details

ExecuteNonQuery() public method

Used to execute a non-data return query through the EntitySpaces DataProvider
public ExecuteNonQuery ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse
request tgDataRequest Contains all of the information necessary to issue and carry out the request
sig tgProviderSignature Contains the required information to locate the EntitySpaces DataProvider
return tgDataResponse

ExecuteReader() public method

Used to execute a command against the EntitySpaces DataProvider that returns data in the form of a IDataReader.
public ExecuteReader ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse
request tgDataRequest Contains all of the information necessary to issue and carry out the request
sig tgProviderSignature Contains the required information to locate the EntitySpaces DataProvider
return tgDataResponse

ExecuteScalar() public method

Used to issue a command against the EntitySpaces DataProvider that returns a single scalar value.
public ExecuteScalar ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse
request tgDataRequest Contains all of the information necessary to issue and carry out the request
sig tgProviderSignature Contains the required information to locate the EntitySpaces DataProvider
return tgDataResponse

FillDataSet() public method

Not used by EntitySpaces but provided so that you can issue commands against the EntitySpaces DataProvider that return mult-resultsets (many DataTables).
public FillDataSet ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse
request tgDataRequest Contains all of the information necessary to issue and carry out the request
sig tgProviderSignature Contains the required information to locate the EntitySpaces DataProvider
return tgDataResponse

FillDataTable() public method

Similiar to esLoadDataTable only this method merely returns a DataTable and does not actually populate an esEntity or tgEntityCollection.
public FillDataTable ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse
request tgDataRequest Contains all of the information necessary to issue and carry out the request
sig tgProviderSignature Contains the required information to locate the EntitySpaces DataProvider
return tgDataResponse

esLoadDataTable() public method

Used to populate an esEntity or tgEntityCollection with data.
public esLoadDataTable ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse
request tgDataRequest Contains all of the information necessary to issue and carry out the request
sig tgProviderSignature Contains the required information to locate the EntitySpaces DataProvider
return tgDataResponse

esSaveDataTable() public method

Used to issue a Save command on an esEntity or tgEntityCollection.
public esSaveDataTable ( tgDataRequest request, tgProviderSignature sig ) : tgDataResponse
request tgDataRequest Contains all of the information necessary to issue and carry out the request
sig tgProviderSignature Contains the required information to locate the EntitySpaces DataProvider
return tgDataResponse