public SysUserPrinterCollection FetchAll() { SysUserPrinterCollection coll = new SysUserPrinterCollection(); Query qry = new Query(SysUserPrinter.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysUserPrinterCollection FetchByQuery(Query qry) { SysUserPrinterCollection coll = new SysUserPrinterCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysUserPrinterCollection FetchByID(object SysUserName) { SysUserPrinterCollection coll = new SysUserPrinterCollection().Where("Sys_UserName", SysUserName).Load(); return coll; }