Knight Data Access Layer
SupportsStoredProcedures Property (IDataHelper)
Example 




KellermanSoftware.NetDataAccessLayer Namespace > IDataHelper Interface : SupportsStoredProcedures Property
Returns true if the attached database provider supports stored procedures
Syntax
ReadOnly Property SupportsStoredProcedures As Boolean
Dim instance As IDataHelper
Dim value As Boolean
 
value = instance.SupportsStoredProcedures
bool SupportsStoredProcedures {get;}
__property bool get_SupportsStoredProcedures();
property bool SupportsStoredProcedures {
   bool get();
}
Example
//Get the current thread static safe instance of the helper
IDataHelper db = DataHelper.SessionFactory();
 
//Specify User Name and License Key from the receipt, leave blank for trial mode
//db.UserName = "John Smith 1234";
//db.LicenseKey = "asdfl219==";
 
//This will be false for MS Access and Sqlite
Console.WriteLine(db.SupportsStoredProcedures);
'Get the current thread static safe instance of the helper
Dim db As IDataHelper = DataHelper.SessionFactory()
 
'Specify User Name and License Key from the receipt, leave blank for trial mode
'db.UserName = "John Smith 1234"
'db.LicenseKey = "asdfl219=="
 
'This will be false for MS Access and Sqlite
Console.WriteLine(db.SupportsStoredProcedures)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IDataHelper Interface
IDataHelper Members