public Message(ChatMessage message, HttpContextBase session) { Talker = "Yo";//message.tblTalker.tblSession.UserAlias; UserId = message.ChatUserId; MessageData = message.ChatMessage1; SendTime = message.ChatMessageDate; IsFriend = true;// (message.tblTalker.tblSession.SessionID != session.Session.SessionID); }
private void detach_ChatMessage(ChatMessage entity) { this.SendPropertyChanging(); entity.ChatUser = null; }
private void attach_ChatMessage(ChatMessage entity) { this.SendPropertyChanging(); entity.ChatUser = this; }
partial void DeleteChatMessage(ChatMessage instance);
partial void UpdateChatMessage(ChatMessage instance);
partial void InsertChatMessage(ChatMessage instance);