I am using FSharp.Data SqlDataProvider (type provider) to access my data. Even though this is very nice way to get data into F# types it obviously requires having a database with correct schema in every development environment where I want to compile the code.
Is there any trick available to not require a database installation with correct schema during compile time? Like static schema file or conditional compilation? (In general the application would be able to execute without having a database installed)
Not having found any better idea I decided to create a SqlLite database file which I simply added so the source control system. This one is then referenced by the type provider at compile time. By that the correct schema us available in each development environment automatically.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With