|
|
@ -2,6 +2,7 @@ |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.Reflection; |
|
|
using System.Reflection; |
|
|
using Microsoft.EntityFrameworkCore; |
|
|
using Microsoft.EntityFrameworkCore; |
|
|
|
|
|
using Microsoft.EntityFrameworkCore.ChangeTracking; |
|
|
using Shentun.Peis.EntityFrameworkCore; |
|
|
using Shentun.Peis.EntityFrameworkCore; |
|
|
using Shentun.WebPeis.Models; |
|
|
using Shentun.WebPeis.Models; |
|
|
using Volo.Abp.AuditLogging; |
|
|
using Volo.Abp.AuditLogging; |
|
|
@ -246,5 +247,11 @@ public partial class WebPeisDbContext : AbpDbContext<WebPeisDbContext>, |
|
|
modelBuilder.ToSnakeCase(); |
|
|
modelBuilder.ToSnakeCase(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected override void ApplyAbpConceptsForAddedEntity(EntityEntry entry) |
|
|
|
|
|
{ |
|
|
|
|
|
base.ApplyAbpConceptsForAddedEntity(entry); |
|
|
|
|
|
SetModificationAuditProperties(entry); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
partial void OnModelCreatingPartial(ModelBuilder modelBuilder); |
|
|
partial void OnModelCreatingPartial(ModelBuilder modelBuilder); |
|
|
} |
|
|
} |