/// <summary> /// Deprecated Method for adding a new object to the FuelTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFuelTypes(FuelType fuelType) { base.AddObject("FuelTypes", fuelType); }
private bool FilterFuelType(FuelType entity) { return (entity.FuelTypeId == this.FuelTypeId); }
/// <summary> /// Create a new FuelType object. /// </summary> /// <param name="fuelTypeId">Initial value of the FuelTypeId property.</param> public static FuelType CreateFuelType(global::System.Int32 fuelTypeId) { FuelType fuelType = new FuelType(); fuelType.FuelTypeId = fuelTypeId; return fuelType; }