We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 443d37b commit 819251cCopy full SHA for 819251c
FreeSql.DbContext/EfCoreFluentApi/EfCoreTableFluent`1.cs
@@ -344,6 +344,7 @@ public EfCoreTableFluent<T> HasData(IEnumerable<T> data)
344
lock (sdCopyLock)
345
sd = sdCopy?.ToArray();
346
if (sd == null || sd.Any() == false) return;
347
+ if (e.Exception != null) return;
348
foreach (var et in e.EntityTypes)
349
{
350
if (et != typeof(T)) continue;
0 commit comments