public LAssemblyReportCollection FetchByQuery(Query qry) { LAssemblyReportCollection coll = new LAssemblyReportCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LAssemblyReportCollection FetchAll() { LAssemblyReportCollection coll = new LAssemblyReportCollection(); Query qry = new Query(LAssemblyReport.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LAssemblyReportCollection FetchByID(object AssemblyReportId) { LAssemblyReportCollection coll = new LAssemblyReportCollection().Where("AssemblyReport_ID", AssemblyReportId).Load(); return(coll); }