#efhelp Suchergebnisse
Latest daily build of EF Core Power Tools has reverse engineering of Postgres databases github.com/ErikEJ/SqlCeTo… #efhelp #efcore @shayrojansky
Anyone know, why EF Core 2.0.2 duplicates navigation properties on AddAsync() and SaveChanges(). 2 related Messages (PropertyAccessMode.Field) become 6 on AddAsync() and 8 on SaveChanges(). Hmmm 🤔 #efhelp #efcore
EF Core 2.2.4 breaks on this code because of distributed transactions but EF Core 5.0.12 doesn't. Both were tested on the 3.1 runtime. Does anyone know in which version this support changed? #efhelp
Be a bit careful with wrapping database migrations in transactions. DDL statements takes some table locks that you might not want to live for long in production workloads. Not sure if there are any workarounds yet. #efhelp
Need some #efhelp EF6 have added these constraints to a few of our columns. Is there anyway to get EF Core to this? I could really skip them but I'm a bit worried about that constraint not being dropped when we want to alter the table later.
#efhelp I can't seem to install ef cli. Could it have to do with bit.ly/3Guh4r7 not being a source? Seems like that would be a default. See image. Thanks.
In #efcore .NET8 is there now a way to access the HttpContext to get the logged in user in the DbContext to override SaveChangesAsync() for auditing? I'm sure I've read a good way somewhere but can't find anything. #blazor #dotnet8 #dotnetcore
@efmagicunicorns does docs.microsoft.com/en-us/ef/core/… apply to DB commands run via ExecuteSqlCommandAsync?
Somewhat tricky question: - From time to time we will fail our migrations in Bokio. Often because we add a unique constraint and the data has some duplicates. Does anyone have any suggestions for how to detect this before releasing? We try to do manual checks but... #efhelp
#efhelp If a migration errors when running ef6 database update it doesn't roll back?
#efhelp do ef6 migrations support adding a migration that's not the last migration. I thought it could?
#efhelp Is there a way to get the password when you do context.Database.Connection.ConnectionString ????
#efhelp Does EF6 allow for adding extended properties to sql objects for example MS_Description and have migrations maintain them.
Is is possible to configure the Index of every entity to not use a clustered index globally? Also, it is possible to configure a shadow property and index globally as well? #efhelp
#efhelp Is there a quick way from ef6.exe to verify the model stamp in the latest migration matches the current model without trying to script migrations and trapping for the error?
#efhelp EF6 idempotent migration script fails if I have two context types in the same db. The second script is atempting to create the history table but the first script already did it. Is there an easy way around this?
#efhelp Why oh why is migrate.exe so slow even with no migrations to apply. WTH is it doing? Is there a way to speed it up?
What's the best recommend provider and tools for MySQL and EF Core 6? MySql.EntityFrameworkCore from Oracle or Pomelo.EntityFrameworkCore.MySql ??? #efhelp
In #efcore .NET8 is there now a way to access the HttpContext to get the logged in user in the DbContext to override SaveChangesAsync() for auditing? I'm sure I've read a good way somewhere but can't find anything. #blazor #dotnet8 #dotnetcore
Is is possible to configure the Index of every entity to not use a clustered index globally? Also, it is possible to configure a shadow property and index globally as well? #efhelp
#efhelp Is there a quick way from ef6.exe to verify the model stamp in the latest migration matches the current model without trying to script migrations and trapping for the error?
#efhelp I can't seem to install ef cli. Could it have to do with bit.ly/3Guh4r7 not being a source? Seems like that would be a default. See image. Thanks.
Does anyone know an easier way to do remove a column in EF without downtime in prod? The reason I don't like this approach is that the DB model and the DB will be out of sync for a while. github.com/MikaelEliasson… #efhelp
github.com
GitHub - MikaelEliasson/EFCoreSafelyDeleteColumnExample: Shows one way to safely delete a column....
Shows one way to safely delete a column. Safely in this context means that it will be backwards compatible and allow 0 downtime releases. - MikaelEliasson/EFCoreSafelyDeleteColumnExample
EF Core 2.2.4 breaks on this code because of distributed transactions but EF Core 5.0.12 doesn't. Both were tested on the 3.1 runtime. Does anyone know in which version this support changed? #efhelp
What's the best recommend provider and tools for MySQL and EF Core 6? MySql.EntityFrameworkCore from Oracle or Pomelo.EntityFrameworkCore.MySql ??? #efhelp
Somewhat tricky question: - From time to time we will fail our migrations in Bokio. Often because we add a unique constraint and the data has some duplicates. Does anyone have any suggestions for how to detect this before releasing? We try to do manual checks but... #efhelp
#efhelp do ef6 migrations support adding a migration that's not the last migration. I thought it could?
@efmagicunicorns - Is it correct in #EF6 to add db view as nav property to table and then blank out resultant migration since the view is not a table? Migration adds index for key on parent and cascade delete. Trying to add nav to view to enable .Include #EFHelp
#efhelp That said, I'm starting to wonder why I use the word Add since 99% of the time we add. We strive for forward compatibility so generally don't remove stuff.
#efhelp What's the trick to getting EF6 migration Sql method to wrap the code in execute when scripting? If I end the string with GO sometimes it does and sometimes it doesn't? @efmagicunicorns
#efhelp If a migration errors when running ef6 database update it doesn't roll back?
#efhelp Is there a way to get the password when you do context.Database.Connection.ConnectionString ????
@efmagicunicorns #efhelp EF6 idempotent migration script fails if I have two context types in the same db. The second script is attempting to create the history table but the first script already did it. Is there an easy way around this?
#efhelp EF6 idempotent migration script fails if I have two context types in the same db. The second script is atempting to create the history table but the first script already did it. Is there an easy way around this?
Latest daily build of EF Core Power Tools has reverse engineering of Postgres databases github.com/ErikEJ/SqlCeTo… #efhelp #efcore @shayrojansky
Anyone know, why EF Core 2.0.2 duplicates navigation properties on AddAsync() and SaveChanges(). 2 related Messages (PropertyAccessMode.Field) become 6 on AddAsync() and 8 on SaveChanges(). Hmmm 🤔 #efhelp #efcore
@julielerman @EFHelp problem described in the image, any workaround or to be feature in future EF versions?#efhelp
EF Core 2.2.4 breaks on this code because of distributed transactions but EF Core 5.0.12 doesn't. Both were tested on the 3.1 runtime. Does anyone know in which version this support changed? #efhelp
@julielerman,@efhelp kindly, why the following scenario is happening in EF and how to solve it please? #efhelp
Be a bit careful with wrapping database migrations in transactions. DDL statements takes some table locks that you might not want to live for long in production workloads. Not sure if there are any workarounds yet. #efhelp
Need some #efhelp EF6 have added these constraints to a few of our columns. Is there anyway to get EF Core to this? I could really skip them but I'm a bit worried about that constraint not being dropped when we want to alter the table later.
#efhelp I can't seem to install ef cli. Could it have to do with bit.ly/3Guh4r7 not being a source? Seems like that would be a default. See image. Thanks.
@julielerman #efhelp. I have my models in a class lib. I'm running Enable-Migrations and getting: twitpic.com/8jjtqf
okay, I think @frederikprijck and @allthisstuff need to talk! #efhelp :) twitpic.com/cnfiej
Something went wrong.
Something went wrong.
United States Trends
- 1. Walt Weiss 1,678 posts
- 2. $BARRON 2,317 posts
- 3. Harvey Weinstein 4,763 posts
- 4. Diane Ladd 4,714 posts
- 5. Snit N/A
- 6. Braves 9,643 posts
- 7. #warmertogether N/A
- 8. Ben Shapiro 32.3K posts
- 9. $PLTR 19K posts
- 10. Cardinals 12.7K posts
- 11. Teen Vogue 1,754 posts
- 12. Laura Dern 2,366 posts
- 13. Monday Night Football 5,282 posts
- 14. Schwab 4,025 posts
- 15. #FINEST2025 N/A
- 16. Hamburger Helper 2,057 posts
- 17. Gold's Gym 55.3K posts
- 18. McBride 3,405 posts
- 19. iOS 26.1 3,648 posts
- 20. #NXXT 2,518 posts