Extreme noob question: I have a module that I would like to use in my C # (universal) application. A C # application will download and unzip a file containing 12 CSVs that will always follow the same format. So, what I did, download the CSV in advance and add them to my solution so that the file specified in CsvProvider <"thefile.csv"> is there at compile time.
namespace ExperimentalFSLibrary
module CsvHelper =
open FSharp.Data
let GetCsvA path =
CsvProvider<"thefileA.csv">.Load(path)
Then call this from my C # application like this:
var ReceivedCsvA = ExperimentalFSLibrary.CsvHelper.GetCsvA
I was unable to get data from the F # library
The question also arises, how to work with twelve different files, since I have to specify a template file for CsvProvider, I suppose I would have to write 12 different functions?
SO , , . , , .