I compare EF and typed datasets for their usefulness. I did not understand why you should use EF for typed datasets if EF is attached only to SQL Server. But is it true that Linq expressions in EF have been evaluated recently in the sense that if you did something like:
db.Customers.where(c => c.Name == "John Smith")
EF will create a query such as:
select * from Customers where Name = 'John smith'
But with typed datasets you can write:
bll.GetCustomers().where(c => c.Name == "John Smith")
This is very similar, but the difference is that it starts the first time:
select * from Customers
And then, using the standard collection library, find the lines containing the name: "John Smith." In theory, the value of EF will be more effective.
Is it correct?
c # entity-framework strongly-typed-dataset
James hulse
source share