c# - Is CSLA.NET a right solution for multiple databases? -
i have application connect database. have plan slice data in database multiple databases.
for example, have 10,000 records in table test_table_1 , right located in 1 database. now, want move 5,000 records database new database, same table name. so, have 2 databases, original 1 contain first 5,000 records , new data-center contain rest (5,000 records.)
the challenge on application. need update reading configuration value configuration file check data center connect to.
here questions:
- is csla.net right solution problem?
- is there feature on csla.net allow me switch between data-centers when 1 of them dead?
csla not data access framework or orm, business layer framework.
it abstract concept of database, making possible business layer use data multiple databases.
interaction database(s) responsibility of data access layer (dal). csla provides high level functionality invokes dal in consistent manner, implement dal.
one important consideration when building business domain objects include data multiple databases key values each database table required database updates if user saves object's data. result should expect store key values in business object (perhaps private properties). same true concurrency values such timestamps.
Comments
Post a Comment