wzp
2021-07-19 e65183d31755a0e5fae4bf428435d2e0fd6afdc5
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace DapperExtensions
{
    public class DapperExtSqls
    {
        public string TableName { get; set; }
        public bool HasKey { get; set; } //是否含有主键
        public bool IsIdentity { get; set; } //是否是自增键
 
        public string KeyName { get; set; } //主键名称
 
        public string KeyType { get; set; } //主键类型
 
        public IEnumerable<string> AllFieldList { get; set; } //所有列
        public IEnumerable<string> ExceptKeyFieldList { get; set; } //除主键列
        public string AllFields { get; set; }//所有列逗号分隔
 
        public string InsertSql { get; set; }
        public string InsertIdentitySql { get; set; }
        public string GetByIdSql { get; set; }
        public string GetByIdsSql { get; set; }
        public string GetAllSql { get; set; }
        public string DeleteByIdSql { get; set; }
        public string DeleteByIdsSql { get; set; }
        public string DeleteAllSql { get; set; }
        public string UpdateByIdSql { get; set; }
 
    }
}