예제 #1
0
파일: KdbPlusCommand.cs 프로젝트: sv/kp.net
 /// <summary>
 /// Initializes a new instance of the <see cref="KdbPlusCommand"/> class.
 /// </summary>
 /// <param name="commandText">The command text.</param>
 /// <param name="connection">The connection.</param>
 public KdbPlusCommand(string commandText, KdbPlusConnection connection)
 {
     Guard.ThrowIfNull(connection, "connection");
     _commandText = commandText;
     _connection  = connection;
     _parameters.ParametersChanged += ClearPreparedValues;
 }
예제 #2
0
파일: KdbPlusCommand.cs 프로젝트: sv/kp.net
 /// <summary>
 /// Initializes a new instance of the <see cref="KdbPlusCommand"/> class.
 /// </summary>
 /// <param name="connection">The connection.</param>
 public KdbPlusCommand(KdbPlusConnection connection) : this(null, connection)
 {
 }