摘要: 提供对客户端应用程序配置文件的访问。 此类不能被继承。 1、引用ConfigurationManager 在Nuget引入 ConfigurationManager。 using System.Configuration; 2、添加App.config文件 3、添加配置 1)添加数据库连接配置 将项 阅读全文
posted @ 2022-11-06 14:33 小林野夫 阅读(651) 评论(0) 推荐(0)
摘要: 原文:https://learn.microsoft.com/zh-cn/ef/core/what-is-new/ef-core-6.0/whatsnew 环境 vs2022+wpf+ef core6+sqlite3 问题 解决方案 解决这个问题一般有3种方式: (1)提前触发初始化,比如在Star 阅读全文
posted @ 2022-11-06 12:53 小林野夫 阅读(1640) 评论(0) 推荐(2)
原文链接:https://www.cnblogs.com/cdaniu/