Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting property types not available in the select list #28

Closed
msawczyn opened this issue Aug 14, 2022 · 2 comments
Closed

Selecting property types not available in the select list #28

msawczyn opened this issue Aug 14, 2022 · 2 comments
Labels
enhancement-M New feature request. Tshirt size: M released Issue is resolved in a current release
Milestone

Comments

@msawczyn
Copy link
Owner

From #40:

We are using several db contexts. One of the contains enums we want to use in the other contexts. Because the Type-Property of entities is restricted to the select list we specified the type directly in the .efmodel file. Is there any reason not to remove the restriction of the type field in the designer?

(submitted by @Jonathan4083)

@msawczyn msawczyn added the enhancement-M New feature request. Tshirt size: M label Aug 14, 2022
@msawczyn msawczyn added this to the 4.3.0 milestone Aug 14, 2022
@msawczyn msawczyn added the pending release Issue is resolved in the current codebase, will be published with the next release label Aug 15, 2022
@msawczyn
Copy link
Owner Author

Added the option Restrict property types to the designer's option page (Tools/Options/Entity Framework Visual Editor). Default is true, but setting it to false and reloading the designer will allow any property type to be typed in. Note that no validation is performed when this is done, so a bad type can be added. Best to use the fully qualified name of the type since there isn't a good way to get a namespace import into that file.

@Jonathan4083
Copy link

Great, thanks a lot.

@msawczyn msawczyn modified the milestones: 4.3.0, 4.2.1 Aug 16, 2022
@msawczyn msawczyn added released Issue is resolved in a current release and removed pending release Issue is resolved in the current codebase, will be published with the next release labels Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement-M New feature request. Tshirt size: M released Issue is resolved in a current release
Projects
None yet
Development

No branches or pull requests

2 participants