English 中文(简体)
学校背景: 没有任何适当的方法可以超越
原标题: SchoolContext.OnConfiguring(DbContextOptionsBuilder) : no suitable method found to override

我正与协会合作。 NET 核心2.0 青少年应用

我参加了实体框架核心2.0,我有错误。

www.un.org/spanish/ecosoc 学校背景: 没有发现高于的适当方法。

并且

www.un.org/spanish/ecosoc 我找不到我的项目。 json file

与项目合作有许多解决办法。 json文件

但是,在任何地方都看不到。

“ERR

我现在 st3个小时。

下面是我所关注的一个环节。

http://www.entityframeworktutorial.net/efcore/entity-framework-core-console-application.aspx

问题回答

To override OnModelCreating and OnConfiguring methods, you need to have installed a NuGet package called Microsoft.EntityFrameworkCore.SqlServer.

当你正确点击<条码>时,你可以这样做。 Solutions -> NuGet Packs -> Install ->Microsoft.EntityFrameworkCore.SqlServer。

您需要安装“Microsoft.EntityFramework”。 核心“核心”核植被。

详情请https://learn.microsoft.com/en-us/dotnet/api/microsoft.entityframework.dbcontext.onconfiguring?view=ef-8.0 <





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签