コード例 #1
0
 /// <summary>
 /// Create a new Notification object.
 /// </summary>
 /// <param name="notificationID">Initial value of the NotificationID property.</param>
 public static Notification CreateNotification(global::System.Int32 notificationID)
 {
     Notification notification = new Notification();
     notification.NotificationID = notificationID;
     return notification;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Notifications EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNotifications(Notification notification)
 {
     base.AddObject("Notifications", notification);
 }