I'm working on really nice project in ASP.NET MVC, where comapnies can generate some pdf documents, save some data etc. I have a piece of project already. [no important]
Programist will add Company with one AdminUser, AdminUser[Boss of company or smth like that] will add next users with roles - 'worker' etc.
So there is problem. I have >10 tables, one company can easly create 50 rows in each table by one month. So what is better add to few tables "CompanyId" and filtr everything, or create new database with 10 tables for each company?
For start i want hmm ~20 companies. But next for example 100-1000 companies.
I think that second solution is better, but how to do it? At last can you direct me to good books/articles about it?