diff --git a/NDB.DataAccess.SqlServer/BaseDataAccess.cs b/NDB.DataAccess.SqlServer/BaseDataAccess.cs
index ed38f4d..e33e15a 100644
--- a/NDB.DataAccess.SqlServer/BaseDataAccess.cs
+++ b/NDB.DataAccess.SqlServer/BaseDataAccess.cs
@@ -7,12 +7,12 @@ namespace NDB.DataAccess.SqlServer
public abstract class BaseDataAccess
{
#region Fields
- private string ConnectionString { get; set; }
+ private readonly string _connectionString;
#endregion
protected BaseDataAccess(string connectionString)
{
- ConnectionString = connectionString;
+ _connectionString = connectionString;
}
#region Properties
@@ -25,7 +25,7 @@ namespace NDB.DataAccess.SqlServer
#region OpenConnection
public void OpenConnection(string connStr = null)
{
- Connection = new SqlConnection(connStr ?? ConnectionString);
+ Connection = new SqlConnection(connStr ?? _connectionString);
Connection.Open();
}
#endregion
diff --git a/NDB.DataAccess.SqlServer/NDB.DataAccess.SqlServer.csproj b/NDB.DataAccess.SqlServer/NDB.DataAccess.SqlServer.csproj
index b598e6e..a468d29 100644
--- a/NDB.DataAccess.SqlServer/NDB.DataAccess.SqlServer.csproj
+++ b/NDB.DataAccess.SqlServer/NDB.DataAccess.SqlServer.csproj
@@ -2,6 +2,10 @@
netstandard2.0
+ .NET standard library for accessing SQL Server database faster
+ https://dev.azure.com/tstanciu94/NDB
+ https://dev.azure.com/tstanciu94/NDB
+ .NET standard library for accessing SQL Server database faster