Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type DataTypesTest = ExcelFile<"testsExcelProvider.TestsDataTypes.xlsx">
- A direct reference to the generated type 'ExcelFile' is not permitted. Instead, use a type definition, e.g. 'type TypeAlias = <path>'. This indicates that a type provider adds generated types to your assembly.
- // add a parameterless constructor which loads the file that was used to define the schema
- let ctor = ProvidedConstructor([])
- ctor.BaseConstructorCall <- fun [] -> <@@ ExcelFileInternal(resolvedFilename, range) @@>
- providedExcelFileType.AddMember(ctor)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement