The following functions depend on the dialect used.
- Paging instead of using the built-in SKIP / TAKE function that MSSQL 2012 and above has, paging is emulated by a subquery that generates numbers for all returned rows. This is a backup that does not perform the method of creating its own function.
- Sequences, MSSQL 2012 and higher now have the same function as Oracle. You can create a named sequence that generates increasing numbers. This is used by NHibernate extended generators to generate PK for inserted rows.
Question No. 1: Since MSSQL 2008 has fewer features, and MSSQL 2012 adds new features, you can use an older driver.
Question No. 2: You release some of the options described above.
Question No. 3: NHibernate 4.0 adds MSSQL 2012, currently there is no dialect for MSSQL 2014. This is definitely not a big problem, as many of the functions of MSSQL 2014 are not related to OR-Mapper and are not related to them.
source share