Beispiel #1
0
        public SysParentescoCollection FetchByQuery(Query qry)
        {
            SysParentescoCollection coll = new SysParentescoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public SysParentescoCollection FetchAll()
        {
            SysParentescoCollection coll = new SysParentescoCollection();
            Query qry = new Query(SysParentesco.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public SysParentescoCollection FetchByID(object IdParentesco)
        {
            SysParentescoCollection coll = new SysParentescoCollection().Where("idParentesco", IdParentesco).Load();

            return(coll);
        }