Rapid Repository is a Windows Phone 7 Database and Silverlight Isolated Storage Database.
- Release Overview
- Creating and saving entities
- Create, read, update and delete operations
- Querying with views and filters
- File Helper
- Examining Operation Requests
I have added some methods for saving, retrieving and deleting files which are not entities.
If you have a large amount of data such as the byte array of an image, storing the byte array directly in the entity could cause a significant performance problem as converting the byte to json can take quite a long time on a phone.
A better solution would be to store the byte array as a separate file and just hold a pointer to the file on the entity.
Using the above class, you could store a link to an image stored as a byte array string within the file system.
You can load the file back using the value stored in the entity.
You can also delete the file using the same Guid value.
I hope you find these helper methods useful.