/// <summary> /// Deprecated Method for adding a new object to the MessagesTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMessagesTypes(MessagesTypes messagesTypes) { base.AddObject("MessagesTypes", messagesTypes); }
/// <summary> /// Create a new MessagesTypes object. /// </summary> /// <param name="mt_id">Initial value of the mt_id property.</param> /// <param name="mt_name">Initial value of the mt_name property.</param> /// <param name="mt_active">Initial value of the mt_active property.</param> public static MessagesTypes CreateMessagesTypes(global::System.Int32 mt_id, global::System.String mt_name, global::System.Boolean mt_active) { MessagesTypes messagesTypes = new MessagesTypes(); messagesTypes.mt_id = mt_id; messagesTypes.mt_name = mt_name; messagesTypes.mt_active = mt_active; return messagesTypes; }