, .
, , ( NotificationList) .
private IList<IParameter> _parameters = new List<IParameter>();
get
{
return new NotificationList<IParameter>(_parameters);
}
, .
public class NotificationList<T> : IList, IList<T>
{
IList<T> myList;
public NotificationList(IList<T> list)
{
myList = list;
}
int IList.Add(object item)
{
myList.Add ((T) item);
}
}
, , , , , . , , . . this Hibernate, NHibernate.
() :
HasMany(x => x.Parameters)
.Cascade.All()
.Access.CamelCaseField(Prefix.Underscore);