Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 18, 2012 04:04 AM by EnenDaveyBoy
Participant
1465 Points
1147 Posts
Mar 18, 2012 03:24 AM|LINK
I have a data project that will have all my datbase EF stuff in
Now I need to have a number of Enums things like People titles Mr Mrs etc, which will be used in the EF models but also in my views.
Bu do I put them in the same folders as the EF models or do I put them in an enums folder in the core project? or some where else?
Contributor
2356 Points
478 Posts
Mar 18, 2012 03:31 AM|LINK
If you are using that enum across application (means multiple projects/layers) better put in core project.
Mar 18, 2012 04:04 AM|LINK
thanks, and phew thats were I put them while testing.
EnenDaveyBoy
Participant
1465 Points
1147 Posts
Enum Question
Mar 18, 2012 03:24 AM|LINK
I have a data project that will have all my datbase EF stuff in
Now I need to have a number of Enums things like People titles Mr Mrs etc, which will be used in the EF models but also in my views.
Bu do I put them in the same folders as the EF models or do I put them in an enums folder in the core project? or some where else?
Bimalvv
Contributor
2356 Points
478 Posts
Re: Enum Question
Mar 18, 2012 03:31 AM|LINK
If you are using that enum across application (means multiple projects/layers) better put in core project.
Bimal
EnenDaveyBoy
Participant
1465 Points
1147 Posts
Re: Enum Question
Mar 18, 2012 04:04 AM|LINK
thanks, and phew thats were I put them while testing.