Alternatively, adjust the search code to remove any prefix @ characters before doing a search, or append, whichever route you think is more suitable for the internal storage (not sure how it's stored at the moment, but assuming @test)?
Kind regards, Scott :) Jiri Cincura wrote: > Hi *, > > I've looked (a little bit for now) into code and trying to find some > clean solution. > > Now I have in my mind 2 ideas. > > * First is adding small piece of code info FbParameter's ctor, that will > prepend the parameterName with '@' if there isn't '@' (of course we have > to discuss some cases, like parameters with generated names, etc.) > - This maybe bring some problems, when you create parameter "test" > and in fact, it will be saved like "@test" so later, if you'll try to > find them you will get some surprise. ;) > > * In FbCommand class add some code that will match to parameters without > '@'. This needs probably more work, but it's IMHO more robust. > > Comments? Ideas? > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider