public static class Program {
public static void Main() => new DAL.DadosConexao(true, null);
public class DadosConexao {
public DadosConexao(bool isServ, string servidor) {
this.servidor = servidor;
public string StringConexao {
if (!isServ) servidor = Environment.MachineName.ToString();
return "Data Source=" + servidor +
"Initial Catalog=MINHABASE;" +
"Persist Security Info=True;" +