C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ExecuteNonQuery() публичный Метод

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
Результат tgDataResponse

ExecuteReader() публичный Метод

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
Результат tgDataResponse

ExecuteScalar() публичный Метод

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
Результат tgDataResponse

FillDataSet() публичный Метод

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
Результат tgDataResponse

FillDataTable() публичный Метод

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
Результат tgDataResponse

esLoadDataTable() публичный Метод

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
Результат tgDataResponse

esSaveDataTable() публичный Метод

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
Результат tgDataResponse