Microsoft.NET

Goals


- Implement a powerful data persistence layer with the ORM Fluent NHibernate framework

Program

Reminders: ADO.Net with C # or VB.NET
Pattern DAO (Data Access Object)
ORM (Object Relational Mapping ) Frameworks:
NHibernate contributions : history, versions, features
Fluent NHibernate: contributions
Dependencies, references
Global configuration
Architecture of NHibernate objects: SessionFactory, Session, …

Workshop: Setting up the environment, creating an application using Fluent NHibernate

Supported mapping types: auto-mapping, code, xml (hbm)
Mapping of tables and management of primary keys (simple, compound)
Mapping of database types, properties of columns
Concurrency management: optimistic (dirty, all, versioning) , pessimistic
Relationship management: OneToMany / ManyToOne, OneToOne, ManyToMany
Cascades configuration
Collection management: Map, Set, List, …
Inheritance mapping
Loading strategies: Lazy or Eager
Named queries
Retrieving the Hibernate session and query / modification of
Dao data available and essential methods

Workshop: Realization of a global mapping diagram of a database, CRUD operations (Create Read Update Delete)

Hibernate Query Language: presentation, functionalities
Basic selections, filters
Complex joins
Aggregation, string functions, …
Load management Lazy
Linq to Hibernate
Native SQL queries

Workshop: Realization of complex queries, use of Ling to Hibernate

Configuration of a naming strategy
Entity lifecycle and validation
Interceptors, Event-listeners
Advanced configuration: performance and functionalities
Using the level 2 cache
Inversion of control with Spring.Net

Workshop: Cache management and Spring.Net / Fluent NHibernate cohabitation

Duration

3 days

Price

£ 1995

Audience

.Net Developers

Prerequisites

Knowledge of C # or VB.NET

Reference

.NE1039-F

Sessions

Contact us for more informations about session date