Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 19, 2012 12:24 AM by Decker Dong - MSFT
Dec 17, 2012 01:44 PM|LINK
Hi. I just migrate from LinqToSql Dynamic data to EntityDataSourceDynamic Data. I have some problem to work with EntityDatasource
1) In entityDataSource I cannot assign a linqQuery with Join in selecting event (i know that now is QueryCreated Event, but the problem is teh join)
2) In LinqToEntity i cannot use conversion on the fly. ES i cannot write from a on datacontext.b where a.id=int.parse(textbox.text)
3) In EntityDataSource i cannot autogenerate the function where with wizard
exist a "Power" version of EntityDataSource or somethink that works like linqDataSource? I know that MS select EntityFramework and left LinqToSql, but why the datasource is so bad?
Dec 18, 2012 04:41 AM|LINK
In EntityDataSource i cannot autogenerate the function where with wizard
If you wanna use your own defined function, you should please create a Stored Procdure first and then when generating an edmx file, please import this function first and then you can use that in EntityDataSource.
Maybe you can also consider View in SQL.
Dec 18, 2012 06:56 AM|LINK
I know that others ways exists.. So EntityDatasource is less efficienty compared to LinqDataSource and there is nothing to do, correct?
Dec 19, 2012 12:24 AM|LINK
So EntityDatasource is less efficienty compared to LinqDataSource and there is nothing to do, correct?
Not so absolutely. EF is facing with building an OOP-based programming struture. Compared with this, LinqDatasource is a "lighter" one. So they quite differ from each other.