Hi Andrus,
there's a GetCommand() method in DataContext. Unfortunately it is not
implemented yet :(
Anyway it should be quite easy to implement... Any volunteer?

Pascal.

On Sun, Sep 21, 2008 at 10:08, Andrus <[EMAIL PROTECTED]> wrote:

>
> I need to pass DbLinq query to RDLDEsigner.
> RDLDesigner does not accept IQueryable<T>.
> It accepts SQL select statement in plain text format as data source.
>
> How to get SELECT statement which corresponds to DbLinq query
> as plain text as it is being sent to server ?
>
> How to create method which allows to grab the sql statement which is being
> passed to DataReader without executing DataReader and opening connection?
>
> Something like
>
> Northwind.Customers.Select().GetCommandText()
>
>
> Andrus.
>
>
> >
>


-- 
Pascal.

jabber/gtalk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to