Tiraggo.Interfaces.tgDataProvider.FillDataTable C# (CSharp) Méthode

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
        public tgDataResponse FillDataTable(tgDataRequest request, tgProviderSignature sig)
        {
            request.DatabaseVersion = sig.DatabaseVersion;
            tgDataResponse response = tgProviderFactory.GetDataProvider(sig.DataProviderName, sig.DataProviderClass).FillDataTable(request);

            if (response.IsException)
            {
                throw response.Exception;
            }

            return response;
        }