1
yhj
2024-07-24 5e5d945e91568b973faa27d8ab0bcef99fc4a6c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#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();
    }
}