/// <summary> /// Deprecated Method for adding a new object to the Productions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductions(Production production) { base.AddObject("Productions", production); }
/// <summary> /// Create a new Production object. /// </summary> /// <param name="idProduction">Initial value of the idProduction property.</param> /// <param name="idHeatHistory">Initial value of the idHeatHistory property.</param> /// <param name="active">Initial value of the Active property.</param> /// <param name="insDateTime">Initial value of the InsDateTime property.</param> /// <param name="updDateTime">Initial value of the UpdDateTime property.</param> public static Production CreateProduction(global::System.Int32 idProduction, global::System.Int32 idHeatHistory, global::System.Boolean active, global::System.DateTimeOffset insDateTime, global::System.DateTimeOffset updDateTime) { Production production = new Production(); production.idProduction = idProduction; production.idHeatHistory = idHeatHistory; production.Active = active; production.InsDateTime = insDateTime; production.UpdDateTime = updDateTime; return production; }