Skip to content

Commit

Permalink
Merge branch 'release/1.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
abbgrade committed Jul 30, 2022
2 parents fd99cce + 1405e40 commit ce34744
Show file tree
Hide file tree
Showing 44 changed files with 2,197 additions and 2,160 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
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"
24 changes: 12 additions & 12 deletions .github/workflows/pre-release.yml
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 }}
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
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 }}
3 changes: 3 additions & 0 deletions .gitmodules
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.0] - 2022-07-30

### Added

- Default parameter set ConnectionString for Connect-Service.

## [1.0.0] - 2022-05-12

### Added
Expand Down
172 changes: 86 additions & 86 deletions docs/Connect-DacService.md
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)
128 changes: 64 additions & 64 deletions docs/Disconnect-DacService.md
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)
Loading

0 comments on commit ce34744

Please sign in to comment.