12345678910111213141516171819202122232425262728293031 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Collections;
- using cuidian.Sql;
- namespace UfidaToTempDb
- {
- public abstract class BaseTrans
- {
- protected string _sql;
- public BaseTrans()
- {
- _Init();
- }
- protected virtual void _Init()
- { }
- public void TransData(Hashtable args)
- {
- string sql = _BuildSql(args);
- DbUtils.ExecuteNonQuery(sql, ConnectionUtils.Instance.GetConnection());
- }
- protected abstract string _BuildSql(Hashtable args);
-
- }
- }
|