public DeleteContextImpl(Db4objects.Db4o.Internal.StatefulBuffer buffer, ObjectHeader objectHeader, IReflectClass fieldClass, Config4Field fieldConfig) : base(buffer .Transaction(), buffer, objectHeader) { _fieldClass = fieldClass; _fieldConfig = fieldConfig; }
internal void InitConfiguration(string name) { Config4Class containingClassConfig = _containingClass.Config(); if (containingClassConfig == null) { return; } _config = containingClassConfig.ConfigField(name); }
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 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); }
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; }
public DeleteContextImpl(Db4objects.Db4o.Internal.Delete.DeleteContextImpl parentContext , IReflectClass fieldClass, Config4Field fieldConfig) : this(parentContext.StatefulBuffer (), parentContext._objectHeader, fieldClass, fieldConfig) { }