Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MessageScopes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMessageScopes(MessageScope messageScope)
 {
     base.AddObject("MessageScopes", messageScope);
 }
Example #2
0
 /// <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;
 }