protected int _setValue(decimal AttributeKey, CRdsAttributeValue Value)
        {
            var R = this._getValue(Value.AttributeKey);
            if (R != null)
                this._values.Remove(R);
            this._values.Add(Value);

            return -1;
        }
示例#2
0
 protected int _setValue(decimal AttributeKey, CRdsAttributeValue Value)
 {
     this._values[AttributeKey] = Value;
     return -1;
 }
        protected int _setValue(decimal AttributeKey, int LanguageCode, object Value)
        {
            var R = this._getValue(AttributeKey);
            if (R == null)
            {
                R = new CRdsAttributeValue()
                {
                    AttributeKey = AttributeKey,
                    ElementVersion = this._elementVersion,
                    Provider = this._provider
                };
                this._values.Add(R);
            }

            R[LanguageCode] = Value;

            return -1;
        }