Example #1
0
        public ExternallinkCollection FetchByQuery(Query qry)
        {
            ExternallinkCollection coll = new ExternallinkCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public ExternallinkCollection FetchAll()
        {
            ExternallinkCollection coll = new ExternallinkCollection();
            Query qry = new Query(Externallink.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public ExternallinkCollection FetchAllNotDeleted()
        {
            ExternallinkCollection coll = new ExternallinkCollection();
            Query qry = new Query(Externallink.Schema).WHERE(Externallink.Columns.Deleted, false);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #4
0
        public ExternallinkCollection FetchByID(object Id)
        {
            ExternallinkCollection coll = new ExternallinkCollection().Where("id", Id).Load();

            return(coll);
        }