Compare commits
No commits in common. "4f979eec969d3c1e9d5230dcea97ce04c79323b6" and "4840aedba479a33d8a17b2630f073d61af713aa3" have entirely different histories.
4f979eec96
...
4840aedba4
|
|
@ -67,6 +67,7 @@ public abstract class AcDbContextBase : DbContext
|
|||
var utcNow = DateTime.UtcNow;
|
||||
foreach (var entityEntry in entries)
|
||||
{
|
||||
//entityEntry.DebugView.LongView
|
||||
if (entityEntry.Entity is ITimeStampModified timeStampModified)
|
||||
timeStampModified.Modified = utcNow;
|
||||
|
||||
|
|
@ -79,7 +80,6 @@ public abstract class AcDbContextBase : DbContext
|
|||
continue;
|
||||
}
|
||||
|
||||
//entityEntry.State = EntityState.Unchanged;
|
||||
entityEntry.Property(nameof(timeStampCreated.Created)).IsModified = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
namespace AyCode.Services.SignalRs;
|
||||
|
||||
public sealed class SignalRCrudTags(int getAllTag, int getItemTag, int addTag, int updateTag, int removeTag)
|
||||
{
|
||||
public int GetAllMessageTag { get; } = getAllTag;
|
||||
public int GetItemMessageTag { get; } = getItemTag;
|
||||
public int AddMessageTag { get; } = addTag;
|
||||
public int UpdateMessageTag { get; } = updateTag;
|
||||
public int RemoveMessageTag { get; } = removeTag;
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue