예제 #1
0
        public static string EliminarMascota(int idmascota)
        {
            DMascota objMascota = new DMascota();

            objMascota.IdMascota = idmascota;
            return(objMascota.EliminarMascota(objMascota));
        }
예제 #2
0
        public static DataTable BuscarMascotaId(int idMascota)
        {
            DMascota objMascota = new DMascota();

            objMascota.IdMascota = idMascota;
            return(objMascota.BuscarMascotaId(objMascota));
        }
예제 #3
0
        public static DataTable BuscarMascota(string textoBuscar)
        {
            DMascota objMascota = new DMascota();

            objMascota.TextoBuscar = textoBuscar;
            return(objMascota.BuscarMascota(objMascota));
        }
예제 #4
0
        public static string InsertarMascota(string nombre, string edad, string sexo, string peso, string descripcion, int idRaza, int idCliente, byte[] foto)
        {
            DMascota objMascota = new DMascota();

            objMascota.Nombre      = nombre;
            objMascota.Edad        = edad;
            objMascota.Sexo        = sexo;
            objMascota.Peso        = peso;
            objMascota.Descripcion = descripcion;
            objMascota.IdRaza      = idRaza;
            objMascota.IdCliente   = idCliente;
            objMascota.Foto        = foto;
            return(objMascota.InsertarMascota(objMascota));
        }
예제 #5
0
        public int N_modificar_mascota_confecha_esterilizado(int serie, Usuario rescatista, FichaTemporal fitemp, DateTime fIngreso, TipoMascota tipo, string tamano, string estado, string nombre, string raza, string sexo, string color, string edad, String esterilizado, DateTime FechaEsterilizado)
        {
            Mascota masc = new Mascota();

            masc.Serie                = serie;
            masc.Ser_usu              = (Usuario)rescatista;
            masc.Fic_tem              = (FichaTemporal)fitemp;
            masc.Fecha_ingreso        = fIngreso;
            masc.Tipomascota          = (TipoMascota)tipo;
            masc.Tamano               = tamano;
            masc.Estado               = estado;
            masc.Nombre               = nombre;
            masc.Raza                 = raza;
            masc.Sexo                 = sexo;
            masc.Color                = color;
            masc.Edad                 = edad;
            masc.Esterilizado         = esterilizado;
            masc.Fecha_esterilizacion = FechaEsterilizado;

            int band = new DMascota().D_modificar_mascotaConFecha_Esterilizado(masc);

            return(band);
        }
예제 #6
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static int ReportarMascotaWM(EMascota ent)
 {
     return(DMascota.ReportarMascotaWM(ent));
 }
예제 #7
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static string ActualizarFotoMascotaWM(EMascota ent)
 {
     return(DMascota.ActualizarFotoMascotaWM(ent));
 }
예제 #8
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static int log_error(string p_error, string p_tipo)
 {
     return(DMascota.log_error(p_error, p_tipo));
 }
예제 #9
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static string SolicitarServicioWM(ESolicitud ent)
 {
     return(DMascota.SolicitarServicioWM(ent));
 }
예제 #10
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static int ActualizarMascotaWM(EMascota ent)
 {
     return(DMascota.ActualizarMascotaWM(ent));
 }
예제 #11
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static List <EMascota> filtroMascotaWM(EMascota ent)
 {
     return(DMascota.filtroMascotaWM(ent));
 }
예제 #12
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static string MuerteMascotaWM(EMascota ent)
 {
     return(DMascota.MuerteMascotaWM(ent));
 }
예제 #13
0
        public String N_Ver_FechaEsterilizacion(int serie_mascota)
        {
            String band = new DMascota().D_Ver_FechaEsterilizacion(serie_mascota);

            return(band);
        }
예제 #14
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static string RegistrarMascotaWM(EMascota ent)
 {
     return(DMascota.RegistrarMascotaWM(ent));
 }
예제 #15
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static int AnularMascotaWM(EMascota ent)
 {
     return(DMascota.AnularMascotaWM(ent));
 }
예제 #16
0
        public int N_ultima_serie()
        {
            int b = new DMascota().ultima_serie_ficha();

            return(b);
        }
예제 #17
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static EMascota ObtenerMascotaAdopcion(EMascota ent)
 {
     return(DMascota.ObtenerMascotaAdopcion(ent));
 }
예제 #18
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static EMascota ObtenerMascotaxId(EMascota ent)
 {
     return(DMascota.ObtenerMascotaxId(ent));
 }
예제 #19
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static List <EMascota> listarMascotaAdopcion(EMascota ent)
 {
     return(DMascota.listarMascotaAdopcion(ent));
 }
예제 #20
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static EMascota preRegistrarMascotaWM(EMascota ent)
 {
     return(DMascota.preRegistrarMascotaWM(ent));
 }
예제 #21
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static string PerdidaMascotaWM(EMascota ent)
 {
     return(DMascota.PerdidaMascotaWM(ent));
 }
예제 #22
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static int CuponMascotaWM(EMascota ent)
 {
     return(DMascota.CuponMascotaWM(ent));
 }
예제 #23
0
파일: NMascota.cs 프로젝트: franki159/rump
        //public static int ActualizarProductos(EProducto ent)
        //{
        //    return DProducto.ActualizarProductos(ent);
        //}

        public static List <EMascota> listarMascota(EMascota ent)
        {
            return(DMascota.listarMascota(ent));
        }
예제 #24
0
        public List <Mascota> N_Listar_Mascotas()
        {
            List <Mascota> lista = new DMascota().D_ListarMascotas();

            return(lista);
        }
예제 #25
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static int EncontradaMascotaWM(EMascota ent)
 {
     return(DMascota.EncontradaMascotaWM(ent));
 }
예제 #26
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static int NoAdopcionMascotaWM(EMascota ent)
 {
     return(DMascota.NoAdopcionMascotaWM(ent));
 }
예제 #27
0
파일: NMascota.cs 프로젝트: franki159/rump
 public static string InsertarFotoMascotaWM(EMascota ent)
 {
     return(DMascota.InsertarFotoMascotaWM(ent));
 }