Introduction To ORM Patterns With Code Samples In NHibernate
-
Upload
mohamed-meligy -
Category
Technology
-
view
115 -
download
3
description
Transcript of Introduction To ORM Patterns With Code Samples In NHibernate
Introduction to ORM Patterns with Code Samples in NHibernate
Mohamed Meligy
Who Am I ?
• 2005: Blogging, http://geekswithblogs.net/Mohamed, http://weblogs.asp.net/meligy, http://GuruStop.NET
• 2006: SilverKey Demo Day 1• 2007: SilverKey Demo Day 2• 2007: Several dotNETwork Gatherings• 2008: ITWorx Cutting Edge Club• 2008: Several dotNETwork Gatherings• 2009: doeNETwork Code Camp`09• Worked in SilverKey, Raya Experts Team• Currently Working in Abu Dhabi• 2010: doeNETwork Code Camp`10
THIS IS JUST OPEN TALK SESSION!
This is not to recommend Nhibernate or else…
Topics To Discuss
• ORMs!• Model First and Mapping Techniques• POCO and Active Record• Loading Techniques
Classic ApplicationsDatabase• Persistence (Tables,..)• Data Objects (SPROCs, etc…)
SQL Helper Classes
Create / Read / Update / delete
Business Logic (queries, conditions)
UI
http://tinyurl.com/meligy-orms
Database
ORM Layer
ORM Calling Code
Business Logic
UI
The Case With ORM
ORM
objects relational
http://www.kevinwilliampang.com/post/How-Fanboys-See-NET-ORMs.aspx
POCO
THE MAPPING
DEMO
Where to go…• ORM
– http://weblogs.asp.net/fbouma• http://llblgen.com
– http://en.wikipedia.org/wiki/Object-relational_mapping
• NHibernate– http://nhforge.org
• http://nhforge.org/blogs/nhibernate• http://nhforge.org/doc/nh/en/index.html
– http://blogs.hibernatingrhinos.com– http://sharparchitecture.net– http://groups.google.com/group/nhusers
• http://ayende.com• http://tekpub.com• http://dimecasts.net• http://www.slideshare.net/pagsousa/poeaa-by-example• http://GuruStop.NET