From 3fc119cc6fb2792bfbc2870b35c8f038b8685f52 Mon Sep 17 00:00:00 2001 From: 2881099 <2881099@qq.com> Date: Wed, 24 Jan 2024 14:48:03 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E6=AD=A3=20=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=91=BD=E5=90=8D=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ZeroDbContext.cs | 4 +- FreeSql/FreeSql.xml | 98 ------------------- 2 files changed, 2 insertions(+), 100 deletions(-) diff --git a/Extensions/FreeSql.Extensions.ZeroEntity/ZeroDbContext.cs b/Extensions/FreeSql.Extensions.ZeroEntity/ZeroDbContext.cs index 3c6e759a..b154a8d0 100644 --- a/Extensions/FreeSql.Extensions.ZeroEntity/ZeroDbContext.cs +++ b/Extensions/FreeSql.Extensions.ZeroEntity/ZeroDbContext.cs @@ -67,7 +67,7 @@ ManyToMany 级联删除中间表(注意不删除外部根) public ZeroDbContext(IFreeSql orm, TableDescriptor[] schemas) { _orm = orm; - _tables = VilidateSchemaToInfo(orm, schemas); + _tables = ValidateSchemaToInfo(orm, schemas); if (orm.CodeFirst.IsAutoSyncStructure) foreach (var table in _tables) orm.CodeFirst.SyncStructure(table, table.DbName, false); @@ -80,7 +80,7 @@ ManyToMany 级联删除中间表(注意不删除外部根) _orm.CodeFirst.SyncStructure(table, table.DbName, false); } - static List VilidateSchemaToInfo(IFreeSql orm, IEnumerable schemas) + static List ValidateSchemaToInfo(IFreeSql orm, IEnumerable schemas) { var common = (orm.Ado as AdoProvider)._util; var tables = new List(); diff --git a/FreeSql/FreeSql.xml b/FreeSql/FreeSql.xml index 8f213e5c..8adf6d85 100644 --- a/FreeSql/FreeSql.xml +++ b/FreeSql/FreeSql.xml @@ -1104,82 +1104,6 @@ - - - 动态创建实体类型 - - - - - 配置Class - - 类名 - 类标记的特性[Table(Name = "xxx")] [Index(xxxx)] - - - - - 配置属性 - - 属性名称 - 属性类型 - 属性标记的特性-支持多个 - - - - - 配置属性 - - 属性名称 - 属性类型 - 该属性是否重写父类属性 - 属性标记的特性-支持多个 - - - - - 配置属性 - - 属性名称 - 属性类型 - 该属性是否重写父类属性 - 属性默认值 - 属性标记的特性-支持多个 - - - - - 配置父类 - - 父类类型 - - - - - Override属性 - - - - - - Emit动态创建出Class - Type - - - - - - 首字母小写 - - - - - - - 首字母大写 - - - - 获取实体的主键值,以 "*|_,[,_|*" 分割,当任意一个主键属性无值时,返回 null @@ -5897,28 +5821,6 @@ 请使用 fsql.InsertDict(dict) 方法插入字典数据 - - - 动态构建Class Type - - - - - - 根据字典,创建 table 对应的实体对象 - - - - - - - - 根据实体对象,创建 table 对应的字典 - - - - - C#: that >= between && that <= and