internal void ChangeValue(T aValue, CAccessKey aWriteKeyNullable = null, bool aModify = true) { this.CheckWriteable(aWriteKeyNullable); if (!object.Equals(aValue, this.ValueM)) { this.SetValueBuffer(aValue); if (aModify) { this.ParentEntityObject.Modify(); } } else { this.ValueLoaded = true; } }
public CR11WRef(CEntityObject aParentEntityObject, CR11WRefMetaInfo aRefMetaInfo, CAccessKey aWriteKeyNullable = null) : base(aParentEntityObject, aRefMetaInfo, aWriteKeyNullable) { }
public CRx1Ref(CEntityObject aParentEntityObject, CRefMetaInfo aRefMetaInfo, CAccessKey aWriteKeyNullable = null) : base(aParentEntityObject, aRefMetaInfo, aWriteKeyNullable) { this.ObjectProxy = new CObjectProxy <TTarget>(aParentEntityObject.Storage, default(Guid)); }
public CSkalarRef(CEntityObject aParentEntityObject, CSkalarRefMetaInfo aSkalarRefMetaInfo, CAccessKey aWriteKeyNullable = null) : base(aParentEntityObject, aSkalarRefMetaInfo, aWriteKeyNullable) { }
internal override void SetValueObj(object aModelValue, CAccessKey aWriteKeyNullable) { this.ChangeValue((T)aModelValue, aWriteKeyNullable); }