dbones notes
its a geek thing

Getting the 'Tag Frequency' using NH Linq

August 28, 2010 17:11 by Dave
I wanted to have a Tag cloud on a blog site I am working on. For this I needed to have the Tag's and the frequency they appear on Articles. Using the NH 3 its really simple using the Linq provider (now included). HERE is the Table structure Article     Id Article... [More]

Be the first to rate this post

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

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

Whiteboard Released

June 23, 2010 22:59 by Dave
Whiteboard is a chat web application, consider it a proof of concept. The goal of this project was to design and implement a web application using Design Patterns and Open Source Frameworks Technology Stack NHibernate (using Linq to NHibernate) FluentNHibernate Castle Windsor AutoMapper ASP.NET MVC... [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

NHibernate in Dec MSDN

December 7, 2009 20:56 by Dave
Ayende never ceases to amaze me, I just wonder where he finds the free time (must be cloning). Anyway, he has written a simple TODO list article which uses Object Relational Mapper Presenter View View-Model Number of Design Patterns By the loo... [More]

Currently rated 5.0 by 1 people

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

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