예제 #1
0
		private void detach_withdrow_money_ts(withdrow_money_t entity)
		{
			this.SendPropertyChanging();
			entity.personal_info_t = null;
		}
예제 #2
0
 partial void Deletewithdrow_money_t(withdrow_money_t instance);
예제 #3
0
 partial void Updatewithdrow_money_t(withdrow_money_t instance);
예제 #4
0
 partial void Insertwithdrow_money_t(withdrow_money_t instance);
예제 #5
0
		private void detach_withdrow_money_ts(withdrow_money_t entity)
		{
			this.SendPropertyChanging();
			entity.global_session_t = null;
		}
예제 #6
0
 public void InsertWithdrawRecord(double money, string managerName, DateTime withdrawTime)
 {
     var db = new dbDataContext();
     lock (db)
     {
         Table<withdrow_money_t> withdrawMoneyTable = db.GetTable<withdrow_money_t>();
         var withdrawMoney = new withdrow_money_t
         {
             daily_id = GetLastOpenedGlobalSessionDailyId(),
             manager = GetUserInfoByName(managerName).person_id,
             cash_amount = money,
             transaction_time = withdrawTime
         };
         withdrawMoneyTable.InsertOnSubmit(withdrawMoney);
         db.SubmitChanges();
     }
 }