-
Notifications
You must be signed in to change notification settings - Fork 43
Description
nice package but ran into some issues with dotnet6
narrowed it down to this part
https://github.com/neisbut/Npgsql.Bulk/blob/master/src/Npgsql.Bulk/NpgsqlHelper.cs#L144
IObjectContextAdapter think that is depricated in the latest version
Exception thrown: 'System.MissingMethodException' in System.Private.CoreLib.dll: 'Method not found: 'Microsoft.EntityFrameworkCore.Metadata.IEntityType Microsoft.EntityFrameworkCore.ModelExtensions.FindEntityType(Microsoft.EntityFrameworkCore.Metadata.IModel, System.Type)'.'
at Npgsql.Bulk.NpgsqlHelper.GetTableSchema(DbContext context, Type t)
at Npgsql.Bulk.NpgsqlBulkUploader.GetEntityInfoT
at Npgsql.Bulk.NpgsqlBulkUploader.d__40`1.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task).