From e773a96b1b8f81ee9673381ea18e223d341aebc9 Mon Sep 17 00:00:00 2001 From: JRahnama Date: Fri, 8 Dec 2023 00:03:30 -0800 Subject: [PATCH 1/2] Adding ActiveDirectoryWorkloadIdentity to ref folder and soring the numbers --- .../netfx/ref/Microsoft.Data.SqlClient.cs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs b/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs index 4663cc151f..d8bbb83106 100644 --- a/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs +++ b/src/Microsoft.Data.SqlClient/netfx/ref/Microsoft.Data.SqlClient.cs @@ -116,12 +116,16 @@ public abstract partial class SqlAuthenticationInitializer /// public enum SqlAuthenticationMethod { + /// + NotSpecified = 0, + /// + SqlPassword = 1, + /// + ActiveDirectoryPassword = 2, /// ActiveDirectoryIntegrated = 3, /// ActiveDirectoryInteractive = 4, - /// - ActiveDirectoryPassword = 2, /// ActiveDirectoryServicePrincipal = 5, /// @@ -132,10 +136,8 @@ public enum SqlAuthenticationMethod ActiveDirectoryMSI = 8, /// ActiveDirectoryDefault = 9, - /// - NotSpecified = 0, - /// - SqlPassword = 1 + /// + ActiveDirectoryWorkloadIdentity = 10 } /// public class SqlAuthenticationParameters From 03f9af690248d53a634291657dd4adf30811fa55 Mon Sep 17 00:00:00 2001 From: JRahnama Date: Fri, 8 Dec 2023 09:49:47 -0800 Subject: [PATCH 2/2] commit --- .../netcore/ref/Microsoft.Data.SqlClient.cs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs b/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs index 92cb042b76..75d7684619 100644 --- a/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs +++ b/src/Microsoft.Data.SqlClient/netcore/ref/Microsoft.Data.SqlClient.cs @@ -160,12 +160,16 @@ public abstract partial class SqlAuthenticationInitializer /// public enum SqlAuthenticationMethod { + /// + NotSpecified = 0, + /// + SqlPassword = 1, + /// + ActiveDirectoryPassword = 2, /// ActiveDirectoryIntegrated = 3, /// ActiveDirectoryInteractive = 4, - /// - ActiveDirectoryPassword = 2, /// ActiveDirectoryServicePrincipal = 5, /// @@ -176,10 +180,8 @@ public enum SqlAuthenticationMethod ActiveDirectoryMSI = 8, /// ActiveDirectoryDefault = 9, - /// - NotSpecified = 0, - /// - SqlPassword = 1 + /// + ActiveDirectoryWorkloadIdentity = 10 } /// public class SqlAuthenticationParameters