/// <summary> /// Deprecated Method for adding a new object to the ErrorLogs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToErrorLogs(ErrorLog errorLog) { base.AddObject("ErrorLogs", errorLog); }
/// <summary> /// Create a new ErrorLog object. /// </summary> /// <param name="errorLogId">Initial value of the ErrorLogId property.</param> /// <param name="errorType">Initial value of the ErrorType property.</param> /// <param name="iP">Initial value of the IP property.</param> /// <param name="fechaCreacion">Initial value of the FechaCreacion property.</param> public static ErrorLog CreateErrorLog(global::System.Int32 errorLogId, global::System.Int16 errorType, global::System.String iP, global::System.DateTime fechaCreacion) { ErrorLog errorLog = new ErrorLog(); errorLog.ErrorLogId = errorLogId; errorLog.ErrorType = errorType; errorLog.IP = iP; errorLog.FechaCreacion = fechaCreacion; return errorLog; }