/// <summary> /// Deprecated Method for adding a new object to the SubscriptionTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubscriptionTypes(SubscriptionTypes subscriptionTypes) { base.AddObject("SubscriptionTypes", subscriptionTypes); }
/// <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; }