Пример #1
0
 partial void Deleteaccount_savings_t(account_savings_t instance);
Пример #2
0
 partial void Updateaccount_savings_t(account_savings_t instance);
Пример #3
0
		private void detach_account_savings_ts(account_savings_t entity)
		{
			this.SendPropertyChanging();
			entity.client_info_t = null;
		}
Пример #4
0
 partial void Insertaccount_savings_t(account_savings_t instance);
Пример #5
0
        private void AddNewSaVingsForClient(string clientId)
        {
            var db = new dbDataContext();
            lock (db)
            {
                Table<account_savings_t> personalInfoTable = db.GetTable<account_savings_t>();
                var savings = new account_savings_t
                {
                    client_id = clientId,
                    savings = 0
                };

                personalInfoTable.InsertOnSubmit(savings);
                db.SubmitChanges();
            }
        }