NHibernate - SQLBits IV

1,418 views

Published on

Session presented at SQLBits IV on the 28th March 2009 in Manchester on NHibernate. This was an introduction into NHibernate and how to get started.

Published in: Technology, Sports
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,418
On SlideShare
0
From Embeds
0
Number of Embeds
87
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

NHibernate - SQLBits IV

  1. 1. NHibernate Open Source Object Relational Mapping (ORM) Framework @Ben_Hall Ben@BenHall.me.uk Blog.BenHall.me.uk
  2. 2. NHibernate Open Source Object Relational Mapping (ORM) Framework @Ben_Hall Ben@BenHall.me.uk Blog.BenHall.me.uk
  3. 3. Learning Curve
  4. 4. Agenda • Querying • Mapping • Relationships • ‘Real’ application
  5. 5. What is ORM?
  6. 6. Mapping between objects and database
  7. 7. Translates method calls into queries
  8. 8. Objects vs Tables
  9. 9. Developers vs DBAs
  10. 10. Personal Choice
  11. 11. My choice is NHibernate
  12. 12. http://sourceforge.net/projects/nhibernate http://teamcity.codebetter.com/overview.html
  13. 13. DEMO QUERYING THE DATABASE
  14. 14. DEMO CREATE, UPDATE, DELETE
  15. 15. DEMO RELATIONSHIPS
  16. 16. The Real World
  17. 17. Testing ASP.net Web Applications www.TestingASPnet.com
  18. 18. DEMO WROX PIZZA
  19. 19. Sharp Architecture http://code.google.com/p/sharp-architecture/
  20. 20. In summary...
  21. 21. Summary • NHibernate has a learning curve • After the initial hit, easy to continue • A lot more powerful than I have shown today • Fluent NHibernate over XML Mapping
  22. 22. Thank you Ben Hall Ben@BenHall.me.uk Blog.BenHall.me.uk
  23. 23. Resources • http://Blog.BenHall.me.uk • http://www.TestingASPnet.com • http://sourceforge.net/projects/nhibernate • http://teamcity.codebetter.com/overview.htm l • http://nhforge.org • http://www.castleproject.org/ActiveRecord/ • http://code.google.com/p/sharp-architecture/
  24. 24. Flickr Images • http://www.flickr.com/photos/twenty_questions/2261 331590/ • http://www.flickr.com/photos/kaibara/2920616863/ • http://www.flickr.com/photos/mag3737/1914076277/ • http://www.flickr.com/photos/zen/2273186263/ • http://www.flickr.com/photos/frielp/6829509/ • http://www.flickr.com/photos/e_phots/2345645865/ • http://www.flickr.com/photos/leon_homan/28566287 78/ • http://www.wordle.net

×