public DataTable GetDataTable(AbstractRequestContext requestContext) { return(ExecuteImpl((dbSession) => dbSession.GetDataTable(requestContext))); }
public IList <T> Query <T>(AbstractRequestContext requestContext) { return(ExecuteImpl((dbSession) => dbSession.Query <T>(requestContext))); }
public T QuerySingle <T>(AbstractRequestContext requestContext) { return(ExecuteImpl((dbSession) => dbSession.QuerySingle <T>(requestContext))); }
public int Execute(AbstractRequestContext requestContext) { return(ExecuteImpl((dbSession) => dbSession.Execute(requestContext))); }
public T ExecuteScalar <T>(AbstractRequestContext requestContext) { return(ExecuteImpl((dbSession) => dbSession.ExecuteScalar <T>(requestContext))); }
public Task <TResult> QuerySingleAsync <TResult>(AbstractRequestContext requestContext) { return(ExecuteImplAsync((dbSession) => dbSession.QuerySingleAsync <TResult>(requestContext))); }
public static IDictionary <String, object> QuerySingleDictionary(this IDbSession dbSession, AbstractRequestContext requestContext) { return(dbSession.QuerySingle <IDictionary <string, object> >(requestContext)); }
public async Task <int> ExecuteAsync(AbstractRequestContext requestContext) { return(await ExecuteImplAsync(async dbSession => await dbSession.ExecuteAsync(requestContext))); }
public async Task <TResult> ExecuteScalarAsync <TResult>(AbstractRequestContext requestContext) { return(await ExecuteImplAsync( async dbSession => await dbSession.ExecuteScalarAsync <TResult>(requestContext))); }
public static IList <IDictionary <String, object> > QueryDictionary(this ISqlMapper sqlMapper, AbstractRequestContext requestContext) { return(ExecuteImpl(sqlMapper, session => session.QueryDictionary(requestContext))); }
public DataSet GetDataSet(AbstractRequestContext requestContext) { return(ExecuteImpl(dbSession => dbSession.GetDataSet(requestContext))); }
public static IList <dynamic> QueryDynamic(this ISqlMapper sqlMapper, AbstractRequestContext requestContext) { return(ExecuteImpl(sqlMapper, session => session.QueryDynamic(requestContext))); }
public Task <IEnumerable <TResult> > QueryAsync <TResult>(AbstractRequestContext requestContext) { return(ExecuteImplAsync((dbSession) => dbSession.QueryAsync <TResult>(requestContext))); }
public static IList <dynamic> QueryDynamic(this IDbSession dbSession, AbstractRequestContext requestContext) { return(dbSession.Query <dynamic>(requestContext)); }
public Task <int> ExecuteAsync(AbstractRequestContext requestContext) { return(ExecuteImplAsync((dbSession) => dbSession.ExecuteAsync(requestContext))); }
public async Task <IList <TResult> > QueryAsync <TResult>(AbstractRequestContext requestContext) { return(await ExecuteImplAsync(async dbSession => await dbSession.QueryAsync <TResult>(requestContext))); }
public Task <TResult> ExecuteScalarAsync <TResult>(AbstractRequestContext requestContext) { return(ExecuteImplAsync((dbSession) => dbSession.ExecuteScalarAsync <TResult>(requestContext))); }
public async Task <DataTable> GetDataTableAsync(AbstractRequestContext requestContext) { return(await ExecuteImplAsync(async dbSession => await dbSession.GetDataTableAsync(requestContext))); }
public Task <DataTable> GetDataTableAsync(AbstractRequestContext requestContext) { return(ExecuteImplAsync((dbSession) => dbSession.GetDataTableAsync(requestContext))); }
public static dynamic QuerySingleDynamic(this IDbSession dbSession, AbstractRequestContext requestContext) { return(dbSession.QuerySingle <dynamic>(requestContext)); }