I have to write an application which is creates/updates/deletes database entries. This part I've done, however I must also implement a function that returns the current size of the database in KB/MB which I'm having bigger problems with.
Basically I'm doing Code First, so I created the model class and the DBContext class for it which returns value I need.
Is there a way for, let's say a DBSet, to somehow get the size of my DB entries in KB/MB? I've googled to find if maybe there are some other helpful classes for this but no luck.