ICodeFirst 增加 ConfigEntity 方法,现实干净实体无特性的需求

This commit is contained in:
28810
2019-01-22 12:56:45 +08:00
parent 0bcacc706a
commit 4bf8d60361
22 changed files with 270 additions and 65 deletions

View File

@ -1,4 +1,5 @@
using System;
using FreeSql.DataAnnotations;
using System;
namespace FreeSql {
public interface ICodeFirst {
@ -48,5 +49,6 @@ namespace FreeSql {
/// <param name="type"></param>
/// <returns></returns>
(int type, string dbtype, string dbtypeFull, bool? isnullable, object defaultValue)? GetDbInfo(Type type);
ICodeFirst ConfigEntity<T>(Action<TableFluent<T>> entity);
}
}