/// <summary>
 /// Deprecated Method for adding a new object to the OrderClassesAndCounslersSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderClassesAndCounslersSet(OrderClassesAndCounslers orderClassesAndCounslers)
 {
     base.AddObject("OrderClassesAndCounslersSet", orderClassesAndCounslers);
 }
 /// <summary>
 /// Create a new OrderClassesAndCounslers object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="classesNumber">Initial value of the ClassesNumber property.</param>
 /// <param name="counslerNumber">Initial value of the CounslerNumber property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static OrderClassesAndCounslers CreateOrderClassesAndCounslers(global::System.Int32 id, global::System.Int32 classesNumber, global::System.Int32 counslerNumber, global::System.Int32 price, global::System.Byte[] rowVersion)
 {
     OrderClassesAndCounslers orderClassesAndCounslers = new OrderClassesAndCounslers();
     orderClassesAndCounslers.Id = id;
     orderClassesAndCounslers.ClassesNumber = classesNumber;
     orderClassesAndCounslers.CounslerNumber = counslerNumber;
     orderClassesAndCounslers.Price = price;
     orderClassesAndCounslers.RowVersion = rowVersion;
     return orderClassesAndCounslers;
 }