public ServiceLockTypeEnumCollection FetchAll() { var coll = new ServiceLockTypeEnumCollection(); var qry = new Query(ServiceLockTypeEnum.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ServiceLockTypeEnumCollection FetchByQuery(Query qry) { var coll = new ServiceLockTypeEnumCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }