Gainz-SqlDb
0.1.2
Gainz: Sql Db
Deprecated: Renaming to Gz-Sql
Database agnostic Powershell functions over ADO.NET.
The primary functions are Invoke-DbCmd, Read-DbData, and Write-DbData. If
a connection or connectionString is not provided to the functions, the functions
will attempt to use the default connection set by Set-DbConnectionString.
Any function that has a -Do
Gainz: Sql Db
Deprecated: Renaming to Gz-Sql
Database agnostic Powershell functions over ADO.NET.
The primary functions are Invoke-DbCmd, Read-DbData, and Write-DbData. If
a connection or connectionString is not provided to the functions, the functions
will attempt to use the default connection set by Set-DbConnectionString.
Any function that has a -Do parameter, can be passed a script block that will
have the $_ context variable set with either the connection or command object.
Installation Options
Owners
Copyright
(c) 2018-2019 Nerdy Mishka, Michael Herndon. All rights reserved.
Package Details
Author(s)
- Nerdy Mishka Michael Herndon
Tags
SQL ADO.NET Database SqlClient Gainz Gz Gainz-SqlDb
Functions
Set-DbConnectionString Get-DbConnectionString New-DbProviderFactory Set-DbProviderFactory Get-DbProviderFactory Get-DbParameterPrefix Set-DbParameterPrefix New-DbConnection New-DbCommand Read-DbData Write-DbData Invoke-DbCmd
Dependencies
This module has no dependencies.
Release Notes
0.1.3 - Renaming
0.1.1 - Fix Invoke-DbCmd
0.1.0 - Early Release
- Read-DbData only supports one return set.
- Tests currently target SqlServer
FileList
- Gainz-SqlDb.nuspec
- Gainz-SqlDb.psd1
- Gainz-SqlDb.psm1
- LICENSE
- README.md
- public\Add-DbParameters.ps1
- public\Add-DbProviderFactory.ps1
- public\Get-DbConnectionString.ps1
- public\Get-DbParameterPrefix.ps1
- public\Get-DbProviderFactory.ps1
- public\Get-SqlDbOptions.ps1
- public\Invoke-DbCmd.ps1
- public\New-DbCommand.ps1
- public\New-DbConnection.ps1
- public\New-DbProviderFactory.ps1
- public\New-SqlClientParameter.ps1
- public\Read-DbData.ps1
- public\Set-DbConnectionString.ps1
- public\Set-DbProviderFactory.ps1
- public\Write-DbData.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
0.1.2 (current version) | 410 | 3/17/2019 |
0.1.1 | 146 | 12/29/2018 |
0.1.0 | 64 | 8/31/2018 |