/// <summary>
 /// Deprecated Method for adding a new object to the PayRecords EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPayRecords(PayRecord payRecord)
 {
     base.AddObject("PayRecords", payRecord);
 }
 /// <summary>
 /// Create a new PayRecord object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="action">Initial value of the Action property.</param>
 /// <param name="coins">Initial value of the Coins property.</param>
 /// <param name="actionTime">Initial value of the ActionTime property.</param>
 public static PayRecord CreatePayRecord(global::System.Int32 id, global::System.Guid userId, global::System.String action, global::System.Int32 coins, global::System.DateTime actionTime)
 {
     PayRecord payRecord = new PayRecord();
     payRecord.Id = id;
     payRecord.UserId = userId;
     payRecord.Action = action;
     payRecord.Coins = coins;
     payRecord.ActionTime = actionTime;
     return payRecord;
 }