#region
|
|
using System;
|
using System.Data;
|
|
///*************************************************************************/
|
///*
|
///* 文件名 :IBridge_DataDict.cs
|
///* 程序说明 : 数据字典数据层桥接接口
|
///* 原创作者 :www.csframework.com
|
///*
|
///* Copyright 2006-2021 C/S框架网 www.csframework.com
|
///*
|
///**************************************************************************/
|
|
#endregion
|
|
namespace CSFrameworkV5.Interfaces
|
{
|
/// <summary>
|
/// 数据字典数据层桥接接口
|
/// </summary>
|
public interface IBridge_DataDict : IBridgeBase_DataDict
|
{
|
/// <summary>
|
/// 最后一次生成的流水号码
|
/// </summary>
|
string LastGeneratedKey { get; set; }
|
|
/// <summary>
|
/// 当前字典数据对应的ORM模型
|
/// </summary>
|
Type ORM { get; set; }
|
|
/// <summary>
|
/// 字典表表名,如tb_Customer
|
/// </summary>
|
string TableName { get; set; }
|
|
/// <summary>
|
/// 根据字典表表名取所有数据
|
/// </summary>
|
/// <param name="tableName">字典表表名,如tb_Customer</param>
|
/// <returns></returns>
|
DataTable GetDataDictByTableName(string tableName);
|
|
|
DataTable GetDataDictBySql(string SQL);
|
|
/// <summary>
|
/// 取字典表的Lookup数据,通常只返回编号+名称
|
/// </summary>
|
/// <returns></returns>
|
DataTable GetLookupData();
|
|
/// <summary>
|
/// 取服务器时间
|
/// </summary>
|
/// <returns></returns>
|
DateTime GetServerTime();
|
}
|
}
|