CSCS.SqlClient
1.0.7
dotnet add package CSCS.SqlClient --version 1.0.7
NuGet\Install-Package CSCS.SqlClient -Version 1.0.7
<PackageReference Include="CSCS.SqlClient" Version="1.0.7" />
<PackageVersion Include="CSCS.SqlClient" Version="1.0.7" />
<PackageReference Include="CSCS.SqlClient" />
paket add CSCS.SqlClient --version 1.0.7
#r "nuget: CSCS.SqlClient, 1.0.7"
#:package CSCS.SqlClient@1.0.7
#addin nuget:?package=CSCS.SqlClient&version=1.0.7
#tool nuget:?package=CSCS.SqlClient&version=1.0.7
CSCS stands for "Customized Scripting in C Sharp". It is described in various books and magazines, but mostly in CODE Magazine articles.
CSCS.Sql module is an optional module to run Sql related functions. CSCS.Core and CSCS.InterpreterManager packages is also required (you start running CSCS from it and it also manages interpreters for a scripting multi-threaded application). CSCS.Core module is the main module where the "Split-and-merge"parsing algorithm is implemented.
Here is an example of using CSCS in your project:
using cscs = CSCS.InterpreterManager.CSCS;
Console.WriteLine("Starting...");
var script = $@"
Start = pstime;
print('Start pstime=' + Start);
now = now('yyyy/MM/dd HH:mm:ss.fff');
Print('Starting tests.', now);
Import('CSCS.Math');
val = Math.Exp(Math.sin(Math.Pi));
print(val);
End = pstime;
print('End pstime=' + End);
";
cscs.RunScript(script);
Console.WriteLine("Finished script.");
cscs.StartDebugger();
while (true)
{
Thread.Sleep(1000);
}
Note that you will have more freedom an power if you add CSCS source code to your project. The source code is available here.
Also check out the Visual Studio Code Extension CSCS Debugger & REPL. You can easily edit and debug CSCS files with it. To be able to use this extension, you need to run first cscs.StartDebugger() (as in the code above).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- CSCS.Core (>= 1.0.7)
- System.Data.SqlClient (>= 4.8.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.