Beispiel #1
0
        public void Update(BCAR Items)
        {
            var DEntity = this.GetFind(Items.Code);

            DEntity.Name1        = Items.Name1;
            DEntity.BirthDay     = Items.BirthDay;
            DEntity.CustAge      = Items.CustAge;
            DEntity.IDCardNo     = Items.IDCardNo;
            DEntity.BillAddress  = Items.BillAddress;
            DEntity.Telephone    = Items.Telephone;
            DEntity.Fax          = Items.Fax;
            DEntity.EmailAddress = Items.EmailAddress;
            //throw new NotImplementedException();
        }
 public BCAR Update(BCAR Item)
 {
     Db.Update(Item);
     return(Item);
 }
 public BCAR Insert(BCAR Item)
 {
     Db.Insert(Item);
     return(Item);
 }
Beispiel #4
0
 public void Delete(BCAR Items)
 {
     db.BCAR.Remove(Items);
 }
Beispiel #5
0
 public void Insert(BCAR Items)
 {
     db.BCAR.Add(Items);
 }