Last post Jan 29, 2014 09:32 AM by sjnaughton
Jan 02, 2014 02:50 AM|zzdfc|LINK
How to remake DD project with Model Binding to adapt EF6?
Jan 02, 2014 09:40 PM|Happy Chen - MSFT|LINK
hi zzdfc ,
Had you tried to use Code First?
The default Code First Conventions determine things like which property becomes the primary key of an entity, the name of the table an entity maps to, and what precision and scale a decimal column
has by default. Custom Code First Conventions let you define your own conventions that provide configuration defaults for your model.
Please refer to the link below for more information:
Custom Code First Conventions
Hope it helps you.
Jan 02, 2014 09:48 PM|zzdfc|LINK
Hi Happy Chen:
I have used Database First.
I want to remakd my DD project with Model Binding because EF6 don't support EntityDataSource for Dynamic Data.
Jan 03, 2014 03:38 AM|galeny|LINK
if you use Database First, i think it is impossible to make DD project with Model Binding to EF6. i suggest you using Code First.
You can refer to the link for details:
EF6 support for ASP.NET WebForms EntityDataSource
Jan 03, 2014 05:21 AM|sjnaughton|LINK
Hi zzdfc, I this you have to create ALL you pages manually at the moment, I know the team were looking into creating a project template for that but I don't think they have gotten anywhere yet.
Jan 15, 2014 04:44 AM|zzdfc|LINK
You can give me website of the team that were looking into creating a project template for that,please?
Jan 15, 2014 05:58 AM|sjnaughton|LINK
hi zzdfc,there is currently an issue with EF6 and Wef Forms, there will be an update to the EntityDataSource soon I believe and then it will be straight forward. Oops wrong thread if you look at the videos
on model binding from Build13 etc. on channel 9 you shoulds get all you need.
Jan 29, 2014 08:48 AM|zzdfc|LINK
Can you give me a link of the videos on model binding from Build13,please?
Jan 29, 2014 09:32 AM|sjnaughton|LINK
i think that would be here
What’s New in ASP.NET and Visual Studio 2013 but it may be this instead
Create rich, data-driven Web apps with ASP.NET 4.5 Web Forms from //Build11