摘要:
映射.NET类型和SQL类型 也可以在微软网站查找完整对应列表:http://msdn.microsoft.com/en-us/library/cc716729(v=vs.110).aspx 2.配置数据结构 可以使用以下几种方式来配置 • Attributes • Configuration Classes • The DbModelBuilder... 阅读全文
摘要:
此文章为读Code-First develoment with entity framework简单笔记。1.首先我们创建一个Person类public class Person { public int PersonId { get; set; } public ... 阅读全文
摘要:
原文:http://www.codeproject.com/Articles/813912/Create-Primary-Key-using-Entity-Framework-Code-FirIntroductionThis article describes the effect of Entit... 阅读全文
摘要:
原文地址:http://www.cnblogs.com/iamlilinfeng/p/4419362.html 一、MVC缓存简介 缓存是将信息(数据或页面)放在内存中以避免频繁的数据库存储或执行整个页面的生命周期,直到缓存的信息过期或依赖变更才再次从数据库中读取数据或重新执行页面的生命周期。在系统优化过程中,缓存是比较普遍的优化做法和见效比较快的做法。 MVC缓存本质上还是.NET... 阅读全文
摘要:
11招教你如何玩转数据库设计:http://www.csdn.net/article/2012-04-11/2804419 PowerDesigner使用教程:http://www.cnblogs.com/langtianya/archive/2013/03/08/2949118.html 使用PowerDesigner画ER图详细教程:http://www.360doc.com/... 阅读全文
摘要:
/// /// 读取Xml /// /// 对应解析XML文件对象 public class XmlHelper where T :class { #region 可以用的代码 //XML文件路径 private string filePath; List xelList... 阅读全文
摘要:
public class XmlHelper where T :class { XmlReader reader = null; public XmlHelper(string filePath) { if (File.Exists(filePath)) { ... 阅读全文