netmash/infrastructure/Netmash.Infrastructure.Data.../Models/ServiceConfiguration.cs

23 lines
823 B
C#
Raw Normal View History

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; }
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;
}
}
}