コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <summary>
 /// Deprecated Method for adding a new object to the SubscriptionTypeItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubscriptionTypeItems(SubscriptionTypeItems subscriptionTypeItems)
 {
     base.AddObject("SubscriptionTypeItems", subscriptionTypeItems);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <summary>
 /// Create a new SubscriptionTypeItems object.
 /// </summary>
 /// <param name="subscriptionTypeItemID">Initial value of the SubscriptionTypeItemID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static SubscriptionTypeItems CreateSubscriptionTypeItems(global::System.Int32 subscriptionTypeItemID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     SubscriptionTypeItems subscriptionTypeItems = new SubscriptionTypeItems();
     subscriptionTypeItems.SubscriptionTypeItemID = subscriptionTypeItemID;
     subscriptionTypeItems.AddDate = addDate;
     subscriptionTypeItems.RowVersion = rowVersion;
     return subscriptionTypeItems;
 }