public TDataTypeCollection FetchByQuery(Query qry) { TDataTypeCollection coll = new TDataTypeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TDataTypeCollection FetchAll() { TDataTypeCollection coll = new TDataTypeCollection(); Query qry = new Query(TDataType.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TDataTypeCollection FetchByID(object DataTypeId) { TDataTypeCollection coll = new TDataTypeCollection().Where("DataType_ID", DataTypeId).Load(); return(coll); }