/// <summary>
 /// Deprecated Method for adding a new object to the FuelTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFuelTypes(FuelTypes fuelTypes)
 {
     base.AddObject("FuelTypes", fuelTypes);
 }
Пример #2
0
 internal FuelType(DataModel.FuelTypes entity)
     : base(entity)
 {
     Debug.Assert(0 < entity.CreationTime); // NOTE: must be inited
 }
 /// <summary>
 /// Create a new FuelTypes object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static FuelTypes CreateFuelTypes(global::System.Guid id)
 {
     FuelTypes fuelTypes = new FuelTypes();
     fuelTypes.Id = id;
     return fuelTypes;
 }