Re: [Firebird-net-provider] EF handling - as string parameter

2017-05-02 Thread Daniel Rail
Hi, At May 2, 2017, 7:55 AM, Jiří Činčura wrote: >> Can you please add 1 line to describe the difference between using {0} >> vs. @p0 ? > Well, AFAIK only the @p0 is supported. Maybe the {0} works as well, but > I know only about the @p0 from documentation. Of course we can check EF6 > sources,

Re: [Firebird-net-provider] EF handling - as string parameter

2017-05-02 Thread Jiří Činčura
> Can you please add 1 line to describe the difference between using {0} > vs. @p0 ? Well, AFAIK only the @p0 is supported. Maybe the {0} works as well, but I know only about the @p0 from documentation. Of course we can check EF6 sources, but I'm too lazy to do that. :D -- Mgr. Jiří Činčura htt

Re: [Firebird-net-provider] EF handling - as string parameter

2017-05-02 Thread Nikolaus Kern
> Niko > > -Ursprüngliche Nachricht- > Von: Jiří Činčura [mailto:j...@cincura.net] > Gesendet: Dienstag, 2. Mai 2017 10:02 > An: firebird-net-provider@lists.sourceforge.net > Betreff: Re: [Firebird-net-provider] EF handling - as string parameter > > You should

Re: [Firebird-net-provider] EF handling - as string parameter

2017-05-02 Thread Jiří Činčura
GE WHERE > > PRODUKTIONSSTATUS NOT IN ('Abgeschlossen','Storno') AND > > AUSLASTUNG_GEHOERT_ZU = {0} ORDER BY PRODUKTIONSAUFTRAG_ID"; tmpPPA = > > this._ctx.LPP_PRODUKTIONSAUFTRAEGE.SqlQuery(ppaQuery, > > this.CurrentHalle).ToList(); > > > > Niko > > &

Re: [Firebird-net-provider] EF handling - as string parameter

2017-05-02 Thread Nikolaus Kern
t- Von: Jiří Činčura [mailto:j...@cincura.net] Gesendet: Dienstag, 2. Mai 2017 10:02 An: firebird-net-provider@lists.sourceforge.net Betreff: Re: [Firebird-net-provider] EF handling - as string parameter You should use @p0 instead of {0} (https://msdn.microsoft.com/en-us/library/system.data.entity

Re: [Firebird-net-provider] EF handling - as string parameter

2017-05-02 Thread Jiří Činčura
- > Von: Jiří Činčura [mailto:j...@cincura.net] > Gesendet: Dienstag, 2. Mai 2017 09:43 > An: firebird-net-provider@lists.sourceforge.net > Betreff: Re: [Firebird-net-provider] EF handling - as string parameter > > What parameter

Re: [Firebird-net-provider] EF handling - as string parameter

2017-05-02 Thread Nikolaus Kern
stag, 2. Mai 2017 09:43 An: firebird-net-provider@lists.sourceforge.net Betreff: Re: [Firebird-net-provider] EF handling - as string parameter What parameter? I don't see any parameter in the query. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ ---

Re: [Firebird-net-provider] EF handling - as string parameter

2017-05-02 Thread Jiří Činčura
What parameter? I don't see any parameter in the query. -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://s