Stories recently tagged with 'NHIbernate' Subscribe to this feed

Mindscape LightSpeed 3.0 – Advocating a Commercial ORM (ericswann.org)

published 1 month, 26 days ago, submitted by ericswannericswann(145) 1 month, 27 days ago

Compares the features of Mindscape's LightSpeed 3.0 ORM with those of LINQ to SQL and NHibernate. read more...

5 comments | category: | Views: 339

tags: another

Visual NHibernate beta (www.slyce.com)

submitted by powerrushpowerrush(3754) 2 months, 6 days ago

Visual NHibernate makes it easier and quicker to create and maintain NHibernate projects - even very complex ones. Point it at your existing projects and start modelling them right away - visually. Visual NHibernate makes complex mapping to multiple database tables easy. Simply connect a mapping to a table field and the mapping is complete - all required NHibernate code is generated based on what is mapped. This is the only tool supporting complex mapping to multiple database tables. (Others only allow one-to-one mapping of tables and classes.) This is a true separation of the domain model and the database schema. Using complex mapping allows optimal software architectures to be built on existing legacy databases without having to redesign the database. read more...

add a comment | category: | Views: 17

tags: another

Why Linq2NHibernate is not production ready (codeofrob.com)

submitted by robashtonrobashton(65) 3 months, 11 days ago

An opinion on why you shouldn't be using Linq2Nhibernate in production systems read more...

add a comment | category: | Views: 36

tags: another

Fluent NHibernate with System.ComponentModel.DataAnnotations (weblogs.asp.net)

submitted by zowenszowens(905) 3 months, 17 days ago

Want to map your domain with DataAnnotations validation? Using Fluent NHibernate? Then take a look at how to create a simple convention! read more...

add a comment | category: | Views: 20

tags: another

Database independence with NHibernate (ayende.com)

submitted by .NetKicks.NetKicks(1295) 3 months, 17 days ago

Ayende comments on achieving database independence with NHibernate. read more...

add a comment | category: | Views: 12

tags: another

NerdDinner with Fluent NHibernate Part 3 - The infrastructure (www.bengtbe.com)

published 4 months ago, submitted by bengtbebengtbe(450) 4 months ago

This is the final post in a series of three where I'm going to see how we can change the NerdDinner project to use Fluent NHibernate instead of LINQ to SQL. In this post we are going to take a look at the Nhibernate infrastructure and the dinner repository. read more...

add a comment | category: | Views: 249

tags: another

NerdDinner with Fluent NHibernate Part 2 - The mapping (www.bengtbe.com)

submitted by bengtbebengtbe(450) 5 months, 15 days ago

This is the second post in a series of three where I'm going to see how we can change the NerdDinner project to use Fluent NHibernate instead of LINQ to SQL. In this post we are going to take a look at the mappings. read more...

add a comment | category: | Views: 31

tags: another

NerdDinner with Fluent NHibernate Part 1 - The domain model (www.bengtbe.com)

published 5 months, 29 days ago, submitted by bengtbebengtbe(450) 5 months, 30 days ago

This is the first post in a series of three where I'm going to see how we can change the NerdDinner project to use Fluent NHibernate instead of LINQ to SQL. In the first post we are going to take a look at the domain model. read more...

add a comment | category: | Views: 341

tags: another

Table Per Subclass Inheritance Mapping with Fluent nHibernate (ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(640) 6 months, 3 days ago

This is the third in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be. read more...

add a comment | category: | Views: 73

tags: another

Table Per Class Hierarchy Inheritance Mapping with Fluent nHibernate (ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(640) 6 months, 5 days ago

This is the second in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be. The three types of Inheritance mappings that are mentioned on page 92 of NHibernate in Action are :Model * Table Per Concrete Class * Table Per Class Hierarchy * Table Per Subclass I will be using the example from NHibernate in Action to illustrate the mappings. This post covers the Table Per Class Hierarchy example. read more...

add a comment | category: | Views: 100

tags: another

Table Per Class Inheritance Mapping with Fluent nHibernate (ang3lfir3.wordpress.com)

submitted by ang3lfir3ang3lfir3(640) 6 months, 5 days ago

This is the first in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be. read more...

add a comment | category: | Views: 66

tags: another

NHibernate - <natural-id/> (ayende.com)

submitted by adminjewadminjew(1490) 7 months, 15 days ago

A natural id is a way to refer to a unique field of an object as a substitute of the real entity identifier. A good (and typical) example of that would be with the User entity. We have the user name and the user id, both are unique, but the user id is usually something that is generated by our application and has no relation to the a human being. In other words, user #123814 doesn’t mean anything to me, while user ‘ayende’ has a meaning to us. read more...

add a comment | category: | Views: 15

tags: another

Book review: NHibernate in Action (www.bengtbe.com)

submitted by bengtbebengtbe(450) 7 months, 25 days ago

In this post I review the book NHibernate in Action from Manning Publications. As far as I know this is the only book that solely covers the Object/Relational Mapper NHibernate. read more...

add a comment | category: | Views: 31

tags: another

NHibernate – Beware of inadvisably applied caching strategies (ayende.com)

submitted by LordLord(3700) 8 months, 5 days ago

One of the usual approaches for performance problems with most applications is to just throw caching on the problem until it goes away. NHibernate supports a very sophisticated caching mechanism, but, by default, it is disabled. Not only that, but there are multiple levels of opt ins that you have to explicitly state before you can benefit from caching. The answer is quite simple, caching is an incredibly sensitive topic, involving such things as data freshness, target size, repetitive requests, etc. Each and every time I have seen caching used as a hammer, it ended up in tears, with a lot of micro management of the cache and quite a bit of frustration. read more...

add a comment | category: | Views: 10

tags: another

Mapping a Twitter like domain with Fluent NHibernate (www.bengtbe.com)

submitted by bengtbebengtbe(450) 8 months, 16 days ago

I'm currently learning NHibernate, and one of the best ways to learn is to blog about it :) Since I'm not a big fan of XML files, I also wanted to use Fluent NHibernate to do the mapping. As an example I will use a social messaging domain, similar to Twitter. I will also use a Top-down approach, starting with the domain model, writing the mapping, and finally creating the database schema using the SchemaExport class in NHibernate. read more...

add a comment | category: | Views: 24

tags: another

Logging NHibernate SQL with log4net in ASP.NET (www.leniel.net)

submitted by lenielleniel(415) 8 months, 17 days ago

Have you ever wondered how to log the SQL generated by NHibernate? This post tries to exemplify just that. NHibernate uses HQL to leverage its expressiveness to the developer, but behind the scenes there is an engine that transforms the HQL into pure SQL that is executed against the database. This SQL can be logged so that you can see its... read more...

add a comment | category: | Views: 80

tags: another