-
Notifications
You must be signed in to change notification settings - Fork 0
Files
jperl edited this page Nov 13, 2011
·
2 revisions
- Id, Name, and OwnerRole properties stored in database
- Extension methods to access data (stored in azure blob storage)
- Has a property which allows it to be eager or lazy loaded
- Actual bytes are stored in fstoreroledata. Checkout FileController for details
- A file entity can be deleted normally on the client (not setup on the server yet)
- In the CoreDomainService.Core's PersistChangeset method: all deleted file's are deleted from cloud storage
- In the file.bytes set property: start inserting/overwrite the blob with the FileManager
- In the DomainContext's discard changes method: Where undoing an insert, delete those file's cloud storage data. This must happen
- tools to help manage insertion/updates/deletes to the azure blob storage
- communicates with FileController to get necessary access
- tools to give access to insertion/updates/deletes to the azure blob storage
- files are stored under fstoreroledata storage account. The container name is the File.OwnerRole.Id, the name is the File.Id