API/CodeSamples/AllowEqualsSelectForStoredProcedures.md
... ...
@@ -6,6 +6,8 @@
6 6
7 7
Gets or sets the value indicating whether Equals(Select) or Equals(Multiple) filters are allowed for stored procedures. This setting works in conjunction with several other areas of Izenda's API and more information can be found in [[this article|http://wiki.izenda.us/FAQ/Questions/Using-Stored-Procedures-In-Izenda-6]].
8 8
9
+**Default Value:** false
10
+
9 11
##Global.asax (C♯)
10 12
11 13
```csharp
... ...
@@ -21,7 +23,7 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
21 23
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE";
22 24
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE";
23 25
Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
24
- AdHocSettings.AllowEqualsSelectForStoredProcedures = true;
26
+ AdHocSettings.AllowEqualsSelectForStoredProcedures = true; //The relevant setting
25 27
HttpContext.Current.Session["ReportingInitialized"] = true;
26 28
}
27 29
}
... ...
@@ -44,7 +46,7 @@ Public Class CustomAdHocConfig
44 46
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"
45 47
AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"
46 48
Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig()
47
- AdHocSettings.AllowEqualsSelectForStoredProcedures = True
49
+ AdHocSettings.AllowEqualsSelectForStoredProcedures = True 'The relevant setting
48 50
HttpContext.Current.Session("ReportingInitialized") = True
49 51
End Sub
50 52
End Class