Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Reasons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReasons(Reason reason)
 {
     base.AddObject("Reasons", reason);
 }