jasonneylon/FluentNhibernateSample
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Fluent Nhibernate sample code Advantages: * Easier to write than XML, less verbose * Discoverability * Refactoring is easier * Less context switching Disadvantages * Encourages De-encapsultion * Certain rarely features not available so need to drop back to hbm .. (paramaterized user types?, collection flexibility?) * Draw Domain model * Configuring the database connection * Exporting the HBM * Basic mappings - classmap - id (guids) - property * Subclasses * References/Has Many - ("Inverse on HasMany is an NHibernate term, and it means that the other end of the relationship is responsible for saving.") * HasManyToMany * Components * UserType * Testing with persistent specification * AutoMapping * Conventions??
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published