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