/// <summary>
 /// Deprecated Method for adding a new object to the ScorePublishes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToScorePublishes(ScorePublish scorePublish)
 {
     base.AddObject("ScorePublishes", scorePublish);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new ScorePublish object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="provinceId">Initial value of the ProvinceId property.</param>
 /// <param name="publishDate">Initial value of the PublishDate property.</param>
 public static ScorePublish CreateScorePublish(global::System.Int32 id, global::System.Guid provinceId, global::System.DateTime publishDate)
 {
     ScorePublish scorePublish = new ScorePublish();
     scorePublish.Id = id;
     scorePublish.ProvinceId = provinceId;
     scorePublish.PublishDate = publishDate;
     return scorePublish;
 }