> > But what is being done by SqlParameter when you create a parameter
> > without @ ?? it left the name as is or appends the @ at the beginning ??
> 
> That is the question. I've opened for this new thread.

Looking at the Reflector for SqlParameter, it's got two properties: the
public ParameterName, which just has whatever you constructed it with, or
whatever you assigned to it (with or without an '@'). So if you search for a
parameter, you search for the name you set it to.

Then it has a private ParameterNameFixed property, which prepends with an
'@' if required. This property is used wherever the '@' is actually
required.

Dean.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Jiri Cincura
> Sent: Tuesday, 30 January 2007 6:26 am
> To: For users and developers of the Firebird .NET providers
> Subject: Re: [Firebird-net-provider] Param symbol
> 
> Carlos Guzmán Álvarez wrote:
> > But what is being done by SqlParameter when you create a parameter
> > without @ ?? it left the name as is or appends the @ at the beginning ??
> 
> That is the question. I've opened for this new thread.
> 
> --
> Jiri {x2} Cincura
> http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.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



-------------------------------------------------------------------------
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

Reply via email to