API/CodeSamples/UseNativeOracleClient.md
... ...
@@ -21,9 +21,9 @@ public class CustomAdHocConfig : Izenda.AdHoc.DatabaseAdHocConfig
21 21
if (HttpContext.Current.Session == null || HttpContext.Current.Session["ReportingInitialized"] != null)
22 22
return;
23 23
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE";
24
- AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE";
25
- Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
26 24
AdHocSettings.UseNativeOracleClient = True; //The relevant setting
25
+ AdHocSettings.OracleConnectionString = "INSERT_CONNECTION_STRING_HERE";
26
+ Izenda.AdHoc.AdHocSettings.AdHocConfig = new CustomAdHocConfig();
27 27
HttpContext.Current.Session["ReportingInitialized"] = true;
28 28
}
29 29
}
... ...
@@ -42,9 +42,9 @@ Public Class CustomAdHocConfig
42 42
Return
43 43
'Initialize System
44 44
AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"
45
- AdHocSettings.SqlServerConnectionString = "INSERT_CONNECTION_STRING_HERE"
46
- Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig()
47 45
AdHocSettings.UseNativeOracleClient = True 'The relevant setting
46
+ AdHocSettings.OracleConnectionString = "INSERT_CONNECTION_STRING_HERE"
47
+ Izenda.AdHoc.AdHocSettings.AdHocConfig = New CustomAdHocConfig()
48 48
HttpContext.Current.Session("ReportingInitialized") = True
49 49
End Sub
50 50
End Class