Added RedirectUsingNamedRoute
[castle.git] / ActiveRecord / Castle.ActiveRecord.Framework.Internal.Tests / Model / IdBagPrimitive.cs
blob2d74a57aa10fe160c9459b93d119a1be06d932af
1 namespace Castle.ActiveRecord.Framework.Internal.Tests.Model
3 using System.Collections.Generic;
5 [ActiveRecord]
6 public class IdBagPrimitive
8 private int id;
9 private IList<string> items;
11 [PrimaryKey]
12 public int Id
14 get { return id; }
15 set { id = value; }
18 [HasAndBelongsToMany(RelationType = RelationType.IdBag, Table="IdToItems", ColumnKey="keyid", ElementType = "string")]
19 [CollectionID(CollectionIDType.Sequence, "col", "Int32")]
20 public IList<string> Items
22 get { return items; }
23 set { items = value; }