Hello:
> OK i found the solution in fact when a control do a databind with a
> datareader the overiden GetEnumerator is called and now it returns "New
> Dbenumerator(this)"  or it sould return "New
> DbEnumerator(this,(CommandBehavior.Default !=
> (CommandBehavior.CloseConnection & this._behavior)));"
>
> Thanks a lot Carlos for you help and please tell me if this solution is good
> for you ?
What about this one:

  return new DbEnumerator(this, 
this.IsCommandBehavior(CommandBehavior.CloseConnection));




-- 
Carlos Guzmán Álvarez
Vigo-Spain

http://carlosga.blogspot.com/

No hay un solo rey que no descienda de un esclavo, 
ni un esclavo que no haya tenido reyes en su familia.



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

Reply via email to