Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / TestSiteARSupport / Model / PersonBase.cs
blob55f5e1020c19a7209d2b51d1b57903bda85db0c2
1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace TestSiteARSupport.Model
17 using System;
19 using Castle.ActiveRecord;
21 [ActiveRecord("TSAS_PersonBase"), JoinedBase]
22 public abstract class PersonBase : ActiveRecordBase
24 private int id;
25 private string first;
26 private string middle;
27 private string last;
29 [PrimaryKey]
30 public int Id
32 get { return id; }
33 set { id = value; }
35 [Property]
36 public string First
38 get { return first; }
39 set { first = value; }
41 [Property]
42 public string Middle
44 get { return middle; }
45 set { middle = value; }
47 [Property]
48 public string Last
50 get { return last; }
51 set { last = value; }