/// <summary> /// Create a new Reason object. /// </summary> /// <param name="reasonID">Initial value of the ReasonID property.</param> public static Reason CreateReason(global::System.Int32 reasonID) { Reason reason = new Reason(); reason.ReasonID = reasonID; return reason; }
/// <summary> /// Deprecated Method for adding a new object to the Reasons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReasons(Reason reason) { base.AddObject("Reasons", reason); }