I'm trying to access an existing database via the Microsoft.FSharp.Data.TypeProviders.SqlDataConnection type. There are some stored procedures that are not provided (but most are).
I'm trying to determine what differentiates the unprovidable procedures from the others -- I believe that custom types are one reason the type-provision might fail, but they don't appear to be present here.
For what other reasons might our stored procedures be unprovidable?
Edit:
I've identified the following block as one that causes unprovidability:
EXEC @intReturn = te_audit_log @action = 'I',
@user_id = @intUserId,
@table_id = 1,
@audit_action = 'A',
@data_id = @intStatus,
@session_guid = @session_guid,
@effective_date = @actual_timedate,
@employee_id = @employee_id
...I think it is because the sproc that is being "exec"ed also having paths that return values from a temp table.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…