question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I used in 3.0 but got an exception

System.MissingMethodException: Method not found: 'Microsoft.EntityFrameworkCore.Metadata.PropertySaveBehavior Microsoft.EntityFrameworkCore.Metadata.IProperty.get_AfterSaveBehavior()'.
   at FlexLabs.EntityFrameworkCore.Upsert.Runners.RelationalUpsertCommandRunner.<>c__14`1.<PrepareCommand>b__14_1(IProperty p)
   at System.Linq.Utilities.<>c__DisplayClass1_0`1.<CombinePredicates>b__0(TSource x)
   at System.Linq.Enumerable.WhereEnumerableIterator`1.ToArray()
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at FlexLabs.EntityFrameworkCore.Upsert.Runners.RelationalUpsertCommandRunner.PrepareCommand[TEntity](IEntityType entityType, ICollection`1 entities, Expression`1 match, Expression`1 updater, Expression`1 updateCondition, Boolean noUpdate, Boolean useExpressionCompiler)
   at FlexLabs.EntityFrameworkCore.Upsert.Runners.RelationalUpsertCommandRunner.RunAsync[TEntity](DbContext dbContext, IEntityType entityType, ICollection`1 entities, Expression`1 matchExpression, Expression`1 updateExpression, Expression`1 updateCondition, Boolean noUpdate, Boolean useExpressionCompiler, CancellationToken cancellationToken)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
artiomchicommented, Aug 11, 2019

Just so you know, making it work well with both EF Core 2.0 and 3.0 in the same assembly proved… harder to manage, but it would also affect performance due to me having to use reflection.

So to avoid that, I’m moving the EF Core development to a new branch, with a separate build. I managed to run the tests in SQL Server and SQLite (with some caveats), and had to disable some in memory tests for the time being.

I don’t have the tests running in MySQL and Postgres at the moment, but I’ll see what I can do about them

Other than that, I can see the main functionality working well so far in EF Core 3.0

I’ve just pushed the new pre-release build to NuGet with this pre-release version: 3.0.0-netcore3-00140

Please let me know if the new build works as expected for you

0reactions
artiomchicommented, Jul 11, 2021

It’s not quite the same error, but you’re right, EF 6 is bringing some breaking changes… This should probably have been a new issue though.

I just pushed a pre-release build that has EF Core 6 support, so you should try it out 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

USB 3.0
Samsung Electronics announced support of USB 3.0 with its ARM-based Exynos 5 Dual platform intended for handheld devices. IssuesEdit. Speed and compatibility ......
Read more >
What is USB 3.0 (SuperSpeed USB)? | Definition from ...
It supports the fastest transfer speeds and additional alt-modes such as Power Delivery or DisplayPort out. For the best speeds, cables must also...
Read more >
.NET and .NET Core official support policy
The only difference is the length of support. LTS releases get free support and patches for 3 years. STS releases get free support...
Read more >
How do I know if my computer has USB 3.0 ports?
While not technically a USB 3 port, the USB-C connector supports USB versions 3.1 and 3.2 and can connect to USB 3 ports...
Read more >
VIVE Tracker (3.0) Support
How can we help? VIVE Tracker (3.0). Guide Downloads.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found