Added TrustServerCertificate to install apis

This commit is contained in:
Bjarke Berg
2023-06-21 09:12:00 +02:00
parent 22b2f79d15
commit 2ed2fc3533
3 changed files with 7 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ public class InstallerViewModelsMapDefinition : IMapDefinition
target.Password = source.Password;
target.ProviderName = source.ProviderName;
target.Server = source.Server!;
target.TrustServerCertificate = source.TrustServerCertificate;
}
// Umbraco.Code.MapAll
@@ -73,6 +74,7 @@ public class InstallerViewModelsMapDefinition : IMapDefinition
target.Password = source.Password;
target.UseIntegratedAuthentication = source.UseIntegratedAuthentication;
target.ConnectionString = source.ConnectionString;
target.TrustServerCertificate = source.TrustServerCertificate;
}
// Umbraco.Code.MapAll
@@ -86,6 +88,7 @@ public class InstallerViewModelsMapDefinition : IMapDefinition
target.Password = source.Password;
target.ProviderName = source.ProviderName;
target.Server = source.Server!;
target.TrustServerCertificate = source.TrustServerCertificate;
}
// Umbraco.Code.MapAll

View File

@@ -23,4 +23,6 @@ public class DatabaseInstallResponseModel
public bool UseIntegratedAuthentication { get; set; }
public string? ConnectionString { get; set; }
public bool TrustServerCertificate { get; set; }
}

View File

@@ -17,4 +17,6 @@ public class DatabaseInstallData
public bool UseIntegratedAuthentication { get; set; }
public string? ConnectionString { get; set; }
public bool TrustServerCertificate { get; set; }
}