-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
2,197 additions
and
2,160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "nuget" # See documentation for possible values | ||
directory: "/src/PsDac" # Location of package manifests | ||
schedule: | ||
interval: "daily" | ||
target-branch: "develop" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
on: | ||
push: | ||
branches: [ release/* ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pre-release: | ||
uses: abbgrade/PsBuildTasks/.github/workflows/pre-release-windows.yml@v1.1 | ||
with: | ||
module-name: PsDac | ||
secrets: | ||
ps-gallery-key: ${{ secrets.PS_GALLERY_KEY }} | ||
on: | ||
push: | ||
branches: [ release/* ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pre-release: | ||
uses: abbgrade/PsBuildTasks/.github/workflows/pre-release-windows.yml@v1.1 | ||
with: | ||
module-name: PsDac | ||
secrets: | ||
ps-gallery-key: ${{ secrets.PS_GALLERY_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
on: | ||
push: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
uses: abbgrade/PsBuildTasks/.github/workflows/release-windows.yml@v1.1 | ||
with: | ||
module-name: PsDac | ||
secrets: | ||
ps-gallery-key: ${{ secrets.PS_GALLERY_KEY }} | ||
on: | ||
push: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
uses: abbgrade/PsBuildTasks/.github/workflows/release-windows.yml@v1.1 | ||
with: | ||
module-name: PsDac | ||
secrets: | ||
ps-gallery-key: ${{ secrets.PS_GALLERY_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "test/sql-server-samples"] | ||
path = test/sql-server-samples | ||
url = https://github.com/microsoft/sql-server-samples.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,86 @@ | ||
--- | ||
external help file: PsDac.dll-Help.xml | ||
Module Name: PsDac | ||
online version: | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Connect-DacService | ||
|
||
## SYNOPSIS | ||
Connects a database instance using DacServices. | ||
|
||
## SYNTAX | ||
|
||
### ConnectionString | ||
``` | ||
Connect-DacService [-ConnectionString] <String> [<CommonParameters>] | ||
``` | ||
|
||
### DataSource | ||
``` | ||
Connect-DacService [-DataSource] <String> [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
Creates a DacServices instance, that can be used by commands. | ||
Unfortunately, the parameters are not checked while connecting, but while usage. | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
```powershell | ||
PS C:\> Connect-DacService -DataSource '(LocalDb)\MSSQLLocalDB' | ||
``` | ||
|
||
Creates a dac service for localdb. | ||
|
||
## PARAMETERS | ||
|
||
### -ConnectionString | ||
Specifies the connection string to use. | ||
The DataSource, Hostname or Instance must be specified as Server. | ||
|
||
```yaml | ||
Type: String | ||
Parameter Sets: ConnectionString | ||
Aliases: | ||
|
||
Required: True | ||
Position: 0 | ||
Default value: None | ||
Accept pipeline input: True (ByPropertyName, ByValue) | ||
Accept wildcard characters: False | ||
``` | ||
### -DataSource | ||
Specifies the datasource aka. server name to connect to. | ||
```yaml | ||
Type: String | ||
Parameter Sets: DataSource | ||
Aliases: | ||
|
||
Required: True | ||
Position: 0 | ||
Default value: None | ||
Accept pipeline input: True (ByPropertyName) | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
### System.String | ||
## OUTPUTS | ||
### Microsoft.SqlServer.Dac.DacServices | ||
## NOTES | ||
## RELATED LINKS | ||
[DacServices](https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.dac.dacservices) | ||
--- | ||
external help file: PsDac.dll-Help.xml | ||
Module Name: PsDac | ||
online version: | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Connect-DacService | ||
|
||
## SYNOPSIS | ||
Connects a database instance using DacServices. | ||
|
||
## SYNTAX | ||
|
||
### ConnectionString (Default) | ||
``` | ||
Connect-DacService [-ConnectionString] <String> [<CommonParameters>] | ||
``` | ||
|
||
### DataSource | ||
``` | ||
Connect-DacService [-DataSource] <String> [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
Creates a DacServices instance, that can be used by commands. | ||
Unfortunately, the parameters are not checked while connecting, but while usage. | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
```powershell | ||
PS C:\> Connect-DacService -DataSource '(LocalDb)\MSSQLLocalDB' | ||
``` | ||
|
||
Creates a dac service for localdb. | ||
|
||
## PARAMETERS | ||
|
||
### -ConnectionString | ||
Specifies the connection string to use. | ||
The DataSource, Hostname or Instance must be specified as Server. | ||
|
||
```yaml | ||
Type: String | ||
Parameter Sets: ConnectionString | ||
Aliases: | ||
|
||
Required: True | ||
Position: 0 | ||
Default value: None | ||
Accept pipeline input: True (ByPropertyName) | ||
Accept wildcard characters: False | ||
``` | ||
### -DataSource | ||
Specifies the datasource aka. server name to connect to. | ||
```yaml | ||
Type: String | ||
Parameter Sets: DataSource | ||
Aliases: | ||
|
||
Required: True | ||
Position: 0 | ||
Default value: None | ||
Accept pipeline input: True (ByPropertyName) | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
### System.String | ||
## OUTPUTS | ||
### Microsoft.SqlServer.Dac.DacServices | ||
## NOTES | ||
## RELATED LINKS | ||
[DacServices](https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.dac.dacservices) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,64 @@ | ||
--- | ||
external help file: PsDac.dll-Help.xml | ||
Module Name: PsDac | ||
online version: | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Disconnect-DacService | ||
|
||
## SYNOPSIS | ||
Closes the connection to a database server. | ||
|
||
## SYNTAX | ||
|
||
``` | ||
Disconnect-DacService [-Service <DacServices>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
{{ Fill in the Description }} | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
```powershell | ||
PS C:\> Connect-DacService -DataSource '(LocalDb)\MSSQLLocalDB' | ||
PS C:\> Disconnect-DacService | ||
``` | ||
|
||
Closes an open connection to localdb. | ||
|
||
## PARAMETERS | ||
|
||
### -Service | ||
Specifies the service to disconnect. Default is the latest connected service. | ||
|
||
```yaml | ||
Type: DacServices | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
### None | ||
## OUTPUTS | ||
### None | ||
## NOTES | ||
## RELATED LINKS | ||
[DacServices](https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.dac.dacservices) | ||
--- | ||
external help file: PsDac.dll-Help.xml | ||
Module Name: PsDac | ||
online version: | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Disconnect-DacService | ||
|
||
## SYNOPSIS | ||
Closes the connection to a database server. | ||
|
||
## SYNTAX | ||
|
||
``` | ||
Disconnect-DacService [-Service <DacServices>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
{{ Fill in the Description }} | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
```powershell | ||
PS C:\> Connect-DacService -DataSource '(LocalDb)\MSSQLLocalDB' | ||
PS C:\> Disconnect-DacService | ||
``` | ||
|
||
Closes an open connection to localdb. | ||
|
||
## PARAMETERS | ||
|
||
### -Service | ||
Specifies the service to disconnect. Default is the latest connected service. | ||
|
||
```yaml | ||
Type: DacServices | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
### None | ||
## OUTPUTS | ||
### None | ||
## NOTES | ||
## RELATED LINKS | ||
[DacServices](https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.dac.dacservices) |
Oops, something went wrong.