infrastructure for dealing with client cache invalidation in a multi-user environment
This commit is contained in:
		| @ -1,4 +1,5 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.ComponentModel.DataAnnotations.Schema; | ||||
|  | ||||
| namespace Oqtane.Models | ||||
| @ -15,6 +16,11 @@ namespace Oqtane.Models | ||||
|         public string ModifiedBy { get; set; } | ||||
|         public DateTime ModifiedOn { get; set; } | ||||
|  | ||||
|         [NotMapped] | ||||
|         public DateTime SyncDate { get; set; } | ||||
|         [NotMapped] | ||||
|         public List<SyncEvent> SyncEvents { get; set; } | ||||
|  | ||||
|         [NotMapped] | ||||
|         public string Path | ||||
|         { | ||||
|  | ||||
							
								
								
									
										12
									
								
								Oqtane.Shared/Models/SyncEvent.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								Oqtane.Shared/Models/SyncEvent.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | ||||
| using System; | ||||
|  | ||||
| namespace Oqtane.Models | ||||
| { | ||||
|     public class SyncEvent | ||||
|     { | ||||
|         public int TenantId { get; set; } | ||||
|         public string EntityName { get; set; } | ||||
|         public int EntityId { get; set; } | ||||
|         public DateTime ModifiedOn { get; set; } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker