/// <summary>
 /// Create a new Tariff object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Tariff CreateTariff(global::System.Int32 id, global::System.String name)
 {
     Tariff tariff = new Tariff();
     tariff.Id = id;
     tariff.Name = name;
     return tariff;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Tariffs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTariffs(Tariff tariff)
 {
     base.AddObject("Tariffs", tariff);
 }