netmash/infrastructure/NDB.Infrastructure.Database.../Models/ServiceConfiguration.cs

23 lines
815 B
C#
Raw Normal View History

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; }
public MetadataLocation MetadataLocation { get; }
2022-01-21 11:19:51 +02:00
public string ConnectionName { get; }
public string Workspace { get; }
public string ScriptsDirectory { get; }
public ServiceConfiguration(DatabaseType databaseType, MetadataLocation metadataLocation, string connectionName, string workspace, string scriptsDirectory)
2022-01-21 11:19:51 +02:00
{
DatabaseType = databaseType;
MetadataLocation = metadataLocation;
2022-01-21 11:19:51 +02:00
ConnectionName = connectionName;
Workspace = workspace;
ScriptsDirectory = scriptsDirectory;
}
}
}