How to use events on an Embedded Firebird database connection?

If I connect to the embedded Firebird database and raise a remote event, I get a System.NotSupportedException: the specified method is not supported .. in the constructor.

_fbRemoteEvent = new FbRemoteEvent(_fbConnection);  //_fbConnection is valid and Opened

Looking at the source code from the call stack, it leads to FesDatabase.cs with

RemoteEvent IDatabase.CreateEvent()
{
    throw new NotSupportedException();
}

I use the built-in version for automated testing purposes ... What can I do to get an event from the built-in database in the context of the test?

+3
source share
2 answers

, , Firebird - . , FB - , .

-1

Firebird Embedded, Firebird ado.net(FirebirdSql.Data.FirebirdClient) Firebird Embedded.

0

Source: https://habr.com/ru/post/1780190/


All Articles