会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
silent64
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
2021年5月14日
Unable to resolve service for type`***` while attempting to activatre `***`
摘要: 出现上图那样的情况 一般是没有在Startup类中的ConfigureServices中注入接口和实现类 注入一个就ok
阅读全文
posted @ 2021-05-14 13:43 lixia64
阅读(1849)
评论(0)
推荐(0)
2021年5月7日
xml文件导入Oracle数据库
摘要: 1. 右键单击 导入连接 2.选择xml文件 3.输入导入密码 4.选择导入的数据库 完成
阅读全文
posted @ 2021-05-07 11:43 lixia64
阅读(728)
评论(0)
推荐(0)
2021年4月13日
jquery 日历控件
摘要: html: js 注意要引用
阅读全文
posted @ 2021-04-13 15:22 lixia64
阅读(34)
评论(0)
推荐(0)
2021年4月8日
判断并获取一对多表格数据
摘要: 示例一: 示例二:
阅读全文
posted @ 2021-04-08 09:11 lixia64
阅读(59)
评论(0)
推荐(0)
2021年4月5日
visual studio 无法连接MySQL
摘要: 注意 如果计算机里安装两个mysql 请在连接数据库时写上端口号
阅读全文
posted @ 2021-04-05 15:35 lixia64
阅读(194)
评论(0)
推荐(0)
2021年4月1日
Visual Studio 2019给出``将证书添加到受信任的根证书存储失败,并显示以下错误''
摘要: StackOverFlow: https://stackoverflow.com/questions/47413183/visual-studio-2017-gives-adding-the-certificate-to-the-trusted-root-certificate 第一种方法: 通过控
阅读全文
posted @ 2021-04-01 16:43 lixia64
阅读(1476)
评论(0)
推荐(0)
2021年3月26日
ASP.NET CORE 实体类映射 AUTOMAPPER
摘要: ASP.NET CORE 3.1 1.首先nuget中安装程序包 2.创建继承profile的MappingProfile文件 配置实体类映射(oaEmployee 实体类字段要必须与表中字段一致,testdatamodel 最好与实体类字段一致,如果不一致需添加转换的字段 例: .ForMembe
阅读全文
posted @ 2021-03-26 10:16 lixia64
阅读(215)
评论(0)
推荐(0)
2021年3月25日
ASP .NET CORE 连接mysql数据库
摘要: 项目目录 1. nuget安装Pomelo.EntityFrameworkCore.MySql 2.appsettings添加数据库连接信息 MySQLDbConnectionString 3.新增继承DbContext类 添加实体类名称 实体类 4.在start.up类ConfigureServi
阅读全文
posted @ 2021-03-25 15:55 lixia64
阅读(156)
评论(0)
推荐(0)
2021年2月2日
Syste.invalidOperaationException:"The required column 'DISABLED' was not present in the results of a 'FromSql'"
摘要: sql上缺少字段 加上就好了
阅读全文
posted @ 2021-02-02 13:19 lixia64
阅读(875)
评论(0)
推荐(0)
2021年2月1日
System.InvalidOperationException:“No coercion operator is defined between types 'System.Int16' and '...
摘要: modelBuilder.Entity<MentItems>().Property(e=>e.IsValid) .HasColumnType("bit(1)") .HasDefaultValue(false);
阅读全文
posted @ 2021-02-01 09:59 lixia64
阅读(126)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
13
下一页
公告