IsNullable Stored Proc Parameter

Posts   
 
    
Posts: 1263
Joined: 10-Mar-2006
# Posted on: 21-Jul-2006 06:33:58   

I did not see how to determine if a parameter to a stored proc is nullable in the metadata.

Can you advise.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 21-Jul-2006 10:45:08   

A SPCallDefinition object has a Parameters property, which contains SPCallParameterDefinition instances which contains an IsNullable property simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Posts: 1263
Joined: 10-Mar-2006
# Posted on: 21-Jul-2006 16:05:25   

I will take your word for it wink

I did read the docs though! "LLBLGenProSDKReferenceManual" does not list that - maybe I dont have the latest version.

Actually, it will not compile with that in Template Studio, but it does work when generating from LLBLGen V2 - so I guess that is new?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 21-Jul-2006 16:14:15   

Correct. TemplateStudio works with v1.0.2005.1.

I'll try to create a v2.0 compatible template studio download this weekend. No technical changes yet, but that it works with v2.0's assemblies.

Frans Bouma | Lead developer LLBLGen Pro