Rhino Security and NH are best friends forever.  Breaking the NH
dependency would be non-trivial as RS actually adds its domain objects
into your NH config.'

RS is a great project, but at this point it would take some real
commitment to move it forward to work with other ORMs.  In the
short-term, it would be great if someone would look at making the add
permissions to query work with NHLinq

On Wed, Jun 1, 2011 at 6:01 AM, Eswann <[email protected]> wrote:
> Duh!  Sorry it was late, I meant "RS".
>
> On Jun 1, 12:23 am, Ayende Rahien <[email protected]> wrote:
>> RSB and NH are totally different topics, RSB has nothing to do with data
>> access.
>> Assuming that you are talking about Rhino Service Bus
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Jun 1, 2011 at 6:43 AM, Eswann <[email protected]> wrote:
>> > Nathan, I'm new to RSB, just checking it out, but would it be possible
>> > to take more of a provider approach so that a provider could be added
>> > for NH2, NH3, NH3.1, EF, etc...?  Basically so that it's easier to use
>> > in a project using a specific ORM.  Or is NH just to interwoven
>> > through RSB to make it worth attempting that type of model?  If it was
>> > feasible, I'd consider taking a look.
>>
>> > Thanks,
>> > E
>>
>> > On May 14, 9:45 am, Nathan Stott <[email protected]> wrote:
>> > > You can use RS with NH3 without recompiling it with the NH3 library?
>> > > That doesn't sound right.  It should certainly work with NH3 criteria
>> > > if you recompile using NH3 dependency though.
>>
>> > > Oren isn't using RS any longer except in existing projects.  The same
>> > > is true of me.  Oren passed the torch of RS to me to watch over it and
>> > > simply accept commits that fix issues.  If you want to actively
>> > > develop RS, I will be happy to pass the torch to you.
>>
>> > > On Fri, May 13, 2011 at 11:34 AM, Raif <[email protected]> wrote:
>> > > > Hi, in looking at this further, it seems that you can actually use
>> > > > criteria in NH3 the same way as you would in NH2.1.  And as such the
>> > > > RS can be used fully in with NH3.
>> > > > It might be nice to build the QueryOver stuff into it, in fact it
>> > > > certainly would because QueryOver is strongly typed and criteria uses
>> > > > strings, but it is not necessary.  Furthermore, I don't believe you
>> > > > can use linq with the QueryOver stuff but you can with the ICriteria
>> > > > stuff.  It's a tough call.
>> > > > I think if someone can show me that you can use linq with the
>> > > > queryover I would build an AuthorizationRepository that used it.  But
>> > > > unless you can some how turn an IQueryable<T> into a QueryOver<T,T> I
>> > > > don't see how.
>> > > > R
>>
>> > > > On May 12, 4:33 pm, Raif <[email protected]> wrote:
>> > > >> hrumph.
>> > > >> that sucks.
>> > > >> Essentially with out these features RS days are numbered.
>> > > >> so
>> > > >> 1) what is Oren doing?  I presume he's still using it and I presume
>> > > >> he's using NH3
>> > > >> 2) It would seem that the changes to make it compatible with NH3 are/
>> > > >> would be to change any method that returns an ICriteria to instead
>> > > >> return an IQueryOver<T,T>.  This I believe would be the private
>> > > >> GetPermissionQueryInternal methods. they would take the same args but
>> > > >> use the queryover to build up the IQueryOver<T,T>.
>> > > >> Does this sound right or would it involve a lot more?
>> > > >> Thanks,
>> > > >> Raif
>>
>> > > >> On May 12, 3:14 pm, Nathan Stott <[email protected]> wrote:
>>
>> > > >> > On Thu, May 12, 2011 at 3:03 PM, Raif <[email protected]> wrote:
>> > > >> > > So I guess my questions are
>> > > >> > > 1) Can I use RS and NH3 and linq?
>>
>> > > >> > No
>>
>> > > >> > > 2) Can I use RS and NH3 and Criteria?
>>
>> > > >> > No
>>
>> > > >> > > 3) Can I even use RS and NH3 or does it need to be refactored to
>> > use
>> > > >> > > NH3.
>>
>> > > >> > Needs to be refacoted to use NH3.  It currently uses NH 2.1.0.4000
>>
>> > > >> > > 4) Should I look at extending the RSRepository to use linq or will
>> > > >> > > that kill all the level 2 cache stuff and/or is that a huge
>> > > >> > > undertaking.
>>
>> > > >> > If you are interested in doing this refactor, it would be much
>> > > >> > welcomed by RS users and may even promote a renaissance of RS usage.
>> > > >> > It will not be trivial
>>
>> > > > --
>> > > > You received this message because you are subscribed to the Google
>> > Groups "Rhino Tools Dev" 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 athttp://
>> > groups.google.com/group/rhino-tools-dev?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Rhino Tools Dev" 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/rhino-tools-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Rhino Tools Dev" 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/rhino-tools-dev?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" 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/rhino-tools-dev?hl=en.

Reply via email to