-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Proposals: Add Ignore columns, Include columns, Read-only mode. #708
Comments
Thanks! If there was a GUI option, how would that look? re 3: see dotnet/efcore#7586 |
@ErikEJ I was thinking about point 1 and 2. Maybe we could improve search and selection in the objects page. |
I would like to see more votes for this, but some sort of simple filtering capability would probably fit the bill. |
I'll try to create something and will show you the result. |
Sounds great! |
Simple and elegant - and should cover both 1 and 2 here @Lechus |
Read Only should be possible to implement by adding HasNoKey in the OnModelCreatingPartial implementation in a partial DbContext class. https://docs.microsoft.com/en-us/ef/core/modeling/keyless-entity-types?tabs=data-annotations#keyless-entity-types-characteristics |
@sm15455 Is this by design? |
Yes, I have large fonts/zoom enabled. |
In the PickTablesDialog.xaml file at line 133, try changing this
with this
|
@sm15455 Yes, that fixed it for me. |
@sm15455 Should I change to this in master branch? |
It's ok for me. |
Need to do it manually at the moment.
So got a property like:
entity.Property(e => e.MsreplTranVersion)
.HasDefaultValueSql("(newid())")
.HasComment("REPLICATION COLUMN");
Add option to not EXCLUDE columns, but to INCLUDE? So that will generate only required columns.
Add option generate Read-only mode?
That will not add unnecessary properties and settings, and could add NoTracking things, etc.?
Steps to reproduce
Click to reverse db, EF 5 mode;
Further technical details
EF Core Power Tools version: 2.5.454.0.
Database engine: SQL Server
Visual Studio version: Visual Studio 2019 16.8.1
The text was updated successfully, but these errors were encountered: