예제 #1
0
 internal ConnectionEventArgs(SQLiteConnectionEventType eventType, StateChangeEventArgs eventArgs, IDbTransaction transaction, IDbCommand command, IDataReader dataReader, System.Runtime.InteropServices.CriticalHandle criticalHandle, string text, object data)
 {
     this.EventType      = eventType;
     this.EventArgs      = eventArgs;
     this.Transaction    = transaction;
     this.Command        = command;
     this.DataReader     = dataReader;
     this.CriticalHandle = criticalHandle;
     this.Text           = text;
     this.Data           = data;
 }
 /// <summary>
 /// Constructs the object.
 /// </summary>
 /// <param name="eventType">The type of event being raised.</param>
 /// <param name="eventArgs">The base <see cref="EventArgs" /> associated
 /// with this event, if any.</param>
 /// <param name="transaction">The transaction associated with this event, if any.</param>
 /// <param name="command">The command associated with this event, if any.</param>
 /// <param name="text">The command or message text, if any.</param>
 /// <param name="data">The extra data, if any.</param>
 internal ConnectionEventArgs(
     SQLiteConnectionEventType eventType,
     StateChangeEventArgs eventArgs,
     IDbTransaction transaction,
     IDbCommand command,
     string text,
     object data
     )
 {
     EventType = eventType;
     EventArgs = eventArgs;
     Transaction = transaction;
     Command = command;
     Text = text;
     Data = data;
 }