This is a migrated thread and some comments may be shown as answers.

Multi-tenancy

1 Answer 120 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Praveen
Top achievements
Rank 1
Praveen asked on 25 Sep 2012, 12:44 PM
We're looking to develop a SaaS app which operates in a multi-tenancy fashion.

Core tables would be centralised, whereas customer-specific information would be siloed into into it's own space, with its own username and password. We were thinking to put different tenants into different schemas, with a central master database to make database management somewhat simpler

We're wondering if there are any specific guidelines on the best way to achieve this using ORM?

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 28 Sep 2012, 11:28 AM
Hi Praveen,

 We do not have built-in multi-tenant support inside of the product. The closest you can do is manage a different data context for each database used (using a different connection string). In memory you will have Database instanced for each database, that can be achieved by just using different connection strings (I assume the DB name can be the only thing that can change). I think the connection string usage can be hidden behind a front-end that authenticates the user. 
Unfortunately at the moment we do not provide a tutorial or best practices articles on the subject but we can definitely look into adding this in the future.

Kind regards,
Petar
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
Tags
Development (API, general questions)
Asked by
Praveen
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or