public SysPacienteAntecedentesFamiliareCollection FetchByQuery(Query qry)
        {
            SysPacienteAntecedentesFamiliareCollection coll = new SysPacienteAntecedentesFamiliareCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public SysPacienteAntecedentesFamiliareCollection FetchAll()
        {
            SysPacienteAntecedentesFamiliareCollection coll = new SysPacienteAntecedentesFamiliareCollection();
            Query qry = new Query(SysPacienteAntecedentesFamiliare.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public SysPacienteAntecedentesFamiliareCollection FetchByID(object Id)
        {
            SysPacienteAntecedentesFamiliareCollection coll = new SysPacienteAntecedentesFamiliareCollection().Where("id", Id).Load();

            return(coll);
        }