Click here to Skip to main content
15,908,015 members
Home / Discussions / Web Development
   

Web Development

 
QuestionEF6 and MVC - Models *and* ViewModels? Pin
#realJSOP24-Oct-17 4:58
professional#realJSOP24-Oct-17 4:58 
So why don't they have models *and* viewmodels in MVC (like they promote for WPF).

It seems to me that if you use the EF6 designer to create your entities, you don't want to go mucking around in the generated code, adding attributes for use in a MVC view for instance.

Am I looking at this wrong?

For people that use the EF designer, do you abandon it once your entities are fairly complete/robust, and then add attributes for views?
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

PraiseRe: EF6 and MVC - Models *and* ViewModels? Pin
Richard Deeming24-Oct-17 5:30
mveRichard Deeming24-Oct-17 5:30 
GeneralRe: EF6 and MVC - Models *and* ViewModels? Pin
#realJSOP24-Oct-17 6:36
professional#realJSOP24-Oct-17 6:36 
GeneralRe: EF6 and MVC - Models *and* ViewModels? Pin
Richard Deeming24-Oct-17 6:40
mveRichard Deeming24-Oct-17 6:40 
AnswerRe: EF6 and MVC - Models *and* ViewModels? Pin
Nathan Minier25-Oct-17 1:47
professionalNathan Minier25-Oct-17 1:47 
Questionpassword hasher Pin
Member 1347817421-Oct-17 20:38
Member 1347817421-Oct-17 20:38 
QuestionRe: password hasher Pin
Richard MacCutchan23-Oct-17 2:48
mveRichard MacCutchan23-Oct-17 2:48 
QuestionWhat do y'all use for prototyping Pin
#realJSOP19-Oct-17 5:52
professional#realJSOP19-Oct-17 5:52 
QuestionIt's probably just me... Pin
#realJSOP18-Oct-17 2:39
professional#realJSOP18-Oct-17 2:39 
AnswerRe: It's probably just me... Pin
Nathan Minier23-Oct-17 1:25
professionalNathan Minier23-Oct-17 1:25 
GeneralRe: It's probably just me... Pin
#realJSOP23-Oct-17 4:45
professional#realJSOP23-Oct-17 4:45 
GeneralRe: It's probably just me... Pin
Nathan Minier23-Oct-17 6:13
professionalNathan Minier23-Oct-17 6:13 
QuestionRelated to Table in angular 4 material Pin
Munjal Pandya6-Oct-17 22:18
Munjal Pandya6-Oct-17 22:18 
SuggestionRe: Related to Table in angular 4 material Pin
Richard Deeming9-Oct-17 8:55
mveRichard Deeming9-Oct-17 8:55 
GeneralRe: Related to Table in angular 4 material Pin
Munjal Pandya9-Oct-17 17:25
Munjal Pandya9-Oct-17 17:25 
QuestionMVC Edit form with dynamic dropdown list Pin
desanti23-Sep-17 8:45
desanti23-Sep-17 8:45 
AnswerRe: MVC Edit form with dynamic dropdown list Pin
Richard Deeming25-Sep-17 2:26
mveRichard Deeming25-Sep-17 2:26 
QuestionMVC entity framework web page - How to store logged user in a global variable Pin
desanti22-Sep-17 4:12
desanti22-Sep-17 4:12 
AnswerRe: MVC entity framework web page - How to store logged user in a global variable Pin
Richard Deeming22-Sep-17 4:51
mveRichard Deeming22-Sep-17 4:51 
GeneralRe: MVC entity framework web page - How to store logged user in a global variable Pin
desanti22-Sep-17 5:55
desanti22-Sep-17 5:55 
GeneralRe: MVC entity framework web page - How to store logged user in a global variable Pin
Richard Deeming22-Sep-17 6:05
mveRichard Deeming22-Sep-17 6:05 
QuestionDigital Signatures Pin
Nathan Minier19-Sep-17 7:08
professionalNathan Minier19-Sep-17 7:08 
QuestionLogin form php,mysql,ajax Pin
Dalee1716-Sep-17 14:55
Dalee1716-Sep-17 14:55 
AnswerRe: Login form php,mysql,ajax Pin
W Balboos, GHB11-Oct-17 5:46
W Balboos, GHB11-Oct-17 5:46 
Questionhtml warning Pin
dcof30-Aug-17 12:10
dcof30-Aug-17 12:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.