> 1. Create a DataContext instance.
> 2. Create the Expression tree (via System.Core)
> 3. Convert the Expression tree into a query.
> 4. Convert the query into a SQL statement.
> 5. Execute the SQL.
>
> Step 1 is lines 3-4, taking 348820 ticks.

Unlike others, step 1 is speed probably exponentially  depends from the 
number of tables in DataContext class:

If DataContext contains 2 times more tables, number of relations (class 
members) will typically increase 4 times and thus DataContext constructor 
speed will decrease also 4 times.

Andrus Moor 


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

Reply via email to