Nov 9, 2010 at 6:17 AM
Edited Nov 10, 2010 at 1:27 PM
thank you guys
next question - how about next situation - we have conditions:
- 1condition I'm talking about views classes and dynamic SQL in runtime, because as you sad tables selections made
for --- simply a mechanism to pull data from the database using predefined stored procedures----
- 2 condition - server should dynamically generate sql from List<WhereFilter> - because it's foolish to make each select
methods for each possibly combination for view of 10 or more fields.
- What you can say as a solution in NHydrate? - May be lambda expressions or WHAT?
- 3 condition - how about transmitting List of <WhereParams> from rich client to server - in such case server can't receave lambda from
rest or wcf Data Service because we can't send it throw the service from client ..... or not ? What sould be as
interface from rich client to server ?
So the question may be like this - what should i use for such dynamic sql select command(condition1,condition2,condition3) ?
------> My answer was to get CodeEngine SelectQueryBuilder class and use simpliest enums and clauses as interface
betweeen server and rich client, may be even inside one container- as you wish(i use such method).
---------> But may be you can tell me something else to decide this problem ?
Main Question: Is that dynamic sql select command(condition1,condition2,condition3) ---- in you looking aims? or may be i've missed some option in the already generated
That's not to bother you I'm interesting in NHydrate and It's interesting for me ..... thanks for your patienсe )