摘要: using fjxw.echarge.Models;using Microsoft.AspNetCore.Mvc;using Microsoft.Extensions.Logging;using System;using System.Collections.Generic;using System 阅读全文
posted @ 2022-03-27 11:20 .net&new 阅读(92) 评论(0) 推荐(0)
摘要: using Microsoft.AspNetCore.Builder;using Microsoft.AspNetCore.Hosting;using Microsoft.Extensions.Configuration;using Microsoft.Extensions.DependencyIn 阅读全文
posted @ 2022-03-27 11:17 .net&new 阅读(179) 评论(0) 推荐(0)
摘要: { "ConnectionStrings": { "DefaultConnection": "server=localhost;uid=root;pwd=123456;port=3306;database=fjxw_echarge;" }, "Logging": { "LogLevel": { "D 阅读全文
posted @ 2022-03-27 11:16 .net&new 阅读(391) 评论(0) 推荐(0)
摘要: using fjxw.model;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace fjxw.dal{ pu 阅读全文
posted @ 2022-03-27 11:14 .net&new 阅读(89) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using fjxw.model;namespace fjxw.dal{ pu 阅读全文
posted @ 2022-03-27 11:13 .net&new 阅读(46) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using MySql.Data.EntityFrameworkCore;us 阅读全文
posted @ 2022-03-27 11:09 .net&new 阅读(172) 评论(0) 推荐(0)
摘要: 1:nuget安装 Install-Package MySql.Data.EntityFrameworkCore -Version 8.0.15 阅读全文
posted @ 2022-03-27 11:08 .net&new 阅读(93) 评论(0) 推荐(0)
摘要: 1:先创建sysuser实体类 public class sysuser { /// <summary> /// 编号Id /// </summary> public int Id { get; set; } /// <summary> /// 用户名 /// </summary> public s 阅读全文
posted @ 2022-03-27 11:04 .net&new 阅读(87) 评论(0) 推荐(0)