Firebird Blobs
Dernier message 01 sept. 2008 03:35 par danielrail. 2 Réponses.
Version imprimable
Tri:
RetourRetour SuivantSuivant
Vous n'etes pas autorisé a poster une réponse.
Auteur Messages
danielrail
New Member
New Member
Posts:16

--
29 août 2008 06:49  
Hi,

I've just encountered a problem when dealing with binary BLOBs(BLOB SubType 0) with Firebird. It associates a BLOB field with the type System.Byte[]. The generated code for the "public static List<DTInfoClass> GetSearchData()" has the following line "DTInfoClass info = new DTInfoClass(dr.GetByte[]("BLOB_FieldName"))", and Visual Studio 2008 is complaining that dr.GetByte[]() is a syntax error. And, the parameter type of the constructor DTInfoClass is defined as System.Byte[]. How can a binary BLOB be read?

And, that is the only place in the data layer that VS is returning an error, on compilation and with error insight.

Daniel Rail
eurowise
Basic Member
Basic Member
Posts:205

--
01 sept. 2008 07:44  
Hi Daniel,

The current version of Code Complete does not deal properly with BLOB and binary fields. We will be looking into the issue and se how we can resolve it for the next release.

Regards

Philip

danielrail
New Member
New Member
Posts:16

--
01 sept. 2008 03:35  
Hi Philip,

Any idea when it's going to be available? It's just that I'm starting a project that will contain binary BLOB fields. Do you know of a work-around for the moment?

And, if you need a beat tester, let me know.

Daniel Rail
Vous n'etes pas autorisé a poster une réponse.

Active Forums 4.1
NOT LICENSED FOR PRODUCTION USE
www.activemodules.com
Connexion / Inscription