/// <summary>
 /// Create a new Subscription object.
 /// </summary>
 /// <param name="username">Initial value of the username property.</param>
 /// <param name="mailinglistID">Initial value of the mailinglistID property.</param>
 public static Subscription CreateSubscription(global::System.String username, global::System.Int32 mailinglistID)
 {
     Subscription subscription = new Subscription();
     subscription.username = username;
     subscription.mailinglistID = mailinglistID;
     return subscription;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Subscriptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubscriptions(Subscription subscription)
 {
     base.AddObject("Subscriptions", subscription);
 }