TehBoyan
TehBoyan

Reputation: 6890

LINQ and performance with typed and untyped datasets?

Has anybody had a chance to compare and measure performance of LINQ with typed and untyped datasets?

What are the internal implementation differences of these two. I know that LINQ-to-SQL uses expression trees to generate SQL from LINQ? Is there something similar with LINQ with untyped datasets?

I know that this might seem like a already asked question, but what I'm trying to find out is are there numbers that say for example use untyped datasets with LINQ instead of strongly typed ones or vice versa.

Upvotes: 2

Views: 802

Answers (1)

Andrey
Andrey

Reputation: 60065

There should not be any significant differences. Typed datasets are just codegenerated typed wrappers over traditional datasets. Also Linq doesn't generate SQL when querying datasets, because datasets are just objects in memory.

Upvotes: 1

Related Questions