public virtual IList <TEntity> GetAll() { var result = default(IList <TEntity>); _povider.ContextAction(c => { result = c.Query <TEntity>(_povider.SqlGetAll(SchemeTableName)).ToList(); }); return(result); }
public virtual IList <test_dapper_core_item> GetAll(IDbConnection c) { return(c.Query <test_dapper_core_item>(_provider.SqlGetAll(SchemeTableName)).ToList()); }