32 lines
547 B
C#
32 lines
547 B
C#
///
|
|
/// Copyright (c) 2021 Sensus Slovensko a.s.
|
|
///
|
|
using System;
|
|
|
|
namespace Common
|
|
{
|
|
/// <summary>
|
|
/// Database settings required to make a connection
|
|
/// </summary>
|
|
public class DBSettings : ICloneable
|
|
{
|
|
public Common.DBType DbType;
|
|
public string ConnectionString;
|
|
|
|
public DBSettings()
|
|
{
|
|
}
|
|
|
|
public DBSettings(Common.DBType dbType, string connectionString)
|
|
{
|
|
this.DbType = dbType;
|
|
this.ConnectionString = connectionString;
|
|
}
|
|
|
|
public object Clone()
|
|
{
|
|
return new DBSettings(DbType, ConnectionString);
|
|
}
|
|
}
|
|
}
|