I did this:
Expression.Sql(String.Format("{{alias}}.domain_nm + '\' + {{alias}}.group_nm
in ({0})", getSqlInString(GroupNames)))

But I don't think that's the right way of going about it.

On Sat, Oct 11, 2008 at 7:54 AM, Scott Belchak <[EMAIL PROTECTED]> wrote:

> Thanks,
>
> does this accomplish the 'in' functionality of my SQL statement? It looks
> like it would take care of the first two, but not any after...
>
>
> On Sat, Oct 11, 2008 at 6:36 AM, Ayende Rahien <[EMAIL PROTECTED]> wrote:
>
>> ( Expression.Eq("Domain", domainName1) && Expression.Eq("Group",
>> groupName1) ||
>>   ( Expression.Eq("Domain", domainName2) && Expression.Eq("Group",
>> groupName2)
>>
>>
>> On Fri, Oct 10, 2008 at 8:07 PM, Scott Belchak <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> This is the SQL that I want to accomplish:
>>>
>>> WHERE domain_nm + '\' + group_nm in ('DOMAINNAME
>>> \USERNAME1','DOMAINNAME2\USERNAME2')
>>>
>>> I can't for the life of me find an appropriate Expression for this.
>>> Any ideas?
>>>
>>> Thanks!
>>>
>>>
>>>
>>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to