예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ScrapReasons EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToScrapReasons(ScrapReason scrapReason)
 {
     base.AddObject("ScrapReasons", scrapReason);
 }
예제 #2
0
 /// <summary>
 /// Create a new ScrapReason object.
 /// </summary>
 /// <param name="scrapReasonID">Initial value of the ScrapReasonID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static ScrapReason CreateScrapReason(global::System.Int16 scrapReasonID, global::System.String name, global::System.DateTime modifiedDate)
 {
     ScrapReason scrapReason = new ScrapReason();
     scrapReason.ScrapReasonID = scrapReasonID;
     scrapReason.Name = name;
     scrapReason.ModifiedDate = modifiedDate;
     return scrapReason;
 }