public static IDBSession CreateDBSession(string connKey) { DataAccess.IDatabase db = new DataAccess.Database(connKey); IDBSession dbSession = new DBSessionBase(db); return(dbSession); }