// Constructors

        private StorageMappingBuilder(BuildingContext context)
        {
            this.context = context;

            // Adding a special catch-all rule that maps all types to default schema/database.

            mappingRules = context.Configuration.MappingRules
                           .Concat(Enumerable.Repeat(new MappingRule(null, null, null, null), 1))
                           .ToList();

            defaultDatabase = context.Configuration.DefaultDatabase ?? string.Empty;
            defaultSchema   = context.Configuration.DefaultSchema ?? string.Empty;

            verbose = BuildLog.IsLogged(LogLevel.Info);
        }