/// <summary> /// Deprecated Method for adding a new object to the LogErrors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLogErrors(LogError logError) { base.AddObject("LogErrors", logError); }
/// <summary> /// Create a new LogError object. /// </summary> /// <param name="logID">Initial value of the LogID property.</param> /// <param name="occuranceDate">Initial value of the OccuranceDate property.</param> /// <param name="errorLevel">Initial value of the ErrorLevel property.</param> /// <param name="lineNumberOnMainForm">Initial value of the LineNumberOnMainForm property.</param> /// <param name="lineNumber">Initial value of the LineNumber property.</param> /// <param name="vPNIP">Initial value of the VPNIP property.</param> public static LogError CreateLogError(global::System.Int32 logID, global::System.DateTime occuranceDate, global::System.Int32 errorLevel, global::System.Int32 lineNumberOnMainForm, global::System.Int32 lineNumber, global::System.Int32 vPNIP) { LogError logError = new LogError(); logError.LogID = logID; logError.OccuranceDate = occuranceDate; logError.ErrorLevel = errorLevel; logError.LineNumberOnMainForm = lineNumberOnMainForm; logError.LineNumber = lineNumber; logError.VPNIP = vPNIP; return logError; }