dbones notes
its a geek thing

Using DataAnnotations with NHibernate

August 13, 2010 22:04 by Dave
There are many validation frameworks the main one is NHibernate Validator, which uses its own set of Attributes. I wanted to use the DataAnnotation Attributes as they are supported by Asp.Net MVC out the box. Im sure there are some solutions for this (xVal). However I thought I would look int... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Nhibernate: Self Reference Object

April 6, 2010 21:29 by Dave
I needed to see if i could make an object which references another instance of the same class. Here is a quick example (Im using FluentNhibernate) of a Staff class, each staff member can have a manager, and they can have a number of reporties This leads to this simple class: [cod... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Active Record

April 23, 2009 01:06 by Dave
if you are writing any data layer code in .Net, please have a look at this presentation by Ayende Oredev 2008 - ALT.NET - Using Active Record to write less code its an hour long, but it can save you lots of time Active Record is built ontop of NHibernate, and its free... wahey for o... [More]

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Reference Materal for Nhibernate

October 19, 2008 20:56 by Dave
Here are some links for developer Joe, whom wants to get started in NHibernate. Sites Official site: Contains great reference material, read the Quick guide too. Community: Wiki, Blogs and downloads. become a member today, and start adding to the KB. Video Training, (Big thanks ... [More]

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Using an ORM, Start with loading data

March 31, 2008 01:29 by Dave
Quick info Very quick guide, ORM stands for Object Relational Mapper, its a tool which takes the data from a database and populates this data into Business Objects.. Nice and simple... basically using an ORM should save you as a coder from having to write the Data Access Layer code. (I'm not ... [More]

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Finding out the connection type of your Client Apps

March 17, 2008 00:14 by Dave
It can be helpful to know how and what ports your application connects to the MS SQL server. Ok maybe not, but i was in a pickle and needed to find this information out. What I was looking for was all the connections I had open to a SQL server from a certain connection pool. I came up with the fol... [More]

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags:
Categories: Database
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed