21 lines
560 B
C#
21 lines
560 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace UI.Database
|
|
{
|
|
public static class DadosConexao
|
|
{
|
|
public static string Servidor { get; set; }
|
|
public static string Banco { get; set; }
|
|
public static string Usuario { get; set; }
|
|
public static string Senha { get; set; }
|
|
public static string ObterStringConexao()
|
|
{
|
|
return $"Server={Servidor};Database={Banco};User Id={Usuario};Password={Senha};";
|
|
}
|
|
}
|
|
}
|