Exemple #1
0
 /// <summary>
 /// Create a new Score object.
 /// </summary>
 /// <param name="scoreID">Initial value of the ScoreID property.</param>
 /// <param name="dJID">Initial value of the DJID property.</param>
 /// <param name="songID">Initial value of the SongID property.</param>
 /// <param name="eXScore">Initial value of the EXScore property.</param>
 /// <param name="stamp">Initial value of the Stamp property.</param>
 public static Score CreateScore(global::System.Int32 scoreID, global::System.Int32 dJID, global::System.Int32 songID, global::System.Int32 eXScore, global::System.DateTime stamp)
 {
     Score score = new Score();
     score.ScoreID = scoreID;
     score.DJID = dJID;
     score.SongID = songID;
     score.EXScore = eXScore;
     score.Stamp = stamp;
     return score;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Scores EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToScores(Score score)
 {
     base.AddObject("Scores", score);
 }