public BannedUrlPatternCollection FetchByQuery(Query qry) { BannedUrlPatternCollection coll = new BannedUrlPatternCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public BannedUrlPatternCollection FetchAll() { BannedUrlPatternCollection coll = new BannedUrlPatternCollection(); Query qry = new Query(BannedUrlPattern.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public BannedUrlPatternCollection FetchByID(object PatternId) { BannedUrlPatternCollection coll = new BannedUrlPatternCollection().Where("PatternId", PatternId).Load(); return(coll); }