Wow, nice... How come I didn't find anything in documentation.

 

Also, is there fetch join in active record?

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Roelof Blom
Sent: Monday, October 18, 2010 12:52 PM
To: [email protected]
Subject: Re: two questions

 

Inline

On Mon, Oct 18, 2010 at 9:59 AM, Ivan Bolčina <[email protected]> wrote:

Hi.

 

Two questions:

1.       Is there a LINQ to Caste active record?

Yes, use the extension methods in 
Castle.ActiveRecord.Framework.ActiveRecordLinq,

or derive from ActiveRecordLinqBase<T>

2.       What is the best way to write simple queries like »...where name like 
'%john%' and age>10«

use the PredicateBuilder  
<http://www.albahari.com/nutshell/predicatebuilder.aspx> class on the 
IQueryable supplied by ActiveRecord

 

Thanks

 

Ivan Bolčina
SOFTWARE DEVELOPMENT
MANAGER

 <mailto:[email protected]> [email protected]

tel: +386 51 680 415

 



 <http://www.apida.si/> www.apida.si

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected] 
<mailto:castle-project-devel%[email protected]> .
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en.

 

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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/castle-project-devel?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" 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/castle-project-devel?hl=en.

<<image001.png>>

Reply via email to