Example #1
0
partial         void DeleteDictionaryValue(DictionaryValue instance)
        {
            lock (_enumsLocker)
            {
                _dictionaryValuesCache.Value[instance.DictionaryKindId].Remove(instance.Name);
                if (_dictionaryValuesCache.Value[instance.DictionaryKindId].Count == 0) _dictionaryValuesCache.Value.Remove(instance.DictionaryKindId);
            }
            ExecuteDynamicDelete(instance);
        }
Example #2
0
 partial void DeleteDictionaryValue(DictionaryValue instance);
Example #3
0
 partial void UpdateDictionaryValue(DictionaryValue instance);
Example #4
0
 partial void InsertDictionaryValue(DictionaryValue instance);
Example #5
0
		private void detach_DictionaryValue(DictionaryValue entity)
		{
			this.SendPropertyChanging();
			entity.DicDictionaryKind = null;
		}
Example #6
0
partial         void InsertDictionaryValue(DictionaryValue instance)
        {
            lock (_enumsLocker)
            {
                if (!_dictionaryValuesCache.Value.ContainsKey(instance.DictionaryKindId))
                    _dictionaryValuesCache.Value.Add(instance.DictionaryKindId, new Dictionary<string, string>());
                _dictionaryValuesCache.Value[instance.DictionaryKindId].Add(instance.Name, instance.Value);
            }
            ExecuteDynamicInsert(instance);
        }