Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
 public CR11WRef(CEntityObject aParentEntityObject, CR11WRefMetaInfo aRefMetaInfo, CAccessKey aWriteKeyNullable = null) : base(aParentEntityObject, aRefMetaInfo, aWriteKeyNullable)
 {
 }
Exemplo n.º 3
0
 public CRx1Ref(CEntityObject aParentEntityObject, CRefMetaInfo aRefMetaInfo, CAccessKey aWriteKeyNullable = null) : base(aParentEntityObject, aRefMetaInfo, aWriteKeyNullable)
 {
     this.ObjectProxy = new CObjectProxy <TTarget>(aParentEntityObject.Storage, default(Guid));
 }
Exemplo n.º 4
0
 public CSkalarRef(CEntityObject aParentEntityObject, CSkalarRefMetaInfo aSkalarRefMetaInfo, CAccessKey aWriteKeyNullable = null) : base(aParentEntityObject, aSkalarRefMetaInfo, aWriteKeyNullable)
 {
 }
Exemplo n.º 5
0
 internal override void SetValueObj(object aModelValue, CAccessKey aWriteKeyNullable)
 {
     this.ChangeValue((T)aModelValue, aWriteKeyNullable);
 }