Archive for August, 2007

Sunday, August 12th, 2007

Using NHibernate mapping with AdventureWorks

There is not a lot of good examples for NHibernate mapping. I struggle to figure this stuff out but once I get it it always seems so simple.
In the AdventureWorks Person schema there is a foreign key reference from the StateProvince table to the CountryRegion table by the CountryRegionCode column. Here is the StateProvince class […]

No Comments » - Posted in AWSandbox, NHibernate by Duvall Buck

Sunday, August 12th, 2007

AWSandbox is working

I haven’t spent much time on the AWSandbox solution for the last couple of weeks. I got busy working on the prototypes for work and didn’t get back to this until Friday night. With a little time I’ve got it working. By working I mean that I can query the database via NHibernate and populate […]

No Comments » - Posted in AWSandbox by Duvall Buck

Tuesday, August 7th, 2007

Extending DataControlField

I was working on extending the DataControlField to display an icon based on an integer out of the database. There were four possible icons to display. In addition there was a requirement to show tool tip or not when hovering over the icon. This is controlled by values from the database. Here is the […]

No Comments » - Posted in Today's issue by Duvall Buck

Thursday, August 2nd, 2007

My audio commute book

“The Grave Tattoo” by Val McDermid is about a body discovered in a bog in England’s Lake District. The body may have been there for 200 years and the rural legend that is given new life is that it may be the body of Fletcher Christian of “Mutiny on the Bounty” fame. This begins a […]

No Comments » - Posted in Audible books by Duvall Buck

Thursday, August 2nd, 2007

I’ve made some progress with DataControlField extension

I posted about the task I had at work to combined an icon, a checkbox and a literal to create our own field that can be used in grid. I have made some good progress figuring this out.
The DataControlField Class is an abstract class that only requires one method, CreateField, to be implemented but many […]

No Comments » - Posted in Today's issue by Duvall Buck