Dear community, It’s me once more with a small but handy hint that can make your coding and maintaining a bit easier. When mapping columns to integral types, it certainly is possible that a field’s value is NULL, right? Now, let’s assume a hypothetical table ORDER that contains a field QUANTITY. Assume also that we [...]
Posts Tagged ‘mapping’
NHibernate Troubles #3: Mapping NULL Values to Integer
Posted in c#, nhibernate, tips, tagged ambiguity, mapping, ms_feeds, null, null values, nullable, nullable type, windows7 on January 27, 2010 | 2 Comments »
NHibernate troubles #2: Criteria Queries using IN
Posted in c#, nhibernate, tips, Uncategorized, tagged criteria, criterion, hql, mapping, ms_feeds, nhibernate, query, range of values, troubles, windows7 on January 22, 2010 | 1 Comment »
Howdy ladies and gents out there, Here we go with another NHibernate common problem solved for you. Recently the question arose whether it is possible or not to execute a query with NHibernate that checks whether a property lies in a given range of values or not. Not much of a problem, we would say, [...]
Part 2: Mapping your First Table
Posted in c#, newbie, nhibernate, tutorial, tagged CRUD, mapping, ms_feeds, persistence on January 18, 2010 | 2 Comments »
Howdy folks, And welcome back to part 2 of our newbie nhibernate tutorial series. Here is a quick summary of what we did the last time, in part 1: Create a basic database (w/ 1 table) Create a new console application Add the nhibernate binary files as references to our application 2.1 Creating the Entity [...]
nhibernate troubles #1: custom sorting
Posted in nhibernate, tagged asp.net, c#, mapping, nhibernate, ordering, sorting on December 30, 2009 | 1 Comment »
Howdy, This is my first post here, and I’d like to go right into medias res. The motivation is clear: I am a developer dealing with MS VS & nhibernate in order to map DB schemas. It is not a long time, since I am working on the topic, so I encountered a few troubles [...]

