Hello all,

 

I am using Firebird 2.5.x (in 32 and 64bit) with a WPF .net application and
entity framework. 

 

The WPF application uses MVVM and has a viewmodel (that owns the context)
and a model (that shares the context of the viewmodel.

 

I have recognized that I get this error message in firebird.log:

BAURADAR (Server)      Mon Oct 26 13:48:38 2015           INET/inet_error:
read errno = 10054

 

What is the correct way to close the connection in a way that this error
does not pop up?

 

I tried already to close it explizitly in the desctructor of the viewmodel,
but it did not change anything:

 

DESTRUCTOR()

 

IF SELF:_efContext:Database:Connection:State == ConnectionState.Open

SELF:_efContext:Database:Connection:Close()

SELF:_efContext:Database:Connection:Dispose()

SELF:_efContext:Dispose()

ENDIF

 

RETURN

 

Thanks

 

Niko

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to