VOOZH about

URL: https://www.nuget.org/packages/Flowsy.Db.Abstractions

⇱ NuGet Gallery | Flowsy.Db.Abstractions 6.0.0




Flowsy.Db.Abstractions 6.0.0

dotnet add package Flowsy.Db.Abstractions --version 6.0.0
 
 
NuGet\Install-Package Flowsy.Db.Abstractions -Version 6.0.0
 
 
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="Flowsy.Db.Abstractions" Version="6.0.0" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Flowsy.Db.Abstractions" Version="6.0.0" />
 
Directory.Packages.props
<PackageReference Include="Flowsy.Db.Abstractions" />
 
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 Flowsy.Db.Abstractions --version 6.0.0
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Flowsy.Db.Abstractions, 6.0.0"
 
 
#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.
#:package Flowsy.Db.Abstractions@6.0.0
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Flowsy.Db.Abstractions&version=6.0.0
 
Install as a Cake Addin
#tool nuget:?package=Flowsy.Db.Abstractions&version=6.0.0
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Flowsy Db Abstractions

This package provides basic constructs for working with databases.

DbProvider

The DbProvider class includes methods and properties that represent different database providers. It has the following properties:

  • Register(): Registers a database provider factory and associates it with the specified DbProviderFamily and invariant name.
  • GetInstance(): Returns an instance of the registered DbProvider.
  • Family: A value from the DbProviderFamily enumeration that specifies the family of the database provider.
  • InvariantName: A string that contains the invariant name of the database provider.
  • DefaultPort: An integer that contains the default port number for the database provider.
  • DefaultDatabaseName: A string that contains the default database name for the database provider.
  • DefaulSchemaName: A string that contains the default schema name for the database provider.
  • Factory: A DbProviderFactory object that can be used to create instances of IDbConnection, IDbCommand, IDbDataParameter, and other database objects.
  • ParameterPrefixForStatement: A string that contains the parameter prefix used by the database provider when building a statement.
  • SupportsSchemas: A boolean value that indicates whether the database provider supports schemas.
  • SupportsNamedParameters: A boolean value that indicates whether the database provider supports named parameters.
  • SupportsEnums: A boolean value that indicates whether the database provider supports enums.
  • SupportsRoutineType(): A method that returns a boolean value that indicates whether the database provider supports the specified routine type.
  • RoutineCanReturnTable(): A method that returns a boolean value that indicates whether the database provider supports routines that return tables.
  • FormatQualifiedName(): A method that formats a string that represents a qualified name in the database provider's SQL dialect.
  • FormatCasting(): A method that formats a string that casts a value to a specific type in the database provider's SQL dialect.
  • FormatNamedParameter(): A method that formats a string that represents a named parameter in the database provider's SQL dialect.
  • CreateConnectionStringBuilder(): A method that returns a DbConnectionStringBuilder object that can be used to build connection strings for the database provider.
  • BuildConnectionString: A method that builds a connection string using the specified parameters.
  • BuildStatement: A method that builds a SQL statement using the specified parameters.

DbHost

The DbHost class holds information about the host of a database. It has the following properties and methods:

  • 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.
  • CreateConnectionStringBuilder(): Returns a DbConnectionStringBuilder object that can be used to build connection strings.
  • BuildConnectionString(): Builds a connection string using the specified parameters.
  • CreateConnectionOptions: Creates an instance of DbConnectionOptions using the specified parameters.

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: An instance of the DbProvider class that specifies the type of database provider.
  • Host: An instance of the DbHost class that specifies the host of the database.
  • 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 an instance of IDbConnection to be used to interact with the database.

DbTableDescriptor

The DbTableDescriptor class holds information about a database table. It has the following properties:

  • TableCatalog: A string that contains the name of the catalog that contains the table.
  • TableSchema: A string that contains the name of the schema that contains the table.
  • TableName: A string that contains the name of the table.
  • TableQualifiedName: A string that contains the fully qualified name of the table (i.e., table_catalog.table_schema.table_name).
  • Columns: A list of DbColumnDescriptor objects that describe the columns of the table.
  • UniqueContraints: A dictionary that contains the unique constraints of the table.

DbColumnDescriptor

