|
12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace CnasSynchronusIDAL
- {
- public interface ISourceDataBaseService<T,U> where T: class where U:class
- {
- /// <summary>
- /// 获取数据源数据表结构
- /// </summary>
- Dictionary<string, DataTable> GetInstrumentData(T t);
-
- //public abstract DataTable GetInstrumentDataByTableName();
-
- /// <summary>
- /// 根据日期获得该日期之后的数据
- /// </summary>
- /// <returns></returns>
- DataTable GetInstrumentDataByDate(T t,U u);
-
-
- /// <summary>
- ///根据表名获取表结构信息
- /// </summary>
- /// <param name="t"></param>
- /// <param name="u"></param>
- /// <returns></returns>
- DataTable GetInstrumentDataStruct(T t, U u);
- }
- }
|