コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the bvc_ProductModifierOption EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobvc_ProductModifierOption(bvc_ProductModifierOption bvc_ProductModifierOption)
 {
     base.AddObject("bvc_ProductModifierOption", bvc_ProductModifierOption);
 }
コード例 #2
0
 /// <summary>
 /// Create a new bvc_ProductModifierOption object.
 /// </summary>
 /// <param name="bvin">Initial value of the bvin property.</param>
 /// <param name="modifierId">Initial value of the ModifierId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="order">Initial value of the Order property.</param>
 /// <param name="costAdjustment">Initial value of the CostAdjustment property.</param>
 /// <param name="priceAdjustment">Initial value of the PriceAdjustment property.</param>
 /// <param name="shippingAdjustment">Initial value of the ShippingAdjustment property.</param>
 /// <param name="weightAdjustment">Initial value of the WeightAdjustment property.</param>
 /// <param name="isDefault">Initial value of the IsDefault property.</param>
 /// <param name="null">Initial value of the Null property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 public static bvc_ProductModifierOption Createbvc_ProductModifierOption(global::System.String bvin, global::System.String modifierId, global::System.String name, global::System.Int32 order, global::System.Decimal costAdjustment, global::System.Decimal priceAdjustment, global::System.Decimal shippingAdjustment, global::System.Decimal weightAdjustment, global::System.Boolean isDefault, global::System.Boolean @null, global::System.DateTime lastUpdated)
 {
     bvc_ProductModifierOption bvc_ProductModifierOption = new bvc_ProductModifierOption();
     bvc_ProductModifierOption.bvin = bvin;
     bvc_ProductModifierOption.ModifierId = modifierId;
     bvc_ProductModifierOption.Name = name;
     bvc_ProductModifierOption.Order = order;
     bvc_ProductModifierOption.CostAdjustment = costAdjustment;
     bvc_ProductModifierOption.PriceAdjustment = priceAdjustment;
     bvc_ProductModifierOption.ShippingAdjustment = shippingAdjustment;
     bvc_ProductModifierOption.WeightAdjustment = weightAdjustment;
     bvc_ProductModifierOption.IsDefault = isDefault;
     bvc_ProductModifierOption.Null = @null;
     bvc_ProductModifierOption.LastUpdated = lastUpdated;
     return bvc_ProductModifierOption;
 }