/// <summary> /// Create a new Mission object. /// </summary> /// <param name="mID">Initial value of the MID property.</param> /// <param name="oID">Initial value of the OID property.</param> /// <param name="manager">Initial value of the Manager property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="eID">Initial value of the EID property.</param> public static Mission CreateMission(global::System.Int32 mID, global::System.Int32 oID, global::System.Int32 manager, global::System.String description, global::System.DateTime startDate, global::System.Int32 eID) { Mission mission = new Mission(); mission.MID = mID; mission.OID = oID; mission.Manager = manager; mission.Description = description; mission.StartDate = startDate; mission.EID = eID; return mission; }
/// <summary> /// Deprecated Method for adding a new object to the Mission EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMission(Mission mission) { base.AddObject("Mission", mission); }
/// <summary> /// Create a new Mission object. /// </summary> /// <param name="mID">Initial value of the MID property.</param> /// <param name="oID">Initial value of the OID property.</param> /// <param name="manager">Initial value of the Manager property.</param> /// <param name="description">Initial value of the Description property.</param> public static Mission CreateMission(global::System.Byte mID, global::System.Byte oID, global::System.Byte manager, global::System.String description) { Mission mission = new Mission(); mission.MID = mID; mission.OID = oID; mission.Manager = manager; mission.Description = description; return mission; }