I am having a problem with .Net provider 2.5.2 and Delphi Prism 2010. I can't seem to compile this statement:

FbTransaction trans := connection.BeginTransaction(FbTransactionOptions.ReadCommitted);

I get an error:

Error 1 (PE223) "FirebirdSql.Data.FirebirdClient.FbTransactionOptions" does not contain a definition for "ReadCommitted" in expression "FirebirdSql.Data.FirebirdClient.FbTransactionOptions.ReadCommitted" C:\Users\psteve\Documents\Visual Studio 2008\Projects\ADOTest\ADOTest\Main.pas 74 62 ADOTest

I was suspicious because none of the members of FbTransactionOptions show up in the code completion popup.

I must be doing something wrong, but I can't figure out what.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to