Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Records EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRecords(Record record)
 {
     base.AddObject("Records", record);
 }
Example #2
0
 /// <summary>
 /// Create a new Record object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="score">Initial value of the Score property.</param>
 /// <param name="levelId">Initial value of the LevelId property.</param>
 public static Record CreateRecord(global::System.Int32 id, global::System.String name, global::System.Int32 score, global::System.Int32 levelId)
 {
     Record record = new Record();
     record.Id = id;
     record.Name = name;
     record.Score = score;
     record.LevelId = levelId;
     return record;
 }