BaseConnectionLibrary 1.0.3
.NET Framework 4.0
Install-Package BaseConnectionLibrary -Version 1.0.3
dotnet add package BaseConnectionLibrary --version 1.0.3
<PackageReference Include="BaseConnectionLibrary" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BaseConnectionLibrary --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BaseConnectionLibrary, 1.0.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BaseConnectionLibrary as a Cake Addin
#addin nuget:?package=BaseConnectionLibrary&version=1.0.3
// Install BaseConnectionLibrary as a Cake Tool
#tool nuget:?package=BaseConnectionLibrary&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
How to use
- Add BaseConnectionLibrary to the solution, then select a one or more projects.
- Add a using or import statement e.g. C# using BaseConnectionLibrary.ConnectionClasses; VB.NET Imports BaseConnectionLibrary.ConnectionClasses
- Inherit, in C#, : SqlServerConnection in VB.NET Inherits SqlServerConnection
- In the new constructor of the class set DatabaseServer to the server name e.g. SQLEXPRESS
- In the new constructor of the class set DefaultCatalog to the catalog to work with
- Both step 4 and 5 can also be done in methods within the class
For more information, click the "project site" link to learn more.
- 3-22-2019 added a wider range of supported Frameworks.
- 3-22-2019 added ability for SQL-Server connection to use user name and password.
Product | Versions |
---|---|
.NET Framework | net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.5.1
- No dependencies.
-
.NETFramework 4.5.2
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added properties for SQL-Server connection to pass in user account name and password. Added extension method for providing 3.5 framework compatibility for next release.