public CR1NPRef(CEntityObject aParentEntityObject, CR1NPRefMetaInfo aRefMetaInfo, CSkalarRefMetaInfo aFkRefMetaInfo) : base(aParentEntityObject, aRefMetaInfo) { this.FkRefMetaInfo = aFkRefMetaInfo; this.FkRef = aFkRefMetaInfo.GetRef(aParentEntityObject); this.FkRef.ValueChanged += this.OnFkRefValueChanged; }
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); }