Ejemplo n.º 1
0
        public override StoredProcedureWithResultSet CreateStoredProcedureWithResultSet(TableStoredProcedureTypeWithResultSet type, Record record)
        {
            switch (type)
            {
            case TableStoredProcedureTypeWithResultSet.SelectAll: return(CreateSelectAllStoredProcedure());

            case TableStoredProcedureTypeWithResultSet.SelectByPrimaryKey: return(this.CreateSelectByPrimaryKeyStoredProcedure(record));

            default: throw new InvalidOperationException();
            }
        }
Ejemplo n.º 2
0
 public abstract StoredProcedureWithResultSet CreateStoredProcedureWithResultSet(TableStoredProcedureTypeWithResultSet type, T record);