SQLProvider


Programmability

1: 
2: 
type AdventureWorks = SqlDataProvider<Common.DatabaseProviderTypes.MSSQLSERVER, connStr, ResolutionPath = resolutionFolder>
let ctx = AdventureWorks.GetDataContext()

Execute a function in the Adventure Works database

1: 
ctx.Functions.UfnGetSalesOrderStatusText.Invoke(0uy)

Execute a stored procedure in the Adventure Works database

1: 
ctx.Procedures.UspLogError.Invoke(1)
Fork me on GitHub