The DbColumnDescriptor class holds information about a database table column. It has the following properties and methods:

  • Provider: An instance of the DbProvider class that specifies the type of database provider.
  • TableCatalog: A string that contains the name of the catalog that contains the table.
  • TableSchema: A string that contains the name of the schema that contains the table.
  • TableName: A string that contains the name of the table.
  • TableQualifiedName: A string that contains the fully qualified name of the table (i.e., table_catalog.table_schema.table_name).
  • ColumnName: A string that contains the name of the column.
  • ColumnQualifiedName: A string that contains the fully qualified name of the column (i.e., table_catalog.table_schema.table_name.column_name).
  • DataType: A value representing the data type declaration for the column.
  • OrdinalPosition: An integer that contains the ordinal position of the column in the table.
  • CharacterMaximumLength: An integer that contains the maximum length of the column.
  • NumericPrecision: An integer that contains the precision of the column.
  • NumericScale: An integer that contains the scale of the column.
  • IsNullable: A boolean value that indicates whether the column allows NULL values.
  • DefaultValue: A string that contains the default value of the column.
  • CollationName: A string that contains the collation name of the column.
  • IsArray: A boolean value that indicates whether the column is an array.
  • IsGenerated: A boolean value that indicates whether the column is generated.
  • DomainSchema: A string that contains the schema of the domain that the column is based on.
  • DomainName: A string that contains the name of the domain that the column is based on.
  • DomainQualifiedName: A string that contains the fully qualified name of the domain (i.e., domain_schema.domain_name).
  • IsUserDefinedType: A boolean value that indicates whether the column is based on a user-defined type.
  • UdtSchema: A string that contains the schema of the user-defined type that the column is based on.
  • UdtName: A string that contains the name of the user-defined type that the column is based on.
  • UdtQualifiedName: A string that contains the fully qualified name of the user-defined type (i.e., udt_schema.udt_name).
  • GetDbType(): Returns a value from the DbType enumeration that represents the database type of the column.
  • GetRuntimeType(): Returns a Type object that represents the runtime type of the column.
  • ParseValue(): Parses the specified value and returns an object that represents the value of the column.

DbRoutineDescriptor

The DbRoutineDescriptor class holds information about a database routine (e.g., stored procedure, function). It has the following properties:

  • SchemaName: A string that contains the name of the schema that contains the routine.
  • RoutineName: A string that contains the name of the routine.
  • FullName: A string that contains the fully qualified name of the routine (i.e., SchemaName.RoutineName).
  • Type: A value from the DbRoutineType enumeration that specifies the type of the routine (e.g., stored procedure, function).
  • Parameters: A list of DbParameterDescriptor objects that describe the parameters of the routine.

DbParameterDescriptor

The DbParameterDescriptor class holds information about a database parameter. It has the following properties:

  • Name: A string that contains the name of the parameter.
  • RuntimeType: A Type object that represents the runtime type of the parameter.
  • DatabaseType: A value from the DbType enumeration that specifies the database type of the parameter.
  • CustomType: A string that contains the custom type of the parameter (e.g., MY_ENUM).
  • Direction: A value from the ParameterDirection enumeration that specifies the direction of the parameter (e.g., input, output).
  • Size: An integer that contains the size of the parameter.
  • Value: An object that contains the value of the parameter.
  • ValueExpression: A value from the DbValueExpression enumeration that specifies how the value of the parameter should be interpreted.
Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .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.Conventions

Provides wrapper extensions for Dapper to set naming and formatting conventions for database objects like tables, columns, routines and parameters.

Flowsy.Db.Agent

Provides functionality to perform administrative tasks on a database like creating databases, running migrations, importing and exporting data, etc.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.0.0 1,277 12/5/2024
5.3.1 329 12/5/2024
5.3.0 293 12/5/2024
5.2.0 225 12/5/2024
5.1.0 224 12/5/2024
5.0.1 239 12/5/2024
5.0.0 219 12/5/2024
4.0.0 234 12/1/2024
3.1.1 1,039 10/28/2024
3.1.0 248 10/28/2024
3.0.0 249 10/28/2024
2.2.1 277 10/28/2024
2.2.0 212 10/28/2024
2.1.0 214 10/26/2024
2.0.1 212 10/26/2024
2.0.0 255 10/26/2024
1.1.0 509 2/9/2024
1.0.0 376 2/3/2024
0.2.0 1,117 11/26/2023
0.1.1 363 10/24/2023
Loading failed