public SysLockObjectCollection FetchAll() { SysLockObjectCollection coll = new SysLockObjectCollection(); Query qry = new Query(SysLockObject.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysLockObjectCollection FetchByQuery(Query qry) { SysLockObjectCollection coll = new SysLockObjectCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysLockObjectCollection FetchByID(object MaLuotkham) { SysLockObjectCollection coll = new SysLockObjectCollection().Where("ma_luotkham", MaLuotkham).Load(); return coll; }
public SysLockObjectCollection FetchByID(object ObjectID) { SysLockObjectCollection coll = new SysLockObjectCollection().Where("ObjectID", ObjectID).Load(); return coll; }