/// <summary> /// Create a new Airplane object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="engineCount">Initial value of the EngineCount property.</param> public static Airplane CreateAirplane(global::System.Int32 id, global::System.String name, global::System.Int32 engineCount) { Airplane airplane = new Airplane(); airplane.Id = id; airplane.Name = name; airplane.EngineCount = engineCount; return airplane; }
/// <summary> /// Deprecated Method for adding a new object to the Airplanes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAirplanes(Airplane airplane) { base.AddObject("Airplanes", airplane); }