Commit 785830d8 authored by 阿星Plus's avatar 阿星Plus

🎉🎉🎉

parent a12743e8
......@@ -123,7 +123,7 @@ namespace Plus.EntityFramework
{
try
{
var changeReport = ApplyAbpConcepts();
var changeReport = ApplyPlusConcepts();
var result = base.SaveChanges();
EntityChangeEventHelper.TriggerEvents(changeReport);
return result;
......@@ -138,7 +138,7 @@ namespace Plus.EntityFramework
{
try
{
var changeReport = ApplyAbpConcepts();
var changeReport = ApplyPlusConcepts();
var result = await base.SaveChangesAsync(cancellationToken);
await EntityChangeEventHelper.TriggerEventsAsync(changeReport);
return result;
......@@ -149,7 +149,7 @@ namespace Plus.EntityFramework
}
}
protected virtual EntityChangeReport ApplyAbpConcepts()
protected virtual EntityChangeReport ApplyPlusConcepts()
{
var changeReport = new EntityChangeReport();
......@@ -162,13 +162,13 @@ namespace Plus.EntityFramework
Entry(entry.Entity).State = EntityState.Modified;
}
ApplyAbpConcepts(entry, userId, changeReport);
ApplyPlusConcepts(entry, userId, changeReport);
}
return changeReport;
}
protected virtual void ApplyAbpConcepts(EntityEntry entry, long? userId, EntityChangeReport changeReport)
protected virtual void ApplyPlusConcepts(EntityEntry entry, long? userId, EntityChangeReport changeReport)
{
switch (entry.State)
{
......
......@@ -55,11 +55,10 @@ namespace Plus.EntityFramework
if (dbContextTypes.IsNullOrEmpty())
{
Logger.Warn("No class found derived from AbpDbContext.");
Logger.Warn("No class found derived from PlusDbContext.");
return;
}
foreach (var dbContextType in dbContextTypes)
{
Logger.Debug("Registering DbContext: " + dbContextType.AssemblyQualifiedName);
......
......@@ -5,7 +5,6 @@ namespace Plus.RedisCache
{
/// <summary>
/// (De)Serialize
/// 来自Redis缓存的对象
/// </summary>
public interface IRedisCacheSerializer
{
......
......@@ -20,8 +20,4 @@
<ProjectReference Include="..\Plus.Extensions\Plus.Extensions.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Utils\" />
</ItemGroup>
</Project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment