/// <summary> /// Create a new Chat_Mensagem object. /// </summary> /// <param name="idChatMensagem">Initial value of the IdChatMensagem property.</param> /// <param name="idChat">Initial value of the IdChat property.</param> /// <param name="dataCadastro">Initial value of the DataCadastro property.</param> /// <param name="texto">Initial value of the Texto property.</param> /// <param name="isAdministrador">Initial value of the IsAdministrador property.</param> public static Chat_Mensagem CreateChat_Mensagem(global::System.Int32 idChatMensagem, global::System.Int32 idChat, global::System.DateTime dataCadastro, global::System.String texto, global::System.Boolean isAdministrador) { Chat_Mensagem chat_Mensagem = new Chat_Mensagem(); chat_Mensagem.IdChatMensagem = idChatMensagem; chat_Mensagem.IdChat = idChat; chat_Mensagem.DataCadastro = dataCadastro; chat_Mensagem.Texto = texto; chat_Mensagem.IsAdministrador = isAdministrador; return chat_Mensagem; }
/// <summary> /// Deprecated Method for adding a new object to the Chat_Mensagem EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChat_Mensagem(Chat_Mensagem chat_Mensagem) { base.AddObject("Chat_Mensagem", chat_Mensagem); }