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