当你的才华不能撑起你的野心时,就是你该选择学习的时候了!

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 73 下一页
摘要: 快速了解C# 8.0中“可空引用类型(Nullable reference type)”语言特性 - dax.net - 博客园 (cnblogs.com) Visual C# 8.0中引入了可空引用类型(Nullable reference type),通过编译器提供的强大功能,帮助开发人员尽可能 阅读全文
posted @ 2022-12-30 15:37 hofmann 阅读(41) 评论(0) 推荐(0)
摘要: DDD的代码结构_ronshi的博客-CSDN博客_ddd代码结构 DDD( 领域驱动设计)概念来源于2004年著名建模专家eric evans的书籍:《domain-driven design –tackling complexity in the heart of software》(中文译名: 阅读全文
posted @ 2022-12-29 13:12 hofmann 阅读(386) 评论(0) 推荐(0)
摘要: Clickjacking - Wikipedia 整理有2种方法解决这个问题: 1、如果站点部署在Windows服务器上,在IIS里配置如下:X-Frame-Options - HTTP | MDN (mozilla.org) <httpProtocol> <customHeaders> <add 阅读全文
posted @ 2022-11-09 10:10 hofmann 阅读(243) 评论(0) 推荐(0)
摘要: Linq中inlcude的作用,返回其关联实体。 var pbocs = dbContext.ParentTable.Include(nameof(ParentTable_Attachment)).Where(p => p.DissentType == dissentType && p.LoanNo 阅读全文
posted @ 2022-11-04 16:56 hofmann 阅读(102) 评论(0) 推荐(0)
摘要: 1、左连接: var LeftJoin = from emp in ListOfEmployees join dept in ListOfDepartment on emp.DeptID equals dept.ID into JoinedEmpDept from dept in JoinedEmp 阅读全文
posted @ 2022-11-04 14:33 hofmann 阅读(163) 评论(0) 推荐(0)
摘要: declare @tbl table(ReportDate date primary key,ReportDate1 datetime,ReportDate2 datetime2,ReportDate3 smalldatetime,AvaliableFlag bit default(0)) inse 阅读全文
posted @ 2022-10-20 11:09 hofmann 阅读(42) 评论(0) 推荐(0)
摘要: C#之EF 使用篇之EF加载数据的方式_Ca_va的博客-CSDN博客_c# ef Entity Framework关联查询以及数据加载(延迟加载,预加载) - 小♀子 - 博客园 (cnblogs.com) 阅读全文
posted @ 2022-09-27 17:29 hofmann 阅读(381) 评论(0) 推荐(0)
摘要: Code First、DBFirst、Model First CodeFirst 领域设计时先定义实体类,用实体类生成数据库 DbFirst 从数据库生成实体类 Model First 使用Visual Studio实体设计器,设计ER,同时生成Entity类和DB C#:实体框架EF(entity 阅读全文
posted @ 2022-09-27 13:58 hofmann 阅读(86) 评论(0) 推荐(0)
摘要: 缺少Visual Studio 2017 RC中的LINQ to SQL类(DBML设计器) | (1r1g.com) 默认情况下,VS 2017安装程序在安装时不提供LINQ to SQL工具,我们必须选择并修改. 从这里按照简单的步骤: 打开VS2017安装程序. 转到单个组件. 从代码工具中选 阅读全文
posted @ 2022-09-26 14:59 hofmann 阅读(129) 评论(0) 推荐(0)
摘要: declare @PcrId bigint declare @PcrIdList table(PCRID bigint) insert into @PcrIdList select PCRID from (select distinct PCRID from dbo.[ExtendFields]) 阅读全文
posted @ 2022-09-16 14:33 hofmann 阅读(38) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 73 下一页