Hi all. This is an NH off topic but it is C# and programming anyway.

Let's suppose:

var blog = dao.GetBlog(1); //Blog has posts

string s = "blog.Posts.Sum(p => p.NumOfVisitors)";

or

string s = "Posts.Sum(p => p.NumOfVisitors)"; // considering blog as
the root object

What is the best way to translate this string in code dynamically?
This is only a simple example but it is near of what I want.

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