Last post Dec 18, 2012 08:24 PM by Decker Dong - MSFT
Dec 17, 2012 09:44 AM|kuria|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 12:41 AM|Decker Dong - MSFT|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 02:56 AM|kuria|LINK
I know that others ways exists.. So EntityDatasource is less efficienty compared to LinqDataSource and there is nothing to do, correct?
Dec 18, 2012 08:24 PM|Decker Dong - MSFT|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.