/// <summary> /// Creates and returns an <see cref="AseCommand" /> object associated with the <see cref="AseConnection" />. /// </summary> /// <returns>An <see cref="AseCommand" /> object.</returns> public new AseCommand CreateCommand() { if (_isDisposed) { throw new ObjectDisposedException(nameof(AseConnection)); } _eventNotifier?.ClearResultHandlers(); var aseCommand = new AseCommand(this) { EventNotifier = _eventNotifier }; return(aseCommand); }