/// <summary>
 /// Create a new ConsumptionType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 public static ConsumptionType CreateConsumptionType(global::System.Int32 id, global::System.String code)
 {
     ConsumptionType consumptionType = new ConsumptionType();
     consumptionType.ID = id;
     consumptionType.Code = code;
     return consumptionType;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ConsumptionTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConsumptionTypes(ConsumptionType consumptionType)
 {
     base.AddObject("ConsumptionTypes", consumptionType);
 }