NHibernate 2.x Beginner's Guide
Book Description NHibernate is an open source object-relational mapper, or simply put, a way to retrieve data from your database into standard .NET objects. Quite often we spend hours designing the database, only to go back and re-design a mechanism to access that data and then optimize that mechanism. This book will save you time on your project, providing all the information along with concrete examples about the use and optimization of NHibernate. This book is an approachable, detailed introduction to the NHibernate object-relational mapper and how to integrate it with your .NET projects. If you’re tired of writing stored procedures or maintaining inline SQL, this is the book for you. Connecting to a database to retrieve data is a major part of nearly every project, from websites to desktop applications to distributed applications. Using the techniques presented in this book, you can access data in your own database with little or no code. This book covers the use of NHibernate from a first glance at retrieving data and developing access layers to more advanced topics such as optimization and Security and Membership providers. It will show you how to connect to multiple databases and speed up your web applications using strong caching tools. We also discuss the use of third-party tools for code generation and other tricks to make your development smoother, quicker, and more effective. This easy-to-follow guide will show you how to connect the NHibernate object-relational mapper to your projects to create a rich, efficient, object-oriented data access layer with little or no additional work Rapidly retrieve data from your database into .NET objects Incorporate robust, efficient data access into your .Net projects Gain database independence, not tied to any particular technology Avoid spending countless hours developing data access layers Eliminate writing stored procedures Clear, precise step-by-step directions to get up and running quickly What you will learn from this book Use NHibernate to retrieve and store data in your database Develop an efficient, robust data access layer with little or no code Design or modify your database for high performance Connect to multiple databases or database backends with simple code Implement base classes to provide basic functionality for all database objects Improve the performance of your data retrieval methods with proven open source technology Make web applications faster using strong caching strategies such as memcached Simplify data storage and display using built-in .NET data controls with NHibernate Using NHibernate to control application security using Membership and Role providers and .NET security controls Approach This is a beginner’s guide to NHibernate that starts from ground zero. Successive chapters build upon earlier concepts, while the sample code presents various ways to accomplish typical data access tasks. Within a few chapters you have a running application using NHibernate to retrieve and store data. We examine all of the topics required to get a functional data access layer implemented by writing the least amount of code possible, presenting options along the way to handle particular edge cases or situations as they arise. When you have completed the various exercises you will have running data-bound desktop and web applications, as well as an understanding of how to implement NHibernate in your own applications. Who this book is written for This book is for new and seasoned developers of .NET web or desktop applications who want a better way to access database data. It is a basic introduction to NHibernate, with enough information to get a solid foundation in using NHibernate. Some advanced concepts are presented where appropriate to enhance functionality or in situations where they are commonly used. About the Author Aaron Cure has been a developer for over fifteen years, developing web applications, Windows and web services, desktop applications, external interfaces, custom hardware, and everything in between. Many of his applications run in both Windows and Linux environments using the Mono .NET framework. He has extensive experience using multiple data access technologies, as well as knowledge of multiple database server platforms. He is a frequent contributor to open source applications, including the NHibernate Generation project he started on Sourceforge. Book Details Paperback: 276 pages Publisher: Packt Publishing (June 2, 2010) Language: English ISBN-10: 1847198902 ISBN-13: 978-1847198907
















- 粉丝: 1
- 资源: 2
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


会员权益专享
最新资源
- 万能ACV分解工具,可以解析一切ACV
- 万能ACV分解工具,可以解析一切ACV
- 安卓代码配套视频////
- dashboard inflow
- RTL8305NB/RTL8309N百兆光纤收发器5/8口交换机方案,可配置光纤口,电口10兆,端口vlan拨码功能
- 房产中介项目,采用java、spring做后端,vue做前端,大学期间做的一个小组课设项目,代码手写真实
- 山东大学软件学院操作系统复习题
- 基于51单片机的数字频率计设计+免费分享全套资源!!!
- vue-admin-template-master(vue-element-admin-master的精简版本)
- ASCII字库6x12适用于嵌入式LCD屏 基于Visual Studio的代码


