2016-10-20 17:55:29 +08:00
|
|
|
|
using Longbow.Data;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Bootstrap.DataAccess
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
2016-10-26 21:51:38 +08:00
|
|
|
|
public static class DBAccessManager
|
2016-10-20 17:55:29 +08:00
|
|
|
|
{
|
|
|
|
|
private static Lazy<DBAccess> db = new Lazy<DBAccess>(() => DBAccess.CreateDB("SQL"), true);
|
|
|
|
|
|
|
|
|
|
public static DBAccess SqlDBAccess
|
|
|
|
|
{
|
|
|
|
|
get { return db.Value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|