Skip to content

Commit 16e5f8b

Browse files
committed
co
1 parent 8c33d5a commit 16e5f8b

File tree

2 files changed

+98
-4
lines changed

2 files changed

+98
-4
lines changed

FreeSql/FreeSql.xml

Lines changed: 98 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Providers/FreeSql.Provider.Xugu/XuguCodeFirst.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ public XuguCodeFirst(IFreeSql orm, CommonUtils commonUtils, CommonExpression com
6161

6262
public override DbInfoResult GetDbInfo(Type type)
6363
{
64-
_dicCsToDb.TryGetValue(type, out var info);
65-
if (info == null) return null;
66-
return new DbInfoResult((int)info.type, info.dbtype, info.dbtypeFull, info.isnullable, info.defaultValue);
67-
6864
if (_dicCsToDb.TryGetValue(type, out var trydc)) return new DbInfoResult((int)trydc.type, trydc.dbtype, trydc.dbtypeFull, trydc.isnullable, trydc.defaultValue);
6965
if (type.IsArray) return null;
7066
var enumType = type.IsEnum ? type : null;

0 commit comments

Comments
 (0)