ProductivityTools.ConnectionStringLight
0.0.13
dotnet add package ProductivityTools.ConnectionStringLight --version 0.0.13
NuGet\Install-Package ProductivityTools.ConnectionStringLight -Version 0.0.13
<PackageReference Include="ProductivityTools.ConnectionStringLight" Version="0.0.13" />
<PackageVersion Include="ProductivityTools.ConnectionStringLight" Version="0.0.13" />
<PackageReference Include="ProductivityTools.ConnectionStringLight" />
paket add ProductivityTools.ConnectionStringLight --version 0.0.13
#r "nuget: ProductivityTools.ConnectionStringLight, 0.0.13"
#addin nuget:?package=ProductivityTools.ConnectionStringLight&version=0.0.13
#tool nuget:?package=ProductivityTools.ConnectionStringLight&version=0.0.13
<p align="right"> <a href="https://www.nuget.org/packages/ProductivityTools.ConnectionStringLight/"><img src="Images/Header/Nuget_border_40px.png" /></a> <a href="http://productivitytools.tech/connectionstringlightpt/"><img src="Images/Header/ProductivityTools_green_40px_2.png" /><a> <a href="https://github.com/pwujczyk/ProductivityTools.ConnectionStringLight"><img src="Images/Header/Github_border_40px.png" /></a> </p> <p align="center"> <a href="http://productivitytools.tech/"> <img src="Images/Header/LogoTitle_green_500px.png" /> </a> </p>
Connection string light
Library generates connection string from params.
It exposes two methods
- GetSqlDataSourceConnectionString - creates connection string to server
var x=ConnectionStringLight.GetSqlDataSourceConnectionString(".");
Assert.AreEqual(x, "Data Source=.;Integrated Security=True");
- GetSqlServerConnectionString - creates connection string to database on the server
var y = ConnectionStringLight.GetSqlServerConnectionString(".", "dbName");
Assert.AreEqual(y, "Data Source=.;Initial Catalog=dbName;Integrated Security=True");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. 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. |
-
net9.0
- Microsoft.Data.SqlClient (>= 6.0.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on ProductivityTools.ConnectionStringLight:
Package | Downloads |
---|---|
ProductivityTools.DbUp
DBUp is a package which manages database updates. This package adds additinoal functionality to DBUp like creating the database and log table. |
|
ProductivityTools.DbUpHelper
DBUp is a package which manages database updates. This package adds additinoal functionality to DBUp like creating the database and log table. |
|
ProductivityTools.EntityFrameworkConnectionString
Couple methods which allows to generate connection string in Code. It genreates connection string without database name (for database creation) with database, for CRUD operations, and entity framework connection string with all metadata. |
GitHub repositories
This package is not used by any popular GitHub repositories.