如果我连接到一个嵌入式的Firebird数据库,并创建一个远程事件,我会在构造函数上得到 System.NotSupportedException: Specified method is not supported. 的错误提示。
_fbRemoteEvent = new FbRemoteEvent(_fbConnection); //_fbConnection is valid and Opened
查看调用堆栈的源代码,它会引导到FesDatabase.cs。
RemoteEvent IDatabase.CreateEvent()
{
throw new NotSupportedException();
}
我使用嵌入式版本进行自动化测试...是否有办法在测试上下文中从嵌入式数据库获取事件?