摘要:
一、添加ASP.NET Core Web API项目 1、右键解决方案,依次选择:添加、新建项目2、语言:C#,项目类型:Web或WebAPI,模版:ASP.NET Core Web API,命名WebApi_DEMO 3、选择目标框架 ps:配置HTTPS默认是勾选的,也可取消 4、创建后,将We 阅读全文
posted @ 2021-10-09 16:53
生之韵
阅读(4460)
评论(0)
推荐(0)
摘要:
1、BaseModel public class BaseModel<T> where T : class, new() { /// <summary> /// 获取上下文 /// </summary> /// <returns>EF上下文</returns> public static DemoC 阅读全文
posted @ 2021-10-09 15:21
生之韵
阅读(293)
评论(2)
推荐(0)

浙公网安备 33010602011771号