dotConnect for MySQL Documentation
On this page
    Database Script Generation Settings
    On this page

    dotConnect for MySQL allows configuring creating and deleting database objects in the CreateDatabase() and DeleteDatabase() methods. These customizations are rather useful for the Code First approach. You can tweak the behaviour of the methods using the MySqlEntityProviderConfig.DatabaseScript.Schema, MySqlEntityProviderConfig.DatabaseScript.Table, and MySqlEntityProviderConfig.DatabaseScript.ForeignKey classes.

    MySqlEntityProviderConfig.DatabaseScript.Schema Settings

    MySqlEntityProviderConfig.DatabaseScript.ForeignKey Settings

    MySqlEntityProviderConfig.DatabaseScript.Table Settings