Move all database specific code outside into separate packages SQLite - FK support requires naming convention FK_table_column Trigger support for MSSQL SQLite/MySQL - PK support requires naming convention PK_table