摘要: When using most POCO entities the determination of how an entity has changed (and therefore which updates need to be sent to the database) is handled 阅读全文
posted @ 2017-03-27 22:54 huanghengyu 阅读(322) 评论(0) 推荐(0) 编辑
摘要: Entity Framework Add and Attach and Entity States Entity Framewokr 新增、附加、实体状态 This topic will cover how to add and attach entities to a context and ho 阅读全文
posted @ 2017-03-27 22:53 huanghengyu 阅读(1220) 评论(0) 推荐(0) 编辑
摘要: 大体上是把官网上的翻译下而已。 http://www.ninject.90iogjkdcrorg/wiki.html Dependency Injection By Hand So what’s Ninject all about? First, let’s examine the idea of 阅读全文
posted @ 2016-12-04 11:45 huanghengyu 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 好久没配置.NET+IIS+MSSQL了,跟以前不大一样了。总结下吧。 环境: Windows Server 2012 标准版 x64 SQL Server Express 2014 一、HTTP Error 500.19 - Internal Server Error 错误提示: HTTP Err 阅读全文
posted @ 2016-10-01 20:54 huanghengyu 阅读(1451) 评论(0) 推荐(0) 编辑
摘要: 引用自:http://www.cnblogs.com/hyddd/archive/2009/03/31/1426026.html Http定义了与服务器交互的不同方法,最基本的方法有4种,分别是GET,POST,PUT,DELETE。URL全称是资源描述符,我们可以这样认为:一个URL地址,它用于描 阅读全文
posted @ 2016-09-01 18:35 huanghengyu 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 觉得这篇文章写的非常好,大神之作,由简入繁,对我这种初学者来说帮忙很大,特此留存下。 摘自:http://tracefact.net/CSharp-Programming/Delegates-and-Events-in-CSharp.aspx 引言 委托 和 事件在 .Net Framework中的 阅读全文
posted @ 2016-08-02 15:32 huanghengyu 阅读(198) 评论(0) 推荐(0) 编辑
摘要: .Net平台上对Excel进行操作主要有两种方式。第一种,把Excel文件看成一个数据库,通过OleDb的方式进行读取与操作;第二种,调用Excel的COM组件。两种方式各有特点。 注意一些简单的问题1.excel文件只能存储65535行数据,如果你的数据大于65535行,那么就需要将excel分割 阅读全文
posted @ 2016-07-13 20:49 huanghengyu 阅读(12804) 评论(2) 推荐(1) 编辑
摘要: 决定还是用回.net吧,一个人瞎搞比较快,在这里把进展做个简单的记录。 阅读全文
posted @ 2016-06-17 16:07 huanghengyu 阅读(169) 评论(0) 推荐(0) 编辑