/// <summary> /// Deprecated Method for adding a new object to the MessageScopes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMessageScopes(MessageScope messageScope) { base.AddObject("MessageScopes", messageScope); }
/// <summary> /// Create a new MessageScope object. /// </summary> /// <param name="messageScopeId">Initial value of the MessageScopeId property.</param> /// <param name="name">Initial value of the Name property.</param> public static MessageScope CreateMessageScope(global::System.Int32 messageScopeId, global::System.String name) { MessageScope messageScope = new MessageScope(); messageScope.MessageScopeId = messageScopeId; messageScope.Name = name; return messageScope; }