Applied patch from Jan Limpens 'ReflectionBasedDictionaryAdapter needs to check if...
[castle.git] / Tools / VSNetWizards / CastleTemplates / VS8 / CSharp / ARProject / Sample.cs
blobbf7d8c1e1a59c40b8a6ff193e0cf8c946e73afd0
1 namespace ARProject
3 using System;
4 using Castle.ActiveRecord;
5 using NHibernate.Expression;
7 // This is file is provided just as a starting point
8 // especially if you are new to ActiveRecord
9 //
10 // Feel free to delete it right away.
12 [ActiveRecord("TableName")]
13 public class Sample : ActiveRecordBase<Sample>
15 private int id;
16 private String name;
18 [PrimaryKey]
19 public int Id
21 get { return id; }
22 set { id = value; }
25 [Property]
26 public string Name
28 get { return name; }
29 set { name = value; }