2022-01-21 11:19:51 +02:00
|
|
|
|
using NDB.Infrastructure.DatabaseMigration.Constants;
|
|
|
|
|
|
|
|
|
|
namespace NDB.Infrastructure.DatabaseMigration.Models
|
|
|
|
|
{
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|