Esempio n. 1
0
 public ENBusiness()
 {
     cadBusiness = new CADBusiness();
     cif = "";
     name = "";
     address = "";
     telephone = 0;
     email = "";
 }
Esempio n. 2
0
 public ENBusiness(String cif, String name, String address, int telephone, String email)
 {
     this.cif = cif;
     this.name = name;
     this.address = address;
     this.telephone = telephone;
     this.email = email;
     id = 0;
     cadBusiness = new CADBusiness();
 }
Esempio n. 3
0
        public ENBusiness Read(int id)
        {
            cad = new CADBusiness();
                ENBusiness ret = new ENBusiness();

                List<object> param = new List<object>();
                param.Add((object)id);

                ret.FromRow(cad.Select(param));

                return ret;
        }