Hello: > 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. ;) This could be done, but it should be conifigurable from connection string ( or any other place ) > * In FbCommand class add some code that will match to parameters without > '@'. This needs probably more work, but it's IMHO more robust. This is not going to happen as it could give more problems than solutions ;)
Right now there are two ways to define the parameters now, named and with place holder and i think there are 0 problem with the actual way they work ( the only problem could be with the ddex provider at design time ) -- Carlos Guzmán Álvarez Vigo-Spain http://carlosga.wordpress.com ------------------------------------------------------------------------- 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