2023-01-12 01:01:36 +02:00
|
|
|
|
using Netmash.Infrastructure.DatabaseMigration.Constants;
|
2022-01-21 11:19:51 +02:00
|
|
|
|
|
2023-01-12 01:01:36 +02:00
|
|
|
|
namespace Netmash.Infrastructure.DatabaseMigration.Models
|
2022-01-21 11:19:51 +02:00
|
|
|
|
{
|
|
|
|
|
internal class ServiceConfiguration
|
|
|
|
|
{
|
|
|
|
|
public DatabaseType DatabaseType { get; }
|
2022-02-16 19:09:06 +02:00
|
|
|
|
public MetadataLocation MetadataLocation { get; }
|
2022-01-21 11:19:51 +02:00
|
|
|
|
public string ConnectionName { get; }
|
|
|
|
|
public string Workspace { get; }
|
|
|
|
|
public string ScriptsDirectory { get; }
|
|
|
|
|
|
2022-02-16 19:09:06 +02:00
|
|
|
|
public ServiceConfiguration(DatabaseType databaseType, MetadataLocation metadataLocation, string connectionName, string workspace, string scriptsDirectory)
|
2022-01-21 11:19:51 +02:00
|
|
|
|
{
|
|
|
|
|
DatabaseType = databaseType;
|
2022-02-16 19:09:06 +02:00
|
|
|
|
MetadataLocation = metadataLocation;
|
2022-01-21 11:19:51 +02:00
|
|
|
|
ConnectionName = connectionName;
|
|
|
|
|
Workspace = workspace;
|
|
|
|
|
ScriptsDirectory = scriptsDirectory;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|