예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SubscriptionTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubscriptionTypes(SubscriptionTypes subscriptionTypes)
 {
     base.AddObject("SubscriptionTypes", subscriptionTypes);
 }
예제 #2
0
 /// <summary>
 /// Create a new SubscriptionTypes object.
 /// </summary>
 /// <param name="subscriptionTypeID">Initial value of the SubscriptionTypeID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static SubscriptionTypes CreateSubscriptionTypes(global::System.Int32 subscriptionTypeID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     SubscriptionTypes subscriptionTypes = new SubscriptionTypes();
     subscriptionTypes.SubscriptionTypeID = subscriptionTypeID;
     subscriptionTypes.AddDate = addDate;
     subscriptionTypes.RowVersion = rowVersion;
     return subscriptionTypes;
 }