Exemplo n.º 1
0
        /// <summary>
        /// Create a new LoggerInformation object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="userName">Initial value of the UserName property.</param>
        /// <param name="requestUrl">Initial value of the RequestUrl property.</param>
        /// <param name="browser">Initial value of the Browser property.</param>
        /// <param name="requestType">Initial value of the RequestType property.</param>
        /// <param name="userHostAddress">Initial value of the UserHostAddress property.</param>
        public static LoggerInformation CreateLoggerInformation(global::System.Int32 id, global::System.String userName, global::System.String requestUrl, global::System.String browser, global::System.String requestType, global::System.String userHostAddress)
        {
            LoggerInformation loggerInformation = new LoggerInformation();

            loggerInformation.Id              = id;
            loggerInformation.UserName        = userName;
            loggerInformation.RequestUrl      = requestUrl;
            loggerInformation.Browser         = browser;
            loggerInformation.RequestType     = requestType;
            loggerInformation.UserHostAddress = userHostAddress;
            return(loggerInformation);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LoggerInformations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLoggerInformations(LoggerInformation loggerInformation)
 {
     base.AddObject("LoggerInformations", loggerInformation);
 }