Script Generation

DBBroker does not change database structures, because it believes in the principle of Separation of Concerns.

Gennerally the greatest responsibility of an application is manipulate data, a human should think an then change data structure. To give DBBroker this power, it would require the user given to it other privileges than reading and writing data. That would not be good.

The good news is DBBroker can deliver you the script to generate the database that reflects the classes of the mapped domain. Just access the methods of the class:


Connection String Encryption

Security should be a constant concern in software development. To garantee that only the appropriated persons will have access to the sensitive information of the Connection String some additional and, sometimes, hard work is necessary.

To simplify that, DBBroker provides a method that encrypts the DBBroker.config file contents, just call the static method: