public PBaseObject(int id, PCollection ownerCollection, IPDataModel model) { this.Id = id; _attrs = new Dictionary<string, string>(); _collects = new List<PCollection>(); _ownerCollection = ownerCollection; Model = model; Templates = new PTemplates(this); }
public PCollection(PBaseObject owner, string name, bool deferredLoad, IPDataModel model) { _items = new List<PBaseObject>(); Owner = owner; Name = name; _deferredLoad = deferredLoad; _loaded = false; _model = model; }