コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OutgoingNotifications EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOutgoingNotifications(OutgoingNotification outgoingNotification)
 {
     base.AddObject("OutgoingNotifications", outgoingNotification);
 }
コード例 #2
0
 /// <summary>
 /// Create a new OutgoingNotification object.
 /// </summary>
 /// <param name="outboxId">Initial value of the OutboxId property.</param>
 /// <param name="eventId">Initial value of the EventId property.</param>
 /// <param name="rulesetId">Initial value of the RulesetId property.</param>
 /// <param name="generatedTime">Initial value of the GeneratedTime property.</param>
 public static OutgoingNotification CreateOutgoingNotification(global::System.Decimal outboxId, global::System.Decimal eventId, global::System.Decimal rulesetId, global::System.DateTime generatedTime)
 {
     OutgoingNotification outgoingNotification = new OutgoingNotification();
     outgoingNotification.OutboxId = outboxId;
     outgoingNotification.EventId = eventId;
     outgoingNotification.RulesetId = rulesetId;
     outgoingNotification.GeneratedTime = generatedTime;
     return outgoingNotification;
 }