/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Awards EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAwards(Award award) { base.AddObject("Awards", award); }