Comments (10)
Where did you get EntityTypeConfiguration.t4 from? It is not a file I am aware of
from efcorepowertools.
I think I downloaded T4 from here. Can you please advise which one I should use? I will compare them.
from efcorepowertools.
I only have these: https://github.com/ErikEJ/EFCorePowerTools/tree/master/samples/CodeTemplates/EFCore
Could it be from here? https://github.com/R4ND3LL/EntityFrameworkRuler/blob/main/src/EntityFrameworkRuler.Design/Resources/EntityTypeConfiguration.t4 (I link to it from this issue: #1499 )
from efcorepowertools.
Use the linked file also depend on changes in DbContext.cs: https://github.com/R4ND3LL/EntityFrameworkRuler/blob/main/src/EntityFrameworkRuler.Design/Resources/DbContext.t4
from efcorepowertools.
I would just stick with the option in the tool and use the default templates for now (none of the templates linked to above) - or use the set of templates that I provide in my sample folder only.
from efcorepowertools.
I only have these: https://github.com/ErikEJ/EFCorePowerTools/tree/master/samples/CodeTemplates/EFCore
Could it be from here? https://github.com/R4ND3LL/EntityFrameworkRuler/blob/main/src/EntityFrameworkRuler.Design/Resources/EntityTypeConfiguration.t4 (I link to it from this issue: #1499 )
You are right I used that one.
from efcorepowertools.
I would just stick with the option in the tool and use the default templates for now (none of the templates linked to above) - or use the set of templates that I provide in my sample folder only.
Unfortunately it didn't work for me. I was able to rename properties in Model classes but they remained with the original name in Configuration classes.
Maybe I'm doing something wrong...
from efcorepowertools.
Unfortunately it didn't work for me. I was able to rename properties in Model classes but they remained with the original name in Configuration classes.
Ah, of course! Then you can uncheck the built-in option I think.
from efcorepowertools.
Unfortunately it didn't work for me. I was able to rename properties in Model classes but they remained with the original name in Configuration classes.
Ah, of course! Then you can uncheck the built-in option I think.
It is not my problem. Build Action se set to None for all T4 files. I don't understand how can I affect property names generation in Configuration classes from EntityType.T4 file.
from efcorepowertools.
I meant uncheck the; "Split DbContext into Configuration classes" option
from efcorepowertools.
Related Issues (20)
- Inappropriate Navigation Property name generated by EF Core reverse engg. HOT 9
- [Question] How to disable generation of readme in EF Core Power Tools CLI ? HOT 3
- Analyse this! from a live database (experimental)
- Sync localized vsct files
- Support for Many-to-many and join table with payload HOT 2
- Ability to use migrations tool without providing a connection string HOT 6
- Latest update fails to load. HOT 17
- Check synapse host name detection
- Unable to reverse engineer because it cannot find data provider HOT 1
- [Feature] Map simple postgress stored procedures
- Add script generation to migrations tool HOT 6
- [Question] Compare DbContext to Database Using CLI HOT 4
- [Feature request] Add refresh option to rightclick csproj HOT 11
- Drop "Migrations tool (preview)" - built into VS now
- Add support for Fiebird EF Core 8 provider
- Sync vsct files
- EFCore Power Pack VSIX Failed to install (Extension Not signed) HOT 2
- Test new build tools
- How to add a new datasource support which has efcore integration HOT 1
- Support for Postgres version 10 (column p.prokind does not exist) HOT 23
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 efcorepowertools.