Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderProperties EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderProperties(OrderProperties orderProperties)
 {
     base.AddObject("OrderProperties", orderProperties);
 }
Пример #2
0
 /// <summary>
 /// Create a new OrderProperties object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="counslersAmount">Initial value of the CounslersAmount property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="activityDuration">Initial value of the ActivityDuration property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="orderPropertiesWrapper_OrderProperties">Initial value of the OrderPropertiesWrapper_OrderProperties property.</param>
 public static OrderProperties CreateOrderProperties(global::System.Int32 id, global::System.Int32 counslersAmount, global::System.Int32 price, global::System.String activityDuration, global::System.Byte[] rowVersion, global::System.Int32 orderPropertiesWrapper_OrderProperties)
 {
     OrderProperties orderProperties = new OrderProperties();
     orderProperties.Id = id;
     orderProperties.CounslersAmount = counslersAmount;
     orderProperties.Price = price;
     orderProperties.ActivityDuration = activityDuration;
     orderProperties.RowVersion = rowVersion;
     orderProperties.OrderPropertiesWrapper_OrderProperties = orderPropertiesWrapper_OrderProperties;
     return orderProperties;
 }