BootstrapAdmin11/Bootstrap.DataAccess/DBAccessManager.cs

19 lines
391 B
C#

using Longbow.Data;
using System;
namespace Bootstrap.DataAccess
{
/// <summary>
///
/// </summary>
public static class DBAccessManager
{
private static Lazy<DBAccess> db = new Lazy<DBAccess>(() => DBAccess.CreateDB("SQL"), true);
public static DBAccess SqlDBAccess
{
get { return db.Value; }
}
}
}