BTDB.ODBLayer.DefaultODBFieldHandlerFactory.CreateFromType C# (CSharp) Method

CreateFromType() public method

public CreateFromType ( Type type, FieldHandlerOptions options ) : IFieldHandler
type System.Type
options FieldHandlerOptions
return IFieldHandler
        public override IFieldHandler CreateFromType(Type type, FieldHandlerOptions options)
        {
            if (ODBDictionaryFieldHandler.IsCompatibleWithStatic(type, options)) return new ODBDictionaryFieldHandler(_odb, type, false, this);
            var result = base.CreateFromType(type, options);
            if (result != null) return result;
            if (DBObjectFieldHandler.IsCompatibleWith(type)) return new DBObjectFieldHandler(_odb, type);
            return null;
        }