netcore 依据注解自动注入
摘要:
DbCtxt.ConnStr = Configuration.GetSection("ConnectionString").Value; // 根据类是否添加注解[IsService]来自动注入 var assm = new[] { typeof(Program).Assembly, typeof( 阅读全文
posted @ 2020-09-23 07:44 jonney_wang 阅读(609) 评论(0) 推荐(0)
浙公网安备 33010602011771号