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.
Afficher le fichier Open project: BrewDawg/Tiraggo Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat tgDataResponse

ExecuteReader() public méthode

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
Résultat tgDataResponse

ExecuteScalar() public méthode

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
Résultat tgDataResponse

FillDataSet() public méthode

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
Résultat tgDataResponse

FillDataTable() public méthode

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
Résultat tgDataResponse

esLoadDataTable() public méthode

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
Résultat tgDataResponse

esSaveDataTable() public méthode

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
Résultat tgDataResponse