Exemple #1
0
 public BillEntity()
 {
     billnumber = null;
     billtype = null;
     billdate = null;
     billamount = null;
     con = new Connection();
     con.open();
 }
Exemple #2
0
 public ProductEntity(string c, string n, string p, string spec)
 {
     code = c;
     name = n;
     price = p;
     specifications = spec;
     con = new Connection();
     con.open();
 }
Exemple #3
0
 public ProductEntity()
 {
     code = null;
     name = null;
     price = null;
     specifications = null;
     con = new Connection();
     con.open();
 }
 public ComponentEntity(string c, string n, string p, string spec, string d, string pid)
 {
     code = c;
     name = n;
     price = p;
     specifications = spec;
     date = d;
     productid = pid;
     con = new Connection();
     con.open();
 }
 public ComponentEntity()
 {
     code = null;
     name = null;
     price = null;
     date = null;
     specifications = "";
     productid = "";
     con = new Connection();
     con.open();
 }
Exemple #6
0
 public ClientEntity()
 {
     name = null;
     address = null;
     city = null;
     village =null;
     mobile1 = null;
     mobile2 = null;
     email = null;
     fathername=null;
     date=null;
     con = new Connection();
     con.open();
 }
Exemple #7
0
 public ClientEntity(string name,string address,string city,string village,string  mobile1,string mobile2,string  email,string fathername,string date)
 {
     this.name = name;
     this.fathername = fathername;
     this.address = address;
     this.city = city;
     this.village = village;
     this.mobile1 = mobile1;
     this.mobile2 = mobile2;
     this.email = email;
     this.date=date;
     con = new Connection();
     con.open();
 }