Castle Activerecord. Two collections of the same class.
- by George Polevoy
I want to have two collections of same class items in Activerecord.
How to map this?
class Project
{
[HasMany]
IList<Resource> Resources { get; set; }
[HasMany]
IList<Resource> DepartmentResources { get; set; }
}
public class Resource
{
[BelongsTo ???
}