Comments (10)
@TheMegaMatt - can you please verify that it's not showing up at (or near) the bottom of the list when the category tree is on "Visual C# Items"? That's what I see in my installation. I agree that it needs to be in another category -- I believe "Data" would be the most appropriate -- and I'll put that on the list to make that happen. But it should be in "Visual C# Items" for you currently.
from efdesigner.
@msawczyn As i said Category wasn't showing up the item is at the end of the list or showing up after a search.
from efdesigner.
As of the latest update the Template is not showing again in any category. Testyed on a ASPnet Core app
from efdesigner.
@TheMegaMatt Thanks for the update. I see the issue in my Visual Studio installation as well. Since the item lives in "Visual C# / Data", it isn't showing up when you add items to an ASP.NET Core application -- "Data" isn't one of the categories, so it's filtered out. That's true for a "Web Site" project as well, but not for an old-school ASP.NET Web Application, nor for any of the other project types.
Can you please verify that, in your installation, you can add the item in a project type other than ASP.NET Core?
Thanks.
from efdesigner.
Accidentally closed.
from efdesigner.
from efdesigner.
@TheMegaMatt Great. If you concur, I'm going to call this an ASP.NET Core problem and close the issue. I'm updating the documentation in the wiki, so I'll make a note there that ASP.NET Core apps (as well as Web Site projects) don't allow this item type.
I even tried adding it manually, by creating it in a different project and adding as an existing item, but the parenting in the project tree went all wrong. In my experience, the team still has a lot of work to do on ASP.NET Core web applications ... this is just another one for their bug list.
from efdesigner.
from efdesigner.
@TheMegaMatt If it's possible, I don't know how to do it. ASP.NET Core web applications change the meaning of the "ProjectType" and "ProjectSubType" elements in the template definition (https://msdn.microsoft.com/en-us/library/5we0w25d.aspx). Normally, we list the project type as the language (CSharp) and the subtype as the category under that (Data, in this case). The web apps do that in reverse, indicating that the project type is Web and the subtype is the language.
As near as I can tell, there would have to be a separate installation for that, with a separate template ID. While this may be possible, it would be a bit of a pain at this stage of the game. I will certainly add it to the TODO list, though.
The best thing, overall, is to create a library for the persistent entities so that they may be included into multiple projects. Just because the requirements only state that the hosting application is a web app, that doesn't mean that later there may be a console app, or another web app (say, an API app) or even a Windows app that might need to use those entities. Pinching them off into their own library now saves lots of time down the road.
Thanks for helping me work through this! Pointing out the initial problem with the bug surrounding the Pluralization service was a tremendous help (I wouldn't ever have seen that), and I wouldn't have noticed the ASP.NET Core issue for quite a while, I'm sure. I owe you an espresso.
from efdesigner.
from efdesigner.
Related Issues (20)
- Cant set inherited entity HOT 1
- No way to import HOT 2
- Partial classes being deleted on regeneration HOT 4
- Missing ForaignKey on 1 <-> 0..1
- How add /drag an existing model or entity to design surface HOT 1
- How to import model/tables From existing Database HOT 2
- INotifyPropertyChanged removed - Help needed HOT 1
- Toolbox Items missing/Greyed out HOT 4
- Null Reference exception in Solution Explorer context menu
- Code Generation Creating Ambiguous Constructor Signatures in Specific Inheritance Scenario
- Meaningless error when trying to drag-and-drop a dll file on diagram area
- Support for per-entity inheritance hierarchy types
- Many to many with EF core 7 HOT 1
- Upgrade entity framework visual editor to latest version, now EF Model Diagrams disabled HOT 2
- Add an Example for ModelElementExtensions.GetAll(T) Method
- Missing INotifyPropertyChanged option on entity HOT 1
- "Save as image" needs work HOT 2
- "Is Identity" field missing from properties view HOT 3
- Auto include flag on connections not working
- I can't open my schema anymore with the latest version of visual studio 2022 17.7.4. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from efdesigner.