BigLitho/Large.Lito.Data/DataAccess/ConnectionSQL.cs

23 lines
1002 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace Big.Lito.Data.DataAccess
{
public abstract class ConnectionSQL
{
protected string ConnectionString
{
get
{
//string connectionString = @"Data Source = (LocalDB)\MSSQLLocalDB; AttachDbFilename = C:\Download\Proekty\DotMatrix\LargeLito\Large.Lito\Large.Lito.Database\ProjectSettings.mdf; Integrated Security = True";
string connectionString = @"Data Source = (LocalDB)\MSSQLLocalDB; AttachDbFilename = C:\Download\Proekty\DotMatrix\LargeLito\Large.Lito\Large.Lito.Database\ProjectSettings.mdf; Integrated Security = True";
connectionString = @"Data Source = C:\Users\kondr\AppData\Roaming\Make3\Data\Main.db;";
//Data Source = C:\Users\kondr\AppData\Roaming\Make3\Data\Main.db; version = 3;
return connectionString;
}
}
}
}