protected DataTable CreateDataTable(IDbCommand command) { return(_db.CreateDataTable(command)); }
public DataTable proc_CategoryLayout_Insert(int Cat_ID, int CellIndex, int ProductID) { IDbCommand cmd = _db.CreateCommand("proc_CategoryLayout_Insert", true); _db.AddParameter(cmd, "Cat_ID", DbType.Int32, Cat_ID); _db.AddParameter(cmd, "CellIndex", DbType.Int32, CellIndex); _db.AddParameter(cmd, "ProductID", DbType.Int32, ProductID); DataTable table = _db.CreateDataTable(cmd); return(table); }