DapperExtensions/DapperExtSqls.cs

(完整代码) 1KB

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; }

    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。