コード例 #1
0
        public ArticlecategoryCollection FetchByQuery(Query qry)
        {
            ArticlecategoryCollection coll = new ArticlecategoryCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public ArticlecategoryCollection FetchAll()
        {
            ArticlecategoryCollection coll = new ArticlecategoryCollection();
            Query qry = new Query(Articlecategory.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public ArticlecategoryCollection FetchAllNotDeleted()
        {
            ArticlecategoryCollection coll = new ArticlecategoryCollection();
            Query qry = new Query(Articlecategory.Schema).WHERE(Articlecategory.Columns.Deleted, false);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #4
0
        public ArticlecategoryCollection FetchByID(object Id)
        {
            ArticlecategoryCollection coll = new ArticlecategoryCollection().Where("id", Id).Load();

            return(coll);
        }