From b5732b2c72ce7b7e422a872fa72852eb4b4d79d6 Mon Sep 17 00:00:00 2001
From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com>
Date: Fri, 6 Oct 2023 16:03:02 +0200
Subject: [PATCH 1/3] First cleanup with copyright update
---
LICENSE | 2 +-
...fkaCSharpRuntimeAnnotationCodeGenerator.cs | 8 +-
.../Internal/KafkaDesignTimeServices.cs | 9 +-
.../Internal/KafkaLoggerExtensions.cs | 9 +-
.../Internal/KafkaLoggingDefinitions.cs | 9 +-
src/net/KEFCore/Diagnostics/KafkaEventId.cs | 2 +-
.../KafkaDatabaseFacadeExtensions.cs | 2 +-
.../KafkaDbContextOptionsExtensions.cs | 2 +-
.../KafkaEntityTypeBuilderExtensions.cs | 2 +-
.../Extensions/KafkaEntityTypeExtensions.cs | 2 +-
.../KafkaServiceCollectionExtensions.cs | 2 +-
...kaDbContextOptionsBuilderInfrastructure.cs | 2 +-
.../Internal/IKafkaSingletonOptions.cs | 9 +-
.../Internal/KafkaModelValidator.cs | 9 +-
.../Internal/KafkaOptionsExtension.cs | 9 +-
.../Internal/KafkaSingletonOptions.cs | 9 +-
.../KEFCore/Infrastructure/KafkaDbContext.cs | 6 +-
.../KafkaDbContextOptionsBuilder.cs | 24 +-
src/net/KEFCore/KEFCore.cs | 2 +-
.../DefiningQueryRewritingConvention.cs | 2 +-
.../Conventions/KafkaConventionSetBuilder.cs | 2 +-
.../Properties/KafkaStrings.Designer.cs | 4 -
.../KEFCore/Query/Internal/AnonymousObject.cs | 11 +-
.../CollectionResultShaperExpression.cs | 9 +-
.../Internal/EntityProjectionExpression.cs | 9 +-
...aExpressionTranslatingExpressionVisitor.cs | 9 +-
...KafkaProjectionBindingExpressionVisitor.cs | 9 +-
.../Query/Internal/KafkaQueryContext.cs | 9 +-
.../Internal/KafkaQueryContextFactory.cs | 9 +-
.../Internal/KafkaQueryExpression.Helper.cs | 9 +-
.../Query/Internal/KafkaQueryExpression.cs | 9 +-
...yableMethodTranslatingExpressionVisitor.cs | 9 +-
...thodTranslatingExpressionVisitorFactory.cs | 9 +-
...ingExpressionVisitor.QueryingEnumerable.cs | 9 +-
...erExpressionProcessingExpressionVisitor.cs | 9 +-
...kaShapedQueryCompilingExpressionVisitor.cs | 9 +-
...afkaShapedQueryExpressionVisitorFactory.cs | 9 +-
.../Query/Internal/KafkaTableExpression.cs | 9 +-
.../Internal/SingleResultShaperExpression.cs | 9 +-
.../Storage/Internal/EntityTypeProducer.cs | 9 +-
.../Storage/Internal/IEntityTypeProducer.cs | 9 +-
.../KEFCore/Storage/Internal/IKafkaCluster.cs | 9 +-
.../Storage/Internal/IKafkaClusterCache.cs | 9 +-
.../Storage/Internal/IKafkaDatabase.cs | 9 +-
.../KEFCore/Storage/Internal/IKafkaRowBag.cs | 9 +-
.../KEFCore/Storage/Internal/IKafkaTable.cs | 11 +-
.../Storage/Internal/IKafkaTableFactory.cs | 9 +-
.../KEFCore/Storage/Internal/KafkaCluster.cs | 9 +-
.../Storage/Internal/KafkaClusterCache.cs | 9 +-
.../Internal/KafkaClusterCacheExtensions.cs | 9 +-
.../KEFCore/Storage/Internal/KafkaDatabase.cs | 9 +-
.../Storage/Internal/KafkaDatabaseCreator.cs | 9 +-
.../KEFCore/Storage/Internal/KafkaRowBag.cs | 9 +-
.../Internal/KafkaStreamsBaseRetriever.cs | 348 +++++++++---------
.../Internal/KafkaStreamsTableRetriever.cs | 28 +-
.../KEFCore/Storage/Internal/KafkaTable.cs | 9 +-
.../Storage/Internal/KafkaTableFactory.cs | 9 +-
.../Storage/Internal/KafkaTableSnapshot.cs | 9 +-
.../Storage/Internal/KafkaTransaction.cs | 9 +-
.../Internal/KafkaTransactionManager.cs | 9 +-
.../Storage/Internal/KafkaTypeMapping.cs | 9 +-
.../Internal/KafkaTypeMappingSource.cs | 9 +-
.../Internal/IKafkaIntegerValueGenerator.cs | 12 +-
.../Internal/KafkaIntegerValueGenerator.cs | 12 +-
.../Internal/KafkaValueGeneratorSelector.cs | 12 +-
65 files changed, 567 insertions(+), 318 deletions(-)
diff --git a/LICENSE b/LICENSE
index 28f1ee49..ba7090fb 100644
--- a/LICENSE
+++ b/LICENSE
@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright 2022 MASES s.r.l.
+ Copyright 2023 MASES s.r.l.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Design/Internal/KafkaCSharpRuntimeAnnotationCodeGenerator.cs b/src/net/KEFCore/Design/Internal/KafkaCSharpRuntimeAnnotationCodeGenerator.cs
index 3c90d231..cfe7625a 100644
--- a/src/net/KEFCore/Design/Internal/KafkaCSharpRuntimeAnnotationCodeGenerator.cs
+++ b/src/net/KEFCore/Design/Internal/KafkaCSharpRuntimeAnnotationCodeGenerator.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,6 +24,12 @@
namespace MASES.EntityFrameworkCore.KNet.Design.Internal;
#pragma warning disable EF1001 // Internal EF Core API usage.
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaCSharpRuntimeAnnotationCodeGenerator : CSharpRuntimeAnnotationCodeGenerator
{
public KafkaCSharpRuntimeAnnotationCodeGenerator(
diff --git a/src/net/KEFCore/Design/Internal/KafkaDesignTimeServices.cs b/src/net/KEFCore/Design/Internal/KafkaDesignTimeServices.cs
index 423d4128..a60384b1 100644
--- a/src/net/KEFCore/Design/Internal/KafkaDesignTimeServices.cs
+++ b/src/net/KEFCore/Design/Internal/KafkaDesignTimeServices.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,12 @@
[assembly: DesignTimeProviderServices("MASES.EntityFrameworkCore.KNet.Design.Internal.KafkaDesignTimeServices")]
namespace MASES.EntityFrameworkCore.KNet.Design.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaDesignTimeServices : IDesignTimeServices
{
public virtual void ConfigureDesignTimeServices(IServiceCollection serviceCollection)
diff --git a/src/net/KEFCore/Diagnostics/Internal/KafkaLoggerExtensions.cs b/src/net/KEFCore/Diagnostics/Internal/KafkaLoggerExtensions.cs
index 53013d0d..c27cbeb6 100644
--- a/src/net/KEFCore/Diagnostics/Internal/KafkaLoggerExtensions.cs
+++ b/src/net/KEFCore/Diagnostics/Internal/KafkaLoggerExtensions.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,12 @@
using MASES.EntityFrameworkCore.KNet.Internal;
namespace MASES.EntityFrameworkCore.KNet.Diagnostics.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public static class KafkaLoggerExtensions
{
public static void TransactionIgnoredWarning(
diff --git a/src/net/KEFCore/Diagnostics/Internal/KafkaLoggingDefinitions.cs b/src/net/KEFCore/Diagnostics/Internal/KafkaLoggingDefinitions.cs
index 16c67f2a..0062a21d 100644
--- a/src/net/KEFCore/Diagnostics/Internal/KafkaLoggingDefinitions.cs
+++ b/src/net/KEFCore/Diagnostics/Internal/KafkaLoggingDefinitions.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Diagnostics.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaLoggingDefinitions : LoggingDefinitions
{
public EventDefinitionBase? LogSavedChanges;
diff --git a/src/net/KEFCore/Diagnostics/KafkaEventId.cs b/src/net/KEFCore/Diagnostics/KafkaEventId.cs
index bea11eb9..09675ee4 100644
--- a/src/net/KEFCore/Diagnostics/KafkaEventId.cs
+++ b/src/net/KEFCore/Diagnostics/KafkaEventId.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Extensions/KafkaDatabaseFacadeExtensions.cs b/src/net/KEFCore/Extensions/KafkaDatabaseFacadeExtensions.cs
index 978003b5..1a2b08b1 100644
--- a/src/net/KEFCore/Extensions/KafkaDatabaseFacadeExtensions.cs
+++ b/src/net/KEFCore/Extensions/KafkaDatabaseFacadeExtensions.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Extensions/KafkaDbContextOptionsExtensions.cs b/src/net/KEFCore/Extensions/KafkaDbContextOptionsExtensions.cs
index bf142526..043a87c9 100644
--- a/src/net/KEFCore/Extensions/KafkaDbContextOptionsExtensions.cs
+++ b/src/net/KEFCore/Extensions/KafkaDbContextOptionsExtensions.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Extensions/KafkaEntityTypeBuilderExtensions.cs b/src/net/KEFCore/Extensions/KafkaEntityTypeBuilderExtensions.cs
index f9c66750..ba28565f 100644
--- a/src/net/KEFCore/Extensions/KafkaEntityTypeBuilderExtensions.cs
+++ b/src/net/KEFCore/Extensions/KafkaEntityTypeBuilderExtensions.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Extensions/KafkaEntityTypeExtensions.cs b/src/net/KEFCore/Extensions/KafkaEntityTypeExtensions.cs
index bb892bff..9a158759 100644
--- a/src/net/KEFCore/Extensions/KafkaEntityTypeExtensions.cs
+++ b/src/net/KEFCore/Extensions/KafkaEntityTypeExtensions.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Extensions/KafkaServiceCollectionExtensions.cs b/src/net/KEFCore/Extensions/KafkaServiceCollectionExtensions.cs
index 1de4991f..ef69994f 100644
--- a/src/net/KEFCore/Extensions/KafkaServiceCollectionExtensions.cs
+++ b/src/net/KEFCore/Extensions/KafkaServiceCollectionExtensions.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Infrastructure/IKafkaDbContextOptionsBuilderInfrastructure.cs b/src/net/KEFCore/Infrastructure/IKafkaDbContextOptionsBuilderInfrastructure.cs
index 982fdef4..e1052d33 100644
--- a/src/net/KEFCore/Infrastructure/IKafkaDbContextOptionsBuilderInfrastructure.cs
+++ b/src/net/KEFCore/Infrastructure/IKafkaDbContextOptionsBuilderInfrastructure.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Infrastructure/Internal/IKafkaSingletonOptions.cs b/src/net/KEFCore/Infrastructure/Internal/IKafkaSingletonOptions.cs
index d10ac5b8..19de56c9 100644
--- a/src/net/KEFCore/Infrastructure/Internal/IKafkaSingletonOptions.cs
+++ b/src/net/KEFCore/Infrastructure/Internal/IKafkaSingletonOptions.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,12 @@
using MASES.KNet.Streams;
namespace MASES.EntityFrameworkCore.KNet.Infrastructure.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public interface IKafkaSingletonOptions : ISingletonOptions
{
bool UseNameMatching { get; }
diff --git a/src/net/KEFCore/Infrastructure/Internal/KafkaModelValidator.cs b/src/net/KEFCore/Infrastructure/Internal/KafkaModelValidator.cs
index 82bed95c..68648e8b 100644
--- a/src/net/KEFCore/Infrastructure/Internal/KafkaModelValidator.cs
+++ b/src/net/KEFCore/Infrastructure/Internal/KafkaModelValidator.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,7 +17,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Infrastructure.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaModelValidator : ModelValidator
{
public KafkaModelValidator(ModelValidatorDependencies dependencies)
diff --git a/src/net/KEFCore/Infrastructure/Internal/KafkaOptionsExtension.cs b/src/net/KEFCore/Infrastructure/Internal/KafkaOptionsExtension.cs
index 5d0d9e31..5fdbb9b2 100644
--- a/src/net/KEFCore/Infrastructure/Internal/KafkaOptionsExtension.cs
+++ b/src/net/KEFCore/Infrastructure/Internal/KafkaOptionsExtension.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,12 @@
using System.Globalization;
namespace MASES.EntityFrameworkCore.KNet.Infrastructure.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaOptionsExtension : IDbContextOptionsExtension
{
private bool _useNameMatching = true;
diff --git a/src/net/KEFCore/Infrastructure/Internal/KafkaSingletonOptions.cs b/src/net/KEFCore/Infrastructure/Internal/KafkaSingletonOptions.cs
index ffae2fd6..c4595d92 100644
--- a/src/net/KEFCore/Infrastructure/Internal/KafkaSingletonOptions.cs
+++ b/src/net/KEFCore/Infrastructure/Internal/KafkaSingletonOptions.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -21,7 +21,12 @@
using MASES.KNet.Streams;
namespace MASES.EntityFrameworkCore.KNet.Infrastructure.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaSingletonOptions : IKafkaSingletonOptions
{
public virtual void Initialize(IDbContextOptions options)
diff --git a/src/net/KEFCore/Infrastructure/KafkaDbContext.cs b/src/net/KEFCore/Infrastructure/KafkaDbContext.cs
index cdfd20d9..d86aa3c6 100644
--- a/src/net/KEFCore/Infrastructure/KafkaDbContext.cs
+++ b/src/net/KEFCore/Infrastructure/KafkaDbContext.cs
@@ -1,8 +1,5 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +16,6 @@
* Refer to LICENSE for more information.
*/
-using MASES.KNet;
using MASES.KNet.Common;
using MASES.KNet.Producer;
using MASES.KNet.Streams;
diff --git a/src/net/KEFCore/Infrastructure/KafkaDbContextOptionsBuilder.cs b/src/net/KEFCore/Infrastructure/KafkaDbContextOptionsBuilder.cs
index 0b43f008..dd910663 100644
--- a/src/net/KEFCore/Infrastructure/KafkaDbContextOptionsBuilder.cs
+++ b/src/net/KEFCore/Infrastructure/KafkaDbContextOptionsBuilder.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ namespace MASES.EntityFrameworkCore.KNet.Infrastructure;
///
/// Instances of this class are returned from a call to
///
+/// cref="KafkaDbContextOptionsExtensions.UseKafkaDatabase(DbContextOptionsBuilder, string, Action{KafkaDbContextOptionsBuilder})" />
/// and it is not designed to be directly constructed in your application code.
///
///
@@ -63,17 +63,25 @@ public KafkaDbContextOptionsBuilder(DbContextOptionsBuilder optionsBuilder)
protected virtual DbContextOptionsBuilder OptionsBuilder { get; }
///
- DbContextOptionsBuilder IKafkaDbContextOptionsBuilderInfrastructure.OptionsBuilder
- => OptionsBuilder;
-
+ DbContextOptionsBuilder IKafkaDbContextOptionsBuilderInfrastructure.OptionsBuilder => OptionsBuilder;
+ ///
+ /// The default configuration
+ ///
+ /// The default configuration.
public ProducerConfigBuilder EmptyProducerConfigBuilder => ProducerConfigBuilder.Create();
-
+ ///
+ /// The default configuration
+ ///
+ /// The default configuration.
public StreamsConfigBuilder EmptyStreamsConfigBuilder => StreamsConfigBuilder.Create();
-
+ ///
+ /// The default configuration
+ ///
+ /// The default configuration.
public TopicConfigBuilder EmptyTopicConfigBuilder => TopicConfigBuilder.Create();
///
- /// Enables name matching on instead of matching
+ /// Enables name matching on instead of matching
///
///
/// See Using DbContextOptions, and
diff --git a/src/net/KEFCore/KEFCore.cs b/src/net/KEFCore/KEFCore.cs
index f743e683..80b83f70 100644
--- a/src/net/KEFCore/KEFCore.cs
+++ b/src/net/KEFCore/KEFCore.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Metadata/Conventions/DefiningQueryRewritingConvention.cs b/src/net/KEFCore/Metadata/Conventions/DefiningQueryRewritingConvention.cs
index 1bcb4869..5fced9c1 100644
--- a/src/net/KEFCore/Metadata/Conventions/DefiningQueryRewritingConvention.cs
+++ b/src/net/KEFCore/Metadata/Conventions/DefiningQueryRewritingConvention.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Metadata/Conventions/KafkaConventionSetBuilder.cs b/src/net/KEFCore/Metadata/Conventions/KafkaConventionSetBuilder.cs
index a124a17b..73cf7cd8 100644
--- a/src/net/KEFCore/Metadata/Conventions/KafkaConventionSetBuilder.cs
+++ b/src/net/KEFCore/Metadata/Conventions/KafkaConventionSetBuilder.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/src/net/KEFCore/Properties/KafkaStrings.Designer.cs b/src/net/KEFCore/Properties/KafkaStrings.Designer.cs
index bb45ce69..2151b1d7 100644
--- a/src/net/KEFCore/Properties/KafkaStrings.Designer.cs
+++ b/src/net/KEFCore/Properties/KafkaStrings.Designer.cs
@@ -1,12 +1,8 @@
//
-using System;
-using System.Reflection;
using System.Resources;
-using System.Threading;
using MASES.EntityFrameworkCore.KNet.Diagnostics;
using Microsoft.EntityFrameworkCore.Internal;
-using Microsoft.Extensions.Logging;
#nullable enable
diff --git a/src/net/KEFCore/Query/Internal/AnonymousObject.cs b/src/net/KEFCore/Query/Internal/AnonymousObject.cs
index bf5ad1bf..7fff5f8b 100644
--- a/src/net/KEFCore/Query/Internal/AnonymousObject.cs
+++ b/src/net/KEFCore/Query/Internal/AnonymousObject.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,10 +19,13 @@
* Refer to LICENSE for more information.
*/
-using JetBrains.Annotations;
-
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public readonly struct AnonymousObject
{
private readonly object[] _values;
diff --git a/src/net/KEFCore/Query/Internal/CollectionResultShaperExpression.cs b/src/net/KEFCore/Query/Internal/CollectionResultShaperExpression.cs
index 5d447fb7..b177f1e9 100644
--- a/src/net/KEFCore/Query/Internal/CollectionResultShaperExpression.cs
+++ b/src/net/KEFCore/Query/Internal/CollectionResultShaperExpression.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class CollectionResultShaperExpression : Expression, IPrintableExpression
{
public CollectionResultShaperExpression(
diff --git a/src/net/KEFCore/Query/Internal/EntityProjectionExpression.cs b/src/net/KEFCore/Query/Internal/EntityProjectionExpression.cs
index 436df31a..8d296ce5 100644
--- a/src/net/KEFCore/Query/Internal/EntityProjectionExpression.cs
+++ b/src/net/KEFCore/Query/Internal/EntityProjectionExpression.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,12 @@
using MASES.EntityFrameworkCore.KNet.Internal;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class EntityProjectionExpression : Expression, IPrintableExpression
{
private readonly IReadOnlyDictionary _readExpressionMap;
diff --git a/src/net/KEFCore/Query/Internal/KafkaExpressionTranslatingExpressionVisitor.cs b/src/net/KEFCore/Query/Internal/KafkaExpressionTranslatingExpressionVisitor.cs
index 1b3a0316..16e6b3e3 100644
--- a/src/net/KEFCore/Query/Internal/KafkaExpressionTranslatingExpressionVisitor.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaExpressionTranslatingExpressionVisitor.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,12 @@
using ExpressionExtensions = Microsoft.EntityFrameworkCore.Infrastructure.ExpressionExtensions;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaExpressionTranslatingExpressionVisitor : ExpressionVisitor
{
private const string RuntimeParameterPrefix = QueryCompilationContext.QueryParameterPrefix + "entity_equality_";
diff --git a/src/net/KEFCore/Query/Internal/KafkaProjectionBindingExpressionVisitor.cs b/src/net/KEFCore/Query/Internal/KafkaProjectionBindingExpressionVisitor.cs
index 69a6b96c..c56ce010 100644
--- a/src/net/KEFCore/Query/Internal/KafkaProjectionBindingExpressionVisitor.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaProjectionBindingExpressionVisitor.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,12 @@
using System.Diagnostics.CodeAnalysis;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaProjectionBindingExpressionVisitor : ExpressionVisitor
{
private readonly KafkaQueryableMethodTranslatingExpressionVisitor _queryableMethodTranslatingExpressionVisitor;
diff --git a/src/net/KEFCore/Query/Internal/KafkaQueryContext.cs b/src/net/KEFCore/Query/Internal/KafkaQueryContext.cs
index 876ce12d..9e480823 100644
--- a/src/net/KEFCore/Query/Internal/KafkaQueryContext.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaQueryContext.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,12 @@
using MASES.EntityFrameworkCore.KNet.Storage.Internal;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaQueryContext : QueryContext
{
private readonly IDictionary> _valueBuffersCache
diff --git a/src/net/KEFCore/Query/Internal/KafkaQueryContextFactory.cs b/src/net/KEFCore/Query/Internal/KafkaQueryContextFactory.cs
index e4023301..8df4c5ed 100644
--- a/src/net/KEFCore/Query/Internal/KafkaQueryContextFactory.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaQueryContextFactory.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,12 @@
using MASES.EntityFrameworkCore.KNet.Storage.Internal;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaQueryContextFactory : IQueryContextFactory
{
private readonly IKafkaCluster _cluster;
diff --git a/src/net/KEFCore/Query/Internal/KafkaQueryExpression.Helper.cs b/src/net/KEFCore/Query/Internal/KafkaQueryExpression.Helper.cs
index 1f81499c..c70587b9 100644
--- a/src/net/KEFCore/Query/Internal/KafkaQueryExpression.Helper.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaQueryExpression.Helper.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,12 @@
using System.Linq;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public partial class KafkaQueryExpression
{
private sealed class ResultEnumerable : IEnumerable
diff --git a/src/net/KEFCore/Query/Internal/KafkaQueryExpression.cs b/src/net/KEFCore/Query/Internal/KafkaQueryExpression.cs
index c4e6dd93..8ff2b23d 100644
--- a/src/net/KEFCore/Query/Internal/KafkaQueryExpression.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaQueryExpression.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,12 @@
using ExpressionExtensions = Microsoft.EntityFrameworkCore.Infrastructure.ExpressionExtensions;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public partial class KafkaQueryExpression : Expression, IPrintableExpression
{
private static readonly ConstructorInfo ValueBufferConstructor
diff --git a/src/net/KEFCore/Query/Internal/KafkaQueryableMethodTranslatingExpressionVisitor.cs b/src/net/KEFCore/Query/Internal/KafkaQueryableMethodTranslatingExpressionVisitor.cs
index 34fdb34e..611620a0 100644
--- a/src/net/KEFCore/Query/Internal/KafkaQueryableMethodTranslatingExpressionVisitor.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaQueryableMethodTranslatingExpressionVisitor.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaQueryableMethodTranslatingExpressionVisitor : QueryableMethodTranslatingExpressionVisitor
{
private readonly KafkaExpressionTranslatingExpressionVisitor _expressionTranslator;
diff --git a/src/net/KEFCore/Query/Internal/KafkaQueryableMethodTranslatingExpressionVisitorFactory.cs b/src/net/KEFCore/Query/Internal/KafkaQueryableMethodTranslatingExpressionVisitorFactory.cs
index 70645246..2a7ab11f 100644
--- a/src/net/KEFCore/Query/Internal/KafkaQueryableMethodTranslatingExpressionVisitorFactory.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaQueryableMethodTranslatingExpressionVisitorFactory.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaQueryableMethodTranslatingExpressionVisitorFactory : IQueryableMethodTranslatingExpressionVisitorFactory
{
public KafkaQueryableMethodTranslatingExpressionVisitorFactory(
diff --git a/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.QueryingEnumerable.cs b/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.QueryingEnumerable.cs
index 14a3178f..4698bc7b 100644
--- a/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.QueryingEnumerable.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.QueryingEnumerable.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,12 @@
using MASES.EntityFrameworkCore.KNet.Internal;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public partial class KafkaShapedQueryCompilingExpressionVisitor
{
private sealed class QueryingEnumerable : IAsyncEnumerable, IEnumerable, IQueryingEnumerable
diff --git a/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.ShaperExpressionProcessingExpressionVisitor.cs b/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.ShaperExpressionProcessingExpressionVisitor.cs
index d107f2a3..a56dc93f 100644
--- a/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.ShaperExpressionProcessingExpressionVisitor.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.ShaperExpressionProcessingExpressionVisitor.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,12 @@
using ExpressionExtensions = Microsoft.EntityFrameworkCore.Infrastructure.ExpressionExtensions;
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public partial class KafkaShapedQueryCompilingExpressionVisitor
{
private sealed class ShaperExpressionProcessingExpressionVisitor : ExpressionVisitor
diff --git a/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.cs b/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.cs
index a0a6bdf5..1d110592 100644
--- a/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaShapedQueryCompilingExpressionVisitor.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public partial class KafkaShapedQueryCompilingExpressionVisitor : ShapedQueryCompilingExpressionVisitor
{
private readonly Type _contextType;
diff --git a/src/net/KEFCore/Query/Internal/KafkaShapedQueryExpressionVisitorFactory.cs b/src/net/KEFCore/Query/Internal/KafkaShapedQueryExpressionVisitorFactory.cs
index c734fba1..e91741a5 100644
--- a/src/net/KEFCore/Query/Internal/KafkaShapedQueryExpressionVisitorFactory.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaShapedQueryExpressionVisitorFactory.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaShapedQueryCompilingExpressionVisitorFactory : IShapedQueryCompilingExpressionVisitorFactory
{
public KafkaShapedQueryCompilingExpressionVisitorFactory(
diff --git a/src/net/KEFCore/Query/Internal/KafkaTableExpression.cs b/src/net/KEFCore/Query/Internal/KafkaTableExpression.cs
index 9b59365c..7fd627da 100644
--- a/src/net/KEFCore/Query/Internal/KafkaTableExpression.cs
+++ b/src/net/KEFCore/Query/Internal/KafkaTableExpression.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class KafkaTableExpression : Expression, IPrintableExpression
{
public KafkaTableExpression(IEntityType entityType)
diff --git a/src/net/KEFCore/Query/Internal/SingleResultShaperExpression.cs b/src/net/KEFCore/Query/Internal/SingleResultShaperExpression.cs
index fd04e96f..a4ab613d 100644
--- a/src/net/KEFCore/Query/Internal/SingleResultShaperExpression.cs
+++ b/src/net/KEFCore/Query/Internal/SingleResultShaperExpression.cs
@@ -2,7 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license.
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Query.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class SingleResultShaperExpression : Expression, IPrintableExpression
{
public SingleResultShaperExpression(
diff --git a/src/net/KEFCore/Storage/Internal/EntityTypeProducer.cs b/src/net/KEFCore/Storage/Internal/EntityTypeProducer.cs
index 000e48c6..28d3b30a 100644
--- a/src/net/KEFCore/Storage/Internal/EntityTypeProducer.cs
+++ b/src/net/KEFCore/Storage/Internal/EntityTypeProducer.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,7 +32,12 @@
using System.Collections;
namespace MASES.EntityFrameworkCore.KNet.Storage.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public class EntityTypeProducers
{
static IEntityTypeProducer? _globalProducer = null;
diff --git a/src/net/KEFCore/Storage/Internal/IEntityTypeProducer.cs b/src/net/KEFCore/Storage/Internal/IEntityTypeProducer.cs
index c2aca09e..1a47343d 100644
--- a/src/net/KEFCore/Storage/Internal/IEntityTypeProducer.cs
+++ b/src/net/KEFCore/Storage/Internal/IEntityTypeProducer.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,12 @@
using Org.Apache.Kafka.Clients.Producer;
namespace MASES.EntityFrameworkCore.KNet.Storage.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public interface IEntityTypeProducer : IDisposable
{
IEnumerable> Commit(IEnumerable records);
diff --git a/src/net/KEFCore/Storage/Internal/IKafkaCluster.cs b/src/net/KEFCore/Storage/Internal/IKafkaCluster.cs
index 8760a06c..4e3fdf66 100644
--- a/src/net/KEFCore/Storage/Internal/IKafkaCluster.cs
+++ b/src/net/KEFCore/Storage/Internal/IKafkaCluster.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,7 +20,12 @@
using MASES.EntityFrameworkCore.KNet.ValueGeneration.Internal;
namespace MASES.EntityFrameworkCore.KNet.Storage.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public interface IKafkaCluster : IDisposable
{
bool EnsureDeleted(IUpdateAdapterFactory updateAdapterFactory, IModel designModel, IDiagnosticsLogger updateLogger);
diff --git a/src/net/KEFCore/Storage/Internal/IKafkaClusterCache.cs b/src/net/KEFCore/Storage/Internal/IKafkaClusterCache.cs
index a94e88a6..9e61324c 100644
--- a/src/net/KEFCore/Storage/Internal/IKafkaClusterCache.cs
+++ b/src/net/KEFCore/Storage/Internal/IKafkaClusterCache.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +19,12 @@
using MASES.EntityFrameworkCore.KNet.Infrastructure.Internal;
namespace MASES.EntityFrameworkCore.KNet.Storage.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public interface IKafkaClusterCache
{
IKafkaCluster GetCluster(KafkaOptionsExtension options);
diff --git a/src/net/KEFCore/Storage/Internal/IKafkaDatabase.cs b/src/net/KEFCore/Storage/Internal/IKafkaDatabase.cs
index e2aee765..1e00226d 100644
--- a/src/net/KEFCore/Storage/Internal/IKafkaDatabase.cs
+++ b/src/net/KEFCore/Storage/Internal/IKafkaDatabase.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -17,7 +17,12 @@
*/
namespace MASES.EntityFrameworkCore.KNet.Storage.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public interface IKafkaDatabase : IDatabase, IDisposable
{
IKafkaCluster Cluster { get; }
diff --git a/src/net/KEFCore/Storage/Internal/IKafkaRowBag.cs b/src/net/KEFCore/Storage/Internal/IKafkaRowBag.cs
index 9ea24303..cf3650b5 100644
--- a/src/net/KEFCore/Storage/Internal/IKafkaRowBag.cs
+++ b/src/net/KEFCore/Storage/Internal/IKafkaRowBag.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,7 +19,12 @@
#nullable enable
namespace MASES.EntityFrameworkCore.KNet.Storage.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public interface IKafkaRowBag
{
IUpdateEntry UpdateEntry { get; }
diff --git a/src/net/KEFCore/Storage/Internal/IKafkaTable.cs b/src/net/KEFCore/Storage/Internal/IKafkaTable.cs
index e3db233c..55cb0b97 100644
--- a/src/net/KEFCore/Storage/Internal/IKafkaTable.cs
+++ b/src/net/KEFCore/Storage/Internal/IKafkaTable.cs
@@ -1,5 +1,5 @@
/*
-* Copyright 2022 MASES s.r.l.
+* Copyright 2023 MASES s.r.l.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -19,11 +19,14 @@
#nullable enable
using MASES.EntityFrameworkCore.KNet.ValueGeneration.Internal;
-using Java.Util.Concurrent;
-using Org.Apache.Kafka.Clients.Producer;
namespace MASES.EntityFrameworkCore.KNet.Storage.Internal;
-
+///
+/// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
+/// the same compatibility standards as public APIs. It may be changed or removed without notice in
+/// any release. You should only use it directly in your code with extreme caution and knowing that
+/// doing so can result in application failures when updating to a new Entity Framework Core release.
+///
public interface IKafkaTable : IEntityTypeProducer
{
IReadOnlyList