コード例 #1
0
 /// <summary>
 /// Create a new Award object.
 /// </summary>
 /// <param name="titleId">Initial value of the TitleId property.</param>
 /// <param name="id">Initial value of the Id property.</param>
 public static Award CreateAward(global::System.Int32 titleId, global::System.Int32 id)
 {
     Award award = new Award();
     award.TitleId = titleId;
     award.Id = id;
     return award;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Awards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAwards(Award award)
 {
     base.AddObject("Awards", award);
 }