You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewArgumentException(@$"Cannot create PRIMARY KEY because not all key columns are part of the temp table.
24
+
You may use other key properties providers like '{nameof(PrimaryKeyPropertiesProviders)}.{nameof(IPrimaryKeyPropertiesProvider.AdaptiveEntityTypeConfiguration)}' instead of '{nameof(PrimaryKeyPropertiesProviders)}.{nameof(IPrimaryKeyPropertiesProvider.EntityTypeConfiguration)}' to get different behaviors.
Copy file name to clipboardExpand all lines: src/Thinktecture.EntityFrameworkCore.BulkOperations/EntityFrameworkCore/TempTables/IPrimaryKeyPropertiesProvider.cs
/// Contains some predefined implementations of <see cref="IPrimaryKeyPropertiesProvider"/>.
10
8
/// </summary>
9
+
[Obsolete($"This class is obsolete. Please use fields and factory method defined on '{nameof(IPrimaryKeyPropertiesProvider)}' instead.",DiagnosticId="TTEF1000")]
11
10
publicstaticclassPrimaryKeyPropertiesProviders
12
11
{
13
12
/// <summary>
14
13
/// Provides no properties, i.e. no primary key will be created.
thrownewArgumentException(@$"Cannot create PRIMARY KEY because not all key columns are part of the temp table.
89
-
You may use other key properties providers like '{nameof(PrimaryKeyPropertiesProviders)}.{nameof(AdaptiveEntityTypeConfiguration)}' instead of '{nameof(PrimaryKeyPropertiesProviders)}.{nameof(EntityTypeConfiguration)}' to get different behaviors.
Copy file name to clipboardExpand all lines: src/Thinktecture.EntityFrameworkCore.SqlServer/EntityFrameworkCore/BulkOperations/SqlServerBulkOperationExecutor.cs
Copy file name to clipboardExpand all lines: src/Thinktecture.EntityFrameworkCore.SqlServer/EntityFrameworkCore/BulkOperations/SqlServerBulkOperationTempTableOptions.cs
0 commit comments