Flowsy.Db.Abstractions
2.0.0
See the version list below for details.
dotnet add package Flowsy.Db.Abstractions --version 2.0.0
NuGet\Install-Package Flowsy.Db.Abstractions -Version 2.0.0
<PackageReference Include="Flowsy.Db.Abstractions" Version="2.0.0" />
paket add Flowsy.Db.Abstractions --version 2.0.0
#r "nuget: Flowsy.Db.Abstractions, 2.0.0"
// Install Flowsy.Db.Abstractions as a Cake Addin #addin nuget:?package=Flowsy.Db.Abstractions&version=2.0.0 // Install Flowsy.Db.Abstractions as a Cake Tool #tool nuget:?package=Flowsy.Db.Abstractions&version=2.0.0
Flowsy Db Abstractions
This package provides basic constructs for working with databases.
DbProvider
The DbProvider
enumeration contains values that specify the type of database provider to use. The following values are available:
- PostgreSql
- MySql
- SqlServer
- Oracle
- Sqlite
DbProviderExtensions
The DbProviderExtensions
class provides extension methods for the DbProvider
enumeration. It has the following methods:
- GetInvariantName(): Returns the invariant name of the database provider.
- GetDefaultPort(): Returns the default port number for the database provider.
- GetDefaultDatabaseName(): Returns the default database name for the database provider.
DbHost
The DbHost
class holds information about the host of a database. It has the following properties:
- Provider: A value from the
DbProvider
enumeration that specifies the type of database provider to use. - Address: A string that contains the host name or IP address of the database server.
- Port: An integer that contains the port number of the database server.
DbCredentials
The DbCredentials
class holds information about the credentials used to connect to a database. It has the following properties:
- Username: A string that contains the username used to connect to the database.
- Password: A string that contains the password used to connect to the database.
DbConnectionOptions
The DbConnectionOptions
class is used to configure a connection to a database. It has the following properties and methods:
- Provider: A value from the
DbProvider
enumeration that specifies the type of database provider to use. - ConnectionString: A string that contains the connection string to the database.
- DatabaseName: A string that contains the name of the database to connect to.
- GetConnection(): Returns a
IDbConnection
to be used to interact with the database.
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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.1
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Flowsy.Db.Abstractions:
Package | Downloads |
---|---|
Flowsy.Db.Sql
Components for managing connections for SQL databases and perform related operations through database transactions. |
|
Flowsy.Db.Agent
Provides functionality to perform administrative tasks on a database like creating databases, running migrations, importing and exporting data, etc. |
|
Flowsy.Db.Conventions
Provides wrapper extensions for Dapper to set naming and formatting conventions for database objects like tables, columns, routines and parameters. |
GitHub repositories
This package is not used by any popular GitHub repositories.