Ray's playground

 

Hello NHibernate(Chapter 2 of NHibernate in action)

Employee

 

Main

 

Mapping

 

Config

 

 1 CREATE DATABASE HelloNHibernate
 2 GO
 3 
 4 USE HelloNHibernate
 5 GO
 6 CREATE TABLE Employee 
 7 (
 8   id int identity primary key,
 9   name varchar(50),
10   manager int 
11 )

 

 

 

 

posted on 2009-10-26 22:55  Ray Z  阅读(232)  评论(0编辑  收藏  举报

导航