示例#1
0
    public DataSQL(string tableName, string ConnectKey = "TVSConn")
    {
        this.ConnectKey = ConnectKey;

        if (!ListTable.ContainsKey(tableName))
        {
            tableInfo = getTableInfo(tableName);
            try
            {
                ListTable.Add(tableName, tableInfo);
            }
            catch { }
        }
        else
        {
            tableInfo = (TableInfo)ListTable[tableName];
        }
    }