You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are numerous issues associated with built-in ability to pass *.sql file name as command text to SqlCommandProvider and SqlProgrammabilityProvider.CreateCommand
See #163 #123
I propose to introduce dedicated SqlFilegenerative type provider that will return content of sql file as literal string. It is related to fsprojects/FSharp.Management#71 but there are benefits having our own version of it for several reasons:
It has't not been implemented in FSharp.Management lib yet
We have a reason (see below) to implement it as generative not erased. On other side erased implementation probably makes more sense for FSharp.Management
extra dependency might not be justifiable in this case
Description
There are numerous issues associated with built-in ability to pass *.sql file name as command text to
SqlCommandProvider
andSqlProgrammabilityProvider.CreateCommand
See
#163
#123
I propose to introduce dedicated
SqlFile
generative type provider that will return content of sql file as literal string. It is related to fsprojects/FSharp.Management#71 but there are benefits having our own version of it for several reasons:Expected behavior
Text
is literal property on type generated bySqlFile
type providerSqlFile
generative type provider I hope to address External SQL files in referenced libraries does not work if not copied to the referencing library #123Related information
The text was updated successfully, but these errors were encountered: