36 lines
674 B
C#
36 lines
674 B
C#
using SteamWare;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace WebLCP
|
|
{
|
|
public class dataLayer
|
|
{
|
|
#region area public
|
|
|
|
public DS_AppTableAdapters.JobsListTableAdapter taJL;
|
|
|
|
#endregion
|
|
|
|
public dataLayer()
|
|
{
|
|
initAdapters();
|
|
setupConnection();
|
|
}
|
|
|
|
public static dataLayer man = new dataLayer();
|
|
|
|
private void setupConnection()
|
|
{
|
|
string connString = memLayer.ML.CRS("AdmodellingConnectionString");
|
|
taJL.Connection.ConnectionString = connString;
|
|
}
|
|
|
|
private void initAdapters()
|
|
{
|
|
taJL = new DS_AppTableAdapters.JobsListTableAdapter();
|
|
}
|
|
}
|
|
} |