public HitblWidgetTemplatesWtpCollection FetchByQuery(Query qry) { HitblWidgetTemplatesWtpCollection coll = new HitblWidgetTemplatesWtpCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public HitblWidgetTemplatesWtpCollection FetchAll() { HitblWidgetTemplatesWtpCollection coll = new HitblWidgetTemplatesWtpCollection(); Query qry = new Query(HitblWidgetTemplatesWtp.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public HitblWidgetTemplatesWtpCollection FetchByID(object WtpId) { HitblWidgetTemplatesWtpCollection coll = new HitblWidgetTemplatesWtpCollection().Where("WTP_ID", WtpId).Load(); return(coll); }