示例#1
0
        public Categoria findbykey(params object[] key)
        {
            Categoria i = (Categoria)ManagerDB <Categoria> .findbyKey(key);

            this.CategoriaId     = i.CategoriaId;
            this.NombreCategoria = i.NombreCategoria;
            this.IsNew           = false;
            return(this);
        }
示例#2
0
        public Empleado findbykey(params object[] key)
        {
            Empleado p = (Empleado)ManagerDB <Empleado> .findbyKey(key);

            this.FechaNac   = p.FechaNac;
            this.Apellido   = p.Apellido;
            this.EmpleadoId = p.EmpleadoId;
            this.IsNew      = false;
            return(this);
        }
示例#3
0
        public DetalleOrden findbykey(params object[] key)
        {
            DetalleOrden p = (DetalleOrden)ManagerDB <DetalleOrden> .findbyKey(key);

            this.DetalleId  = p.DetalleId;
            this.OrdenId    = p.OrdenId;
            this.ProductoId = p.ProductoId;
            this.Cantidad   = p.Cantidad;
            this.IsNew      = false;
            return(this);
        }
示例#4
0
        public Orden findbykey(params object[] key)
        {
            Orden p = (Orden)ManagerDB <Orden> .findbyKey(key);

            this.OrdenId    = p.OrdenId;
            this.ClienteId  = p.ClienteId;
            this.EmpleadoId = p.EmpleadoId;
            this.FechaOrden = p.FechaOrden;
            this.Descuento  = p.Descuento;
            this.IsNew      = false;
            return(this);
        }
        public Proveedor findbykey(params object[] key)
        {
            Proveedor d = (Proveedor)ManagerDB <Proveedor> .findbyKey(key);

            this.ProveedorId       = d.ProveedorId;
            this.NombreProveedor   = d.NombreProveedor;
            this.ContactoProveedor = d.ContactoProveedor;
            this.CeluProveedor     = d.CeluProveedor;
            this.FijoProveedor     = d.FijoProveedor;
            this.IsNew             = false;
            return(this);
        }
示例#6
0
        public Producto findbykey(params object[] key)
        {
            Producto d = (Producto)ManagerDB <Producto> .findbyKey(key);

            this.ProductoId     = d.ProductoId;
            this.Descripcion    = d.Descripcion;
            this.CategoriaId    = d.CategoriaId;
            this.ProveedorId    = d.ProveedorId;
            this.PrecioUnitario = d.PrecioUnitario;
            this.Existencia     = d.Existencia;
            this.IsNew          = false;
            return(this);
        }
示例#7
0
        public Cliente findbykey(params object[] key)
        {
            Cliente p = (Cliente)ManagerDB <Cliente> .findbyKey(key);

            this.ClienteId      = p.ClienteId;
            this.CedulaRuc      = p.CedulaRuc;
            this.NombreCia      = p.NombreCia;
            this.NombreContacto = p.NombreContacto;
            this.DirCliente     = p.DirCliente;
            this.Fax            = p.Fax;
            this.Email          = p.Email;
            this.Celular        = p.Celular;
            this.Fijo           = p.Fijo;
            this.IsNew          = false;
            return(this);
        }
示例#8
0
 public List <Empleado> findAll(string criterio)
 {
     return(ManagerDB <Empleado> .findAll(criterio));
 }
示例#9
0
 public bool saveObj()
 {
     return(ManagerDB <Categoria> .saveObject(this));
 }
示例#10
0
 public List <Categoria> findAll(string criterio)
 {
     return(ManagerDB <Categoria> .findAll(criterio));
 }
 public List <Proveedor> findAll(string criterio)
 {
     return(ManagerDB <Proveedor> .findAll(criterio));
 }
示例#12
0
 public bool saveObj()
 {
     return(ManagerDB <Producto> .saveObject(this));
 }
示例#13
0
 public List <Producto> findAll(string criterio)
 {
     return(ManagerDB <Producto> .findAll(criterio));
 }
示例#14
0
 public bool saveObj()
 {
     return(ManagerDB <Cliente> .saveObject(this));
 }
示例#15
0
 public bool saveObj()
 {
     return(ManagerDB <Empleado> .saveObject(this));
 }
示例#16
0
 public List <Orden> findAll(string criterio)
 {
     return(ManagerDB <Orden> .findAll(criterio));
 }
 public bool saveObj()
 {
     return(ManagerDB <Proveedor> .saveObject(this));
 }
示例#18
0
 public bool saveObj()
 {
     return(ManagerDB <Orden> .saveObject(this));
 }
示例#19
0
 public List <Cliente> findAll(string criterio)
 {
     return(ManagerDB <Cliente> .findAll(criterio));
 }