pgsql CodeFirst 适配中

This commit is contained in:
28810
2018-12-19 19:34:52 +08:00
parent 4e45bb184e
commit 6f8a047149
8 changed files with 164 additions and 50 deletions

View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace FreeSql.DatabaseModel {
public class DbEnumInfo {
/// <summary>
/// 枚举类型标识
/// </summary>
public string Name { get; set; }
/// <summary>
/// 枚举项
/// </summary>
public Dictionary<string, string> Labels { get; set; }
}
}

View File

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace FreeSql.DatabaseModel {
public class DbTypeInfo {
/// <summary>
/// 类型标识
/// </summary>
public string Name { get; set; }
/// <summary>
/// 枚举项
/// </summary>
public List<(string label, string value)> Labels { get; set; }
}
}