コード例 #1
0
 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);
 }
コード例 #2
0
 public PCollection(PBaseObject owner, string name, bool deferredLoad, IPDataModel model)
 {
     _items = new List<PBaseObject>();
     Owner = owner;
     Name = name;
     _deferredLoad = deferredLoad;
     _loaded = false;
     _model = model;
 }