Frequently Asked Questions

If you have a question that's not published in our FAQ, please contact us.

Question:

Can M# work with our existing (or multiple) databases?

Answer:

Yes.

For each entity you can define the data provider model. You can choose:

Have M# create and manage your database tables

Have M# generate the data access code to work with your existing database, without changing the schema.

Write you own custom data provider (for very complex scenarios of integration)

Use no database at all (in-memory only) or file-based repository

To use multiple databases you can easily configure it in your web.config file. The M# Data Access Layer allows you to define a data provider at assembly or type level. You can have a default database for your project represented by a connection string key. Then for each type or group of types in your project, you can define other connection strings referring to different databases. It's that simple to configure.