Esempio n. 1
0
        public void InsertChatUserMessage(Chat msg)
        {
            tblMessageUser c = new tblMessageUser()
            {
                MSG_USER_FROM = msg.FromUserID,
                MSG_USER_TO = msg.ToUserID,
                MSG_ID = dc.tblMessages.Where(z => z.TBL_MSG_TIME == msg.Time).First().TBL_MSG_ID,

            };
            dc.tblMessageUsers.InsertOnSubmit(c);
            dc.SubmitChanges();
        }
Esempio n. 2
0
 private void detach_tblMessageUsers(tblMessageUser entity)
 {
     this.SendPropertyChanging();
     entity.tblMessage = null;
 }
Esempio n. 3
0
 private void attach_tblMessageUsers1(tblMessageUser entity)
 {
     this.SendPropertyChanging();
     entity.tblUser1 = this;
 }
Esempio n. 4
0
 partial void DeletetblMessageUser(tblMessageUser instance);
Esempio n. 5
0
 partial void UpdatetblMessageUser(tblMessageUser instance);
Esempio n. 6
0
 partial void InserttblMessageUser(tblMessageUser instance);
		private void detach_tblMessageUsers(tblMessageUser entity)
		{
			this.SendPropertyChanging();
			entity.tblMessage = null;
		}
		private void attach_tblMessageUsers1(tblMessageUser entity)
		{
			this.SendPropertyChanging();
			entity.tblUser1 = this;
		}
 partial void DeletetblMessageUser(tblMessageUser instance);
 partial void UpdatetblMessageUser(tblMessageUser instance);
 partial void InserttblMessageUser(tblMessageUser instance);