Highlights
On a separate visual studio project and complete the task you implemented above. The requirements are as follows:
1. Build a class that is capable of handling persistence. This class can write entities to disk in a file as json blobs or as csv records or to a database. If you choose not to use EF as presented in class, the class should have a Read() method that allows you to get all of the entities, which emulates the behavior of an EF DbSet property. The class should also have a Write() method that adds a new record to the file.
2. Modify your T4 template to generate the EC class for each entity to implement each of the six methods that were left effectively blank in programming assignment #5. The details of those methods are as follows:
1. Get() should return all of the records for that type
2. GetById(int id) should return the model with the corresponding primary key
3. Search(string query) should return all models that have a string property that contains the string "query"
4. AddOrUpdate(M instance) should add a new record to your persistence store
5. DeleteById(int id) should delete the record with the given id and return a copy of it to the caller (this is basically a "pop" operation on a stack).
6. Delete(M instance) should delete the given record from your persistence store
3. Make sure your WebAPI Controller templates all return the value passed back to them
This Computer Science Assessment has been solved by our Computer Science experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.