Пример #1
0
        public static void ExpressionIndexSkippedWarning(
            [NotNull] this IDiagnosticsLogger <DbLoggerCategory.Scaffolding> diagnostics,
            [NotNull] string indexName,
            [NotNull] string tableName)
        {
            var definition = NpgsqlResources.LogExpressionIndexSkipped(diagnostics);

            if (diagnostics.ShouldLog(definition))
            {
                definition.Log(diagnostics, indexName, tableName);
            }

            // No DiagnosticsSource events because these are purely design-time messages
        }