示例#1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Log4NetLogEntry"/> class.
        /// from data reader row and dictionary instance
        /// </summary>
        /// <param name="reader">Data Reader instance</param>
        /// <param name="hDict">Dictionary instance with key values</param>
        public Log4NetLogEntry(DbDataReader dr, IDictionary <string, int> hDict)
        {
            this.LogProvider = LogProviderType.Log4Net;
            this.Occurrences = 1;

            Log4NetLogEntry current = this;

            this.setFromDataReader(dr, ref current, ref hDict);
        }
示例#2
0
 /// <summary>
 /// Sets a new instance of the Log
 /// from data reader row
 /// </summary>
 /// <param name="reader">Data Reader instance</param>
 /// <param name="prevObject">Previous instance of Log</param>
 /// <param name="hDict">Dictionary instance with key values</param>
 public void setFromDataReader(DbDataReader dr, ref Log4NetLogEntry prevObject, ref IDictionary <string, int> hDict)
 {
 }