Esempio n. 1
0
 public CR1NPRef(CEntityObject aParentEntityObject, CR1NPRefMetaInfo aRefMetaInfo, CSkalarRefMetaInfo aFkRefMetaInfo)
     : base(aParentEntityObject, aRefMetaInfo)
 {
     this.FkRefMetaInfo       = aFkRefMetaInfo;
     this.FkRef               = aFkRefMetaInfo.GetRef(aParentEntityObject);
     this.FkRef.ValueChanged += this.OnFkRefValueChanged;
 }
Esempio n. 2
0
 public CR11PRef(CEntityObject aParentEntityObject, CR11PRefMetaInfo aRefMetaInfo, CSkalarRefMetaInfo aFkRefMetaInfo)
     : base(aParentEntityObject, aRefMetaInfo)
 {
     this.FkRefMetaInfo       = aFkRefMetaInfo;
     this.FkRef               = (CSkalarRef <TChild, Guid>)aFkRefMetaInfo.GetRef(aParentEntityObject);
     this.FkRef.ValueChanged += this.OnFkRefValueChanged;
     this.Load(this.FkRef.Value);
 }