Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DataLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDataLogs(DataLog dataLog)
 {
     base.AddObject("DataLogs", dataLog);
 }
 public void AddToDataLogs(DataLog record)
 {
     _context.AddToDataLogs(record);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Create a new DataLog object.
 /// </summary>
 /// <param name="dataLogId">Initial value of the DataLogId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="operationTime">Initial value of the OperationTime property.</param>
 /// <param name="tableName">Initial value of the TableName property.</param>
 /// <param name="recordId">Initial value of the RecordId property.</param>
 /// <param name="operation">Initial value of the Operation property.</param>
 /// <param name="details">Initial value of the Details property.</param>
 public static DataLog CreateDataLog(global::System.Int32 dataLogId, global::System.Int32 userId, global::System.DateTime operationTime, global::System.String tableName, global::System.Int32 recordId, global::System.String operation, global::System.String details)
 {
     DataLog dataLog = new DataLog();
     dataLog.DataLogId = dataLogId;
     dataLog.UserId = userId;
     dataLog.OperationTime = operationTime;
     dataLog.TableName = tableName;
     dataLog.RecordId = recordId;
     dataLog.Operation = operation;
     dataLog.Details = details;
     return dataLog;
 }