public DescriptorCollection FetchByQuery(Query qry) { DescriptorCollection coll = new DescriptorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DescriptorCollection FetchAll() { DescriptorCollection coll = new DescriptorCollection(); Query qry = new Query(Descriptor.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DescriptorCollection FetchByID(object DescriptorId) { DescriptorCollection coll = new DescriptorCollection().Where("DescriptorId", DescriptorId).Load(); return(coll); }