Refactored SqLite to use EF6