示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the NotificationRulesets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNotificationRulesets(NotificationRuleset notificationRuleset)
 {
     base.AddObject("NotificationRulesets", notificationRuleset);
 }
示例#2
0
 /// <summary>
 /// Create a new NotificationRuleset object.
 /// </summary>
 /// <param name="rulesetId">Initial value of the RulesetId property.</param>
 public static NotificationRuleset CreateNotificationRuleset(global::System.Decimal rulesetId)
 {
     NotificationRuleset notificationRuleset = new NotificationRuleset();
     notificationRuleset.RulesetId = rulesetId;
     return notificationRuleset;
 }