예제 #1
0
 public Cliente(Nullable <int> id, decimal dni, string nombre, string apellido, string mail, decimal telefono,
                DateTime fecha_nacimiento, Boolean habilitado, Nullable <int> usuarioId, Direccion direccion)
 {
     this.id               = id;
     this.nombre           = nombre;
     this.dni              = dni;
     this.apellido         = apellido;
     this.mail             = mail;
     this.telefono         = telefono;
     this.fecha_nacimiento = fecha_nacimiento;
     this.habilitado       = habilitado;
     this.usuarioId        = usuarioId;
     this.direccion        = direccion;
 }
예제 #2
0
 public Proveedor(int id, string RazonSocial, string cuit, string mail, decimal telefono, Direccion direccion, Rubro rubro, string nombreContacto, bool habilitado)
 {
     this.id             = id;
     this.RazonSocial    = RazonSocial;
     this.cuit           = cuit;
     this.mail           = mail;
     this.telefono       = telefono;
     this.direccion      = direccion;
     this.rubro          = rubro;
     this.nombreContacto = nombreContacto;
     this.habilitado     = habilitado;
 }