Horseshoe.NET.Odbc 4.0.1

dotnet add package Horseshoe.NET.Odbc --version 4.0.1
                    
NuGet\Install-Package Horseshoe.NET.Odbc -Version 4.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Horseshoe.NET.Odbc" Version="4.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Horseshoe.NET.Odbc" Version="4.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Horseshoe.NET.Odbc" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Horseshoe.NET.Odbc --version 4.0.1
                    
#r "nuget: Horseshoe.NET.Odbc, 4.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Horseshoe.NET.Odbc&version=4.0.1
                    
Install Horseshoe.NET.Odbc as a Cake Addin
#tool nuget:?package=Horseshoe.NET.Odbc&version=4.0.1
                    
Install Horseshoe.NET.Odbc as a Cake Tool

Horseshoe.NET icon

Horseshoe.NET.Odbc

ADO.NET-based ODBC data access wrappers

Code Examples

// DB connection not established and statement not executed yet
var query = Query.FromStatement
(
    "Server=MYSVR;Database=MYDB;UID=me;PWD=myPwd", 
    "SELECT * FROM MyTable"
); 

// creating a row parser offers fine grained control over converting data rows to objects
var rowParser = new RowParser<MyModel>
(
    (IDataReader reader) => new MyModel
    {
        MyStringProperty = Zap.String(reader["col1"]),
        MyNonNullStringProperty = (string)reader["col2"],
        MyNullableIntProperty = Zap.NInt(reader["col3"]),
        MyNonNullIntProperty = (int)reader["col4"],
        MyCompoundProperty = new MyOtherClass((int)reader["col5"], (string)reader["col6"])
    }
);

// the following will cause the DB connection to open and the statement to execute
IEnumerable<MyModel> list = query.AsList(rowParser);
string str = Zap.String(query.AsScalar());
DataTable dataTable = query.AsDataTable("My DataTable");
Product 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. 
.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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.1 108 2 months ago
4.0.0.2 107 2 months ago
3.1.6 120 4 months ago
3.1.5 109 6 months ago
3.1.4 142 9 months ago
3.1.3 127 10 months ago
3.1.2 114 6/8/2024
3.1.1 121 5/20/2024
3.1.0 455 1/27/2024
3.0.2 725 5/5/2023
3.0.1.1 790 2/20/2023
3.0.1 723 2/20/2023
3.0.0.2 707 2/14/2023
3.0.0.1 718 2/13/2023
3.0.0 734 2/9/2023
2.0.4 1,137 11/5/2022
2.0.3 839 10/31/2022
2.0.2 1,002 10/14/2022
2.0.1 828 10/7/2022
2.0.0 858 10/6/2022
1.6.2 1,015 9/12/2022
1.6.1 929 9/6/2022
1.6.0 842 9/5/2022
1.5.9 861 9/5/2022
1.5.8 922 8/24/2022
1.5.7 923 8/12/2022
1.5.6 1,106 7/28/2022
1.5.5 1,312 6/1/2022
1.5.4 1,244 4/15/2022
1.5.3 901 4/13/2022
1.5.2 920 4/1/2022
1.5.1 924 3/30/2022
1.5.0 949 3/4/2022
1.4.4.2 988 2/12/2022
1.4.4.1 947 2/5/2022
1.4.4 947 2/4/2022
1.4.3.1 972 1/17/2022
1.4.3 954 1/17/2022
1.4.2 758 1/6/2022
1.4.1 808 12/30/2021
1.4.0 831 12/8/2021
1.3.3 887 10/22/2021
1.3.2 859 10/21/2021
1.3.1 842 10/15/2021
1.3.0 803 10/13/2021
1.2.4.2 827 8/5/2021
1.2.4.1 797 8/5/2021
1.2.4 856 8/5/2021
1.2.3.4 920 7/25/2021
1.2.3.3 813 7/24/2021
1.2.3.2 903 5/21/2021
1.2.3 788 5/19/2021
1.2.2 802 5/14/2021
1.2.1 866 4/7/2021
1.2.0.3 788 4/5/2021
1.2.0.1 931 3/27/2021
1.2.0 809 3/26/2021
1.1.3 903 1/20/2021
1.1.1 953 12/1/2020
1.1.0 1,034 9/15/2020
1.0.9.5 984 9/15/2020
1.0.9.4 1,012 9/14/2020
1.0.9.3 973 9/9/2020
1.0.9.2 1,028 9/3/2020
1.0.9.1 1,003 8/20/2020
1.0.9 1,253 8/8/2020
1.0.8 1,049 3/23/2020
1.0.7 1,031 3/22/2020
1.0.6 1,093 3/18/2020
1.0.3 967 3/12/2020
1.0.2 995 3/11/2020
1.0.1 950 3/7/2020
1.0.0 1,067 3/4/2020
0.9.5.2-beta 767 3/2/2020
0.9.5.1-beta 873 3/2/2020
0.9.5-beta 819 2/28/2020
0.9.4.5-beta 790 2/26/2020
0.9.4.3-beta 849 2/25/2020
0.9.4-beta 916 2/20/2020
0.9.3.7-beta 781 2/18/2020
0.9.3.6-beta 808 2/17/2020
0.9.3.5-beta 809 2/14/2020
0.9.3.3-beta 784 2/6/2020
0.9.3.1-beta 855 2/2/2020
0.9.3-beta 870 2/2/2020