您好,欢迎光临本网站![请登录][注册会员]  
文件名称: NHibernate
  所属分类: C#
  开发工具:
  文件大小: 9mb
  下载次数: 0
  上传时间: 2013-05-09
  提 供 者: zino****
 详细说明: NHibernate 之旅(1):开篇有益.............................................................................................5 NHibernate 开篇有益 ................................................................................................5 NHibernate 是什么 ....................................................................................................5 NHibernate 的架构 ....................................................................................................6 NHibernate 资源 .................................................... ....................................................7 欢迎加入 NHibernate 中文社区 ...............................................................................7 NHibernate 之旅(2):第一个 NHibernate 程序..............................................................8 开始使用 NHibernate ................................................................................................8 1.获取 NHibernate ....................................................................................................9 2.建立数据库表 ..............................................................................................................9 3.创建 C#类库项目 .....................................................................................................10 4.编写 DomainModel 层 ........................................................................................11 5.编写数据访问层 ........................................................................................................13 6.编写数据访问层的测试 ............................................................................................15 结语.................................................................................................................................17 NHibernate 之旅(3):探索查询之 NHibernate 查询语言(HQL)..............................17 NHibernate 中的查询方法 ......................................................................................18 NHibernate 查询语言(HQL).................................................................................18 实例分析.........................................................................................................................22 结语.................................................................................................................................23 NHibernate 之旅(4):探索查询之条件查询(Criteria Query) ...................................24 NHibernate 中的查询方法 ......................................................................................24 条件查询(Criteria Query).....................................................................................24 根据示例查询(Query By Example) ...................................................................26 实例分析.........................................................................................................................27 结语.................................................................................................................................28 NHibernate 之旅(5):探索 Insert, Update, Delete 操作 .......................................28 操作数据概述.................................................................................................................28 1.新建对象 ....................................................................................................................29 2.删除对象 ....................................................................................................................29 3.更新对象 ....................................................................................................................30 4.保存更新对象 ............................................................................................................31 结语.................................................................................................................................32 NHibernate 之旅(6):探索 NHibernate 中的事务........................................................32 事务概述.........................................................................................................................33 1.新建对象 ....................................................................................................................34 2.删除对象 ....................................................................................................................37 3.更新对象 ....................................................................................................................37 4.保存更新对象 ............................................................................................................38 结语.................................................................................................................................39 NHibernate 之旅(7):初探 NHibernate 中的并发控制................................................39 什么是并发控制?.........................................................................................................39 悲观并发控制(Pessimistic Concurrency) ......................................................40 乐观并发控制(Optimistic Concurrency) ........................................................40 NHibernate 支持乐观并发控制 ..............................................................................40 实例分析.........................................................................................................................41 结语.................................................................................................................................44 NHibernate 之旅(8):巧用组件之依赖对象.......................................................................44 引入.................................................................................................................................45 方案 1:直接添加.........................................................................................................45 方案 2:巧用组件.........................................................................................................45 实例分析.........................................................................................................................46 结语.................................................................................................................................50 NHibernate 之旅(9):探索父子关系(一对多关系)...........................................................50 引入.................................................................................................................................50 NHibernate 中的集合类型 ......................................................................................51 建立父子关系.................................................................................................................51 父子关联映射.................................................................................................................53 结语.................................................................................................................................57 NHibernate 之旅(10):探索父子(一对多)关联查询........................................................57 关联查询引入.................................................................................................................58 一对多关联查询.............................................................................................................58 结语.................................................................................................................................62 NHibernate 之旅(11):探索多对多关系及其关联查询 ....................................................62 多对多关系引入.............................................................................................................63 多对多映射关系.............................................................................................................64 多对多关联查询.............................................................................................................66 结语.................................................................................................................................69 NHibernate 之旅(12):初探延迟加载机制 ........................................................................70 引入.................................................................................................................................70 延迟加载(Lazy Loading) .......................................................................................71 实例分析.........................................................................................................................72 1.一对多关系实例 ........................................................................................................72 2.多对多关系实例 ........................................................................................................74 结语.................................................................................................................................78 NHibernate 之旅(13):初探立即加载机制 ........................................................................78 引入.................................................................................................................................78 立即加载.........................................................................................................................79 实例分析.........................................................................................................................79 1.一对多关系实例 ........................................................................................................79 2.多对多关系实例 ........................................................................................................82 结语.................................................................................................................................86 NHibernate 之旅(14):探索 NHibernate 中使用视图.................................................86 引入.................................................................................................................................87 1.持久化类 ....................................................................................................................87 2.映射文件 ....................................................................................................................88 3.测试 ............................................................................................................................89 结语.................................................................................................................................90 NHibernate 之旅(15):探索 NHibernate 中使用存储过程(上) ................................90 引入.................................................................................................................................90 使用 MyGeneration 生成存储过程........................................................................90 实例分析.........................................................................................................................94 结语.................................................................................................................................97 NHibernate 之旅(16):探索 NHibernate 中使用存储过程(中) ................................97 引入.................................................................................................................................97 实例分析.........................................................................................................................97 结语...............................................................................................................................102 NHibernate 之旅(17):探索 NHibernate 中使用存储过程(下) ..............................102 引入...............................................................................................................................103 实例分析.......................................................................................................................103 拾遗...............................................................................................................................107 结语...............................................................................................................................108 NHibernate 之旅(18):初探代码生成工具使用 ..............................................................108 引入...............................................................................................................................108 代码生成工具...............................................................................................................109 结语...............................................................................................................................117 NHibernate 之旅(19):初探 SchemaExport 工具使用............................................117 引入...............................................................................................................................118 SchemaExport 工具 .............................................................................................118 SchemaUpdate 工具 ............................................................................................119 实例分析.......................................................................................................................119 结语...............................................................................................................................124 NHibernate 之旅(20):再探 SchemaExport 工具使用............................................124 引入...............................................................................................................................125 实例分析.......................................................................................................................125 1.表及其约束 ..............................................................................................................125 2.存储过程、视图 ......................................................................................................130 结语...............................................................................................................................132 NHibernate 之旅(21):探索对象状态 ..............................................................................132 引入...............................................................................................................................132 对象状态.......................................................................................................................133 对象状态转换...............................................................................................................133 结语...............................................................................................................................137 NHibernate 之旅(22):探索 NHibernate 一级缓存...................................................137 引入...............................................................................................................................137 NHibernate 一级缓存介绍 ....................................................................................137 NHibernate 一级缓存管理 ....................................................................................141 结语...............................................................................................................................142 NHibernate 之旅(23):探索 NHibernate 二级缓存(上) ..........................................142 引入...............................................................................................................................143 介绍 NHibernate 二级缓存 ...................................................................................143 NHibernate 二级缓存提供程序 ............................................................................143 实现 NHibernate 二级缓存 ...................................................................................144 结语...............................................................................................................................149 NHibernate 之旅(24):探索 NHibernate 二级缓存(下) ..........................................149 引入...............................................................................................................................149 使用 NHibernate 二级缓存 ...................................................................................150 启用缓存查询...............................................................................................................151 管理 NHibernate 二级缓存 ...................................................................................154 结语...............................................................................................................................158 ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: NHibernate
 输入关键字,在本站1000多万海量源码库中尽情搜索: