protected virtual void DoSelect(Type type, string sql, string[] parameterName, Object[] parameters, IDbTransaction transaction, CommandType commType, IList list) { ErrorIfClosed(); try { InternalOpen(); SqlTable table = TableFor(type); table.Select(this, sql, parameterName, parameters, transaction, commType, list); } finally { InternalClose(); } }
protected virtual void DoSelect(Type type, IQuery query, IList list) { ErrorIfClosed(); try { InternalOpen(); SqlTable table = TableFor(type); table.Select(this, query, list); } finally { InternalClose(); } }
protected virtual void DoSelect(Type type, string procName, string[] parameterName, object[] parameters, string[] outputParameterName, int?[] outputParameterSize, DbType[] outputParameterType, ParameterDirection[] outputParameterDirection, out object[] outParameterResult, IList list) { ErrorIfClosed(); try { InternalOpen(); SqlTable table = TableFor(type); table.Select(this, procName, parameterName, parameters, outputParameterName, outputParameterSize, outputParameterType, outputParameterDirection, out outParameterResult, list); } finally { InternalClose(); } }