public DeleteContextImpl(Db4objects.Db4o.Internal.StatefulBuffer buffer, ObjectHeader
			 objectHeader, IReflectClass fieldClass, Config4Field fieldConfig) : base(buffer
			.Transaction(), buffer, objectHeader)
		{
			_fieldClass = fieldClass;
			_fieldConfig = fieldConfig;
		}
示例#2
0
        internal void InitConfiguration(string name)
        {
            Config4Class containingClassConfig = _containingClass.Config();

            if (containingClassConfig == null)
            {
                return;
            }
            _config = containingClassConfig.ConfigField(name);
        }
示例#3
0
        public virtual IObjectField ObjectField(string fieldName)
        {
            Hashtable4   exceptionalFieldsCollection = ExceptionalFields();
            Config4Field c4f = (Config4Field)exceptionalFieldsCollection.Get(fieldName);

            if (c4f == null)
            {
                c4f = new Config4Field(this, fieldName);
                exceptionalFieldsCollection.Put(fieldName, c4f);
            }
            return(c4f);
        }
示例#4
0
        internal virtual Config4Field ConfigField(string fieldName)
        {
            Hashtable4 exceptionalFields = ExceptionalFieldsOrNull();

            if (exceptionalFields == null)
            {
                return(null);
            }
            Config4Field config4Field = (Config4Field)exceptionalFields.Get(fieldName);

            if (config4Field == null)
            {
                return(null);
            }
            config4Field.Used(true);
            return(config4Field);
        }
示例#5
0
		public virtual IObjectField ObjectField(string fieldName)
		{
			Hashtable4 exceptionalFieldsCollection = ExceptionalFields();
			Config4Field c4f = (Config4Field)exceptionalFieldsCollection.Get(fieldName);
			if (c4f == null)
			{
				c4f = new Config4Field(this, fieldName);
				exceptionalFieldsCollection.Put(fieldName, c4f);
			}
			return c4f;
		}
		internal void InitConfiguration(string name)
		{
			Config4Class containingClassConfig = _containingClass.Config();
			if (containingClassConfig == null)
			{
				return;
			}
			_config = containingClassConfig.ConfigField(name);
		}
		public DeleteContextImpl(Db4objects.Db4o.Internal.Delete.DeleteContextImpl parentContext
			, IReflectClass fieldClass, Config4Field fieldConfig) : this(parentContext.StatefulBuffer
			(), parentContext._objectHeader, fieldClass, fieldConfig)
		{
		}