fix #2596 - fix EF Core tracking error when updating a file in a folder which has a Capacity specified

This commit is contained in:
Shaun Walker
2023-02-15 12:43:18 -05:00
parent 11dd3ce110
commit 2e61a43e4f
3 changed files with 20 additions and 8 deletions

View File

@ -6,6 +6,7 @@ namespace Oqtane.Repository
public interface IFileRepository
{
IEnumerable<File> GetFiles(int folderId);
IEnumerable<File> GetFiles(int folderId, bool tracking);
File AddFile(File file);
File UpdateFile(File file);
File GetFile(int fileId);