Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
コード例 #1
0
        public void setValue( Payment aPayment ) {

            this.PaymentStu_Code = aPayment.Stu_Code;
            this.PaymentTer_Code = aPayment.Ter_Code;
            this.PaymentMoney = aPayment.Pay_Money;
            this.PaymentStatus = aPayment.Pay_Status;
        }
コード例 #2
0
 //=======================================================
 //Author: Hiennv
 //Function : Insert
 //=======================================================
 public int Insert(Payment aPayment)
 {
     try
     {
         aDatabaseDA.Payment.Add(aPayment);
         return aDatabaseDA.SaveChanges();
     }
     catch (Exception ex)
     {
         throw new Exception(string.Format("PaymentBO.Insert :" + ex.Message));
     }
 }
コード例 #3
0
 partial void UpdatePayment(Payment instance);
コード例 #4
0
 partial void DeletePayment(Payment instance);
コード例 #5
0
 partial void InsertPayment(Payment instance);
コード例 #6
0
		private void detach_Payments(Payment entity)
		{
			this.SendPropertyChanging();
			entity.CashDetail = null;
		}
コード例 #7
0
		private void attach_Payments(Payment entity)
		{
			this.SendPropertyChanging();
			entity.ChequeDetail = this;
		}
コード例 #8
0
		private void detach_Payments(Payment entity)
		{
			this.SendPropertyChanging();
			entity.DonationCause = null;
		}
コード例 #9
0
		private void attach_Payments(Payment entity)
		{
			this.SendPropertyChanging();
			entity.DonationType = this;
		}