Added TrustServerCertificate to install apis
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -23,4 +23,6 @@ public class DatabaseInstallResponseModel
|
||||
public bool UseIntegratedAuthentication { get; set; }
|
||||
|
||||
public string? ConnectionString { get; set; }
|
||||
|
||||
public bool TrustServerCertificate { get; set; }
|
||||
}
|
||||
|
||||
@@ -17,4 +17,6 @@ public class DatabaseInstallData
|
||||
public bool UseIntegratedAuthentication { get; set; }
|
||||
|
||||
public string? ConnectionString { get; set; }
|
||||
|
||||
public bool TrustServerCertificate { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user