Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8857017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:29:30+00:00 2026-06-14T14:29:30+00:00

I just got Visual-Studio 2012 Professional and am using the Entity-Framework (5.0) designer. I’ve

  • 0

I just got Visual-Studio 2012 Professional and am using the Entity-Framework (5.0) designer. I’ve been trying to convert a property to an Enum, and according to this Microsoft video I right click the property and choose Convert to Enum at (2:06) – there is no option for converting in my context menu.

Here I’m trying to convert Role to Enum. I’ve set Role to be an Int32.

enter image description here

What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:29:31+00:00Added an answer on June 14, 2026 at 2:29 pm

    Following the video in the post closely, I opened the Model Browser to add an Enum manually. After I had done so, and set the Role to the enum I had created. To test if I could now Convert To Enum on the property, I changed the type back to Int32 and then right clicked the property and and low and behold I see the Convert To Enum option in the context menu!

    So, if your having problems these are the steps I used to enable the Convert To Enum option. This is a hack in my opinion, as now I cannot reproduce this behavior with a new solution and project. Apparently once the Model Browser has been opened for the first time (or the complete steps below) it now shows the Convert To Enum option.

    -1. Using the Quick Launch search window, I typed in Model Browser and opened it up.

    Model Browser search

    -2. Choose Add New Enum Type... from right clicking Enum Types in the Model Browser for your Data Model.

    enter image description here

    -3. Set your property to the enum, scroll to the bottom of the listed types in the combo-box and choose the enum.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just started using Visual Studio (I got VS 2012 from dreamspark, and it
I just got the Visual Studio 2012 RC Ultimate and I'm trying to connect
I've just got the new Visual Studio 2010 Ultimate and Javascript Intellisense is not
I just got Visual Studio 2010 installed and running on my development machine (alongside
I just built my typescript in visual studio 2012, on the first day, after
just got a slight problem here with updating a MySql DataGridView from visual studio
I just ported all of my tests from Google Test to Visual Studio 2012's
I am using Windows 8 Pro and Visual Studio 2012 Ultimate (both RTM). I
I just got this message from Visual Studio 2005, when I clicked on the
I've got a very large application built using Visual Studio 2008 which is designed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.