6

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)

asked Mar 24, 2018 at 19:33

1 Answer 1

1

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.

answered Jun 4, 2018 at 3:56

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.