Exemplo n.º 1
0
 /// <summary>
 /// Create a new ecommrc_Stores object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="storeName">Initial value of the StoreName property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="dateCreated">Initial value of the DateCreated property.</param>
 /// <param name="subscriptionId">Initial value of the SubscriptionId property.</param>
 /// <param name="planId">Initial value of the PlanId property.</param>
 /// <param name="customUrl">Initial value of the CustomUrl property.</param>
 /// <param name="currentPlanRate">Initial value of the CurrentPlanRate property.</param>
 /// <param name="currentPlanPercent">Initial value of the CurrentPlanPercent property.</param>
 /// <param name="currentPlanDayOfMonth">Initial value of the CurrentPlanDayOfMonth property.</param>
 /// <param name="stripeCustomerId">Initial value of the StripeCustomerId property.</param>
 public static ecommrc_Stores Createecommrc_Stores(global::System.Int64 id, global::System.String storeName, global::System.Int32 status, global::System.DateTime dateCreated, global::System.Int64 subscriptionId, global::System.Int32 planId, global::System.String customUrl, global::System.Decimal currentPlanRate, global::System.Decimal currentPlanPercent, global::System.Int32 currentPlanDayOfMonth, global::System.String stripeCustomerId)
 {
     ecommrc_Stores ecommrc_Stores = new ecommrc_Stores();
     ecommrc_Stores.Id = id;
     ecommrc_Stores.StoreName = storeName;
     ecommrc_Stores.Status = status;
     ecommrc_Stores.DateCreated = dateCreated;
     ecommrc_Stores.SubscriptionId = subscriptionId;
     ecommrc_Stores.PlanId = planId;
     ecommrc_Stores.CustomUrl = customUrl;
     ecommrc_Stores.CurrentPlanRate = currentPlanRate;
     ecommrc_Stores.CurrentPlanPercent = currentPlanPercent;
     ecommrc_Stores.CurrentPlanDayOfMonth = currentPlanDayOfMonth;
     ecommrc_Stores.StripeCustomerId = stripeCustomerId;
     return ecommrc_Stores;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ecommrc_Stores EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToecommrc_Stores(ecommrc_Stores ecommrc_Stores)
 {
     base.AddObject("ecommrc_Stores", ecommrc_Stores);
 }