Ejemplo n.º 1
0
		private void detach_withdrow_money_ts(withdrow_money_t entity)
		{
			this.SendPropertyChanging();
			entity.personal_info_t = null;
		}
Ejemplo n.º 2
0
 partial void Deletewithdrow_money_t(withdrow_money_t instance);
Ejemplo n.º 3
0
 partial void Updatewithdrow_money_t(withdrow_money_t instance);
Ejemplo n.º 4
0
 partial void Insertwithdrow_money_t(withdrow_money_t instance);
Ejemplo n.º 5
0
		private void detach_withdrow_money_ts(withdrow_money_t entity)
		{
			this.SendPropertyChanging();
			entity.global_session_t = null;
		}
Ejemplo n.º 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();
     }
 }