修复一个可能存在的null引用问题
This commit is contained in:
parent
520abc3454
commit
e16e28da2d
|
@ -154,7 +154,9 @@ namespace Falcon.SugarApi.DatabaseDefinitions
|
|||
var type = types[i];
|
||||
if (!InitdTable.Any(m => m == type.FullName)) {
|
||||
this.CodeFirst.BackupTable().SetStringDefaultLength(200).InitTables(type);
|
||||
InitdTable.Add(type.FullName);
|
||||
if (type.FullName != null) {
|
||||
InitdTable.Add(type.FullName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user