一步一步建立我的MIS系统:TempTable临时表

using System;
using System.Data;

using EwEAI.Data;

namespace EwEAI.Business.Classes
{
    public class TempTable
    {
        private TempTable()
        {
        }

        public static TempTable Instance
        {
            get
            {
                if (_Instance == null)
                    _Instance = new TempTable();
                return _Instance;
            }
        }
        private static TempTable _Instance = null;


        public DataTable GetData(string SQL)
        {
            return DBWR.Instance.ReadData(SQL);
        }

        public object GetSingValue(string SQL)
        {
            return DBWR.Instance.GetSingleValue(SQL);
        }

        public void ExecSQL(string SQL)
        {
            DBWR.Instance.ExecSQL(SQL);
        }


    }
}

阅读更多

没有更多推荐了,返回首页