/// <summary>
 /// Create a new LogRecord object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="eventDateTime">Initial value of the EventDateTime property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="eventContext">Initial value of the EventContext property.</param>
 /// <param name="eventResult">Initial value of the EventResult property.</param>
 /// <param name="eventType">Initial value of the EventType property.</param>
 public static LogRecord CreateLogRecord(global::System.Int32 id, global::System.DateTime eventDateTime, global::System.String userName, global::System.String eventContext, global::System.String eventResult, global::System.String eventType)
 {
     LogRecord logRecord = new LogRecord();
     logRecord.Id = id;
     logRecord.EventDateTime = eventDateTime;
     logRecord.UserName = userName;
     logRecord.EventContext = eventContext;
     logRecord.EventResult = eventResult;
     logRecord.EventType = eventType;
     return logRecord;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the LogRecordSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLogRecordSet(LogRecord logRecord)
 {
     base.AddObject("LogRecordSet", logRecord);
 }