slide1 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Persisting Rich Domain Models Using NHibernate PowerPoint Presentation
Download Presentation
Persisting Rich Domain Models Using NHibernate

Loading in 2 Seconds...

play fullscreen
1 / 46

Persisting Rich Domain Models Using NHibernate - PowerPoint PPT Presentation


  • 85 Views
  • Uploaded on

Persisting Rich Domain Models Using NHibernate. IStarShip. Agenda. Intro Basics (Mapping / Session) More mapping and querying options Detached objects (update / merge) Componet & Value types Inheritance Concurrency Legacy databases Performance Common Errors / Problems. NHibernate.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Persisting Rich Domain Models Using NHibernate' - phyllis-reilly


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
agenda
Agenda
  • Intro
  • Basics (Mapping / Session)
  • More mapping and querying options
  • Detached objects (update / merge)
  • Componet & Value types
  • Inheritance
  • Concurrency
  • Legacy databases
  • Performance
  • Common Errors / Problems
nhibernate
NHibernate
  • Origins in Java (Hiberante 2001)
  • First release 2004
  • Last release 2.1.2 (Nov 2009)
  • Upcoming 3.0 release (Summer 2010)
  • http://nhforge.org/
slide11

Identity Map/L1 Cache

ISession

Unit of Work

slide12

maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems.

id generators
id generators

sequence

increment

native

assigned

seqhilo

hilo

identity

foreign

guid

uuid.string

guid.comb

uuid.hex

cascade
Cascade
  • none
  • save-update
  • delete
  • delete-orphan
  • all
  • all-delete-orphan
inheritance
inheritance
  • table per class hierarchy
  • table per subclass
  • table per concrete class
legacy
legacy
  • Composite primary keys
  • Relations on non-primary keys
  • Join
  • SQL Queries
  • DB Generated fields
performance
performance
  • Batching
  • Eager loading (eliminate N+1)
  • Query Cache
  • L2 Cache
i could go on an on
i could go on an on...
  • NHibernate = endless number of features 
resources
resources
  • http://nhforge.org/
  • http://ayende.com/blog
  • http://www.codinginstinct.com
  • http://sharparchitecture.net/

Torkel.odegaard@gmail.com

http://tlo.googlecode.com/svn/trunk/presentations/nhibernate_elevate