- The MDriven Book: Table of Contents
- What is MDriven
- Introduction - The MDriven Book
- Praise to UML
- What if UML was forbidden
- What is not to like
- What is next
- Information design
- Short introduction to UMLâ class diagram
- Association classes
- UML Inheritance
- Polymorphism
- Composite and Aggregate and what they imply
- Derived attributes & associations
- UML â State machines
- Constraints
- The ViewModel
- The declarative ViewModel
- Prototyping
- Taking It Further Still
- What an Action can do
- Global actions
- Action names
- Microsoft Office and OpenDocument as a Report generator
- Available Actions
- Introducing MDriven Server
- Security concerns for MDriven Server
- MDrivenServer Summarized
- Certain important constructs
- MDrivenServer periodic server-side actions
- Luckily UML is Not Forbidden
- Import data from other SQL servers
- SQLExport from MDriven Server
- Seeker view
- Installing TurnKey as an Azure WebApp
- Set up MDriven Turnkey on premise
- MDriven Turnkey architecture
- Security
- Information security
- Access control system in MDriven
- Testing
- The MDriven Book
SQLExport ServerSide Action[edit | edit source]
The SQLExport action is used to write data from your model into another external SQL database. It is an alternative way to export data that needs no other external components or maintenance than what MDriven Server provides.
SQLExport requires 'connectionstring' on root, 'data' (column name must start with 'data', case insensitive) as a Nesting that contains the data row(s) to insert or update, and on data - 'queryforinsert','queryforupdate' and 'queryforselectcount' as attributes (if queryforselectcount returns 0 the queryforinsert is used, else update).
Update 2025-04-15; You can now give a CommandTimeout column with a value as integer in seconds - default is 30.
Update 2018-10-18: You can now use 'connectionstringodbc' and the logic will use ODBC connection instead.
The very common case of âreplicatingâ some model-driven data to another database is implemented and scheduled in minutes.
Common Gotchas[edit | edit source]
The data nesting must be collected even when you work in 1 object -> do self->asset
The MDriven Book - Next Chapter: OCL Expressions
