BootstrapAdmin/Bootstrap.Client.DataAccess/DBAccessManager.cs

19 lines
398 B
C#
Raw Normal View History

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