Luke101
Luke101

Reputation: 65278

NHibernate and SQL Server 2012 Sequences

How well does NHibernate work with SQL Server 2012 sequences? I see that SQL Server finally has sequences which can be very beneficial in my current project. I see that NH has support for other databases but didnt see any support for SQL Server 2012.

Upvotes: 3

Views: 2283

Answers (1)

Marcelo Zabani
Marcelo Zabani

Reputation: 2279

It seems to me that NHibernate 3.3.1 (very recently released) has support for sequences in SQL Server 2012. I imagine that mapping sequences in SQL Server is the same as mapping them in PostgreSQL and Oracle, so you might wanna give it a try.

NH 3.3.1 announcement
Changelog for NHibernate 3.3.1

Upvotes: 8

Related Questions