-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document some internal SQL type ctors as additional-apis (#28911)
- Loading branch information
1 parent
6c840da
commit 0497ba6
Showing
5 changed files
with
132 additions
and
0 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
39 changes: 39 additions & 0 deletions
39
docs/framework/additional-apis/system.data.sqltypes.sqlbinary.-ctor.md
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,39 @@ | ||
--- | ||
description: "Learn more about: SqlBinary Constructor" | ||
title: SqlBinary Constructor (System.Data.SqlTypes) | ||
author: grabyourpitchforks | ||
ms.date: 04/04/2022 | ||
ms.technology: "dotnet-data" | ||
topic_type: | ||
- "apiref" | ||
api_name: | ||
- "System.Data.SqlTypes.SqlBinary..ctor" | ||
api_location: | ||
- "System.Data.dll" | ||
api_type: | ||
- "Assembly" | ||
--- | ||
# SqlBinary Constructor | ||
|
||
Initializes a new instance of the `SqlBinary` struct without making a copy of the `byte` array passed via the `value` parameter. Future mutations to this array may cause the resulting `SqlBinary` instance to change its value. | ||
|
||
The `ignored` parameter is ignored. | ||
|
||
```csharp | ||
internal SqlBinary(byte[] value, bool ignored); | ||
``` | ||
|
||
## Remarks | ||
|
||
> [!WARNING] | ||
> This overload of the `SqlBinary` constructor is internal and is not meant to be used directly in your code. This API may not be available in future versions of .NET. | ||
> | ||
> Microsoft does not support the use of this constructor in a production application under any circumstance. | ||
## Requirements | ||
|
||
**Namespace:** <xref:System.Data.SqlTypes> | ||
|
||
**Assembly:** System.Data (in System.Data.dll) | ||
|
||
**.NET Framework versions:** Available since 2.0. |
39 changes: 39 additions & 0 deletions
39
docs/framework/additional-apis/system.data.sqltypes.sqlguid.-ctor.md
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,39 @@ | ||
--- | ||
description: "Learn more about: SqlGuid Constructor" | ||
title: SqlGuid Constructor (System.Data.SqlTypes) | ||
author: grabyourpitchforks | ||
ms.date: 04/04/2022 | ||
ms.technology: "dotnet-data" | ||
topic_type: | ||
- "apiref" | ||
api_name: | ||
- "System.Data.SqlTypes.SqlGuid..ctor" | ||
api_location: | ||
- "System.Data.dll" | ||
api_type: | ||
- "Assembly" | ||
--- | ||
# SqlGuid Constructor | ||
|
||
Initializes a new instance of the `SqlGuid` struct without making a copy of the `byte` array passed via the `value` parameter. Future mutations to this array may cause the resulting `SqlGuid` instance to change its value. | ||
|
||
The `ignored` parameter is ignored. | ||
|
||
```csharp | ||
internal SqlGuid(byte[] value, bool ignored); | ||
``` | ||
|
||
## Remarks | ||
|
||
> [!WARNING] | ||
> This overload of the `SqlGuid` constructor is internal and is not meant to be used directly in your code. This API may not be available in future versions of .NET. | ||
> | ||
> Microsoft does not support the use of this constructor in a production application under any circumstance. | ||
## Requirements | ||
|
||
**Namespace:** <xref:System.Data.SqlTypes> | ||
|
||
**Assembly:** System.Data (in System.Data.dll) | ||
|
||
**.NET Framework versions:** Available since 2.0. |
39 changes: 39 additions & 0 deletions
39
docs/framework/additional-apis/system.data.sqltypes.sqlmoney.-ctor.md
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,39 @@ | ||
--- | ||
description: "Learn more about: SqlMoney Constructor" | ||
title: SqlMoney Constructor (System.Data.SqlTypes) | ||
author: grabyourpitchforks | ||
ms.date: 04/04/2022 | ||
ms.technology: "dotnet-data" | ||
topic_type: | ||
- "apiref" | ||
api_name: | ||
- "System.Data.SqlTypes.SqlMoney..ctor" | ||
api_location: | ||
- "System.Data.dll" | ||
api_type: | ||
- "Assembly" | ||
--- | ||
# SqlMoney Constructor | ||
|
||
Initializes a new instance of the `SqlMoney` struct, where `value` has already been scaled by a ten-thousandth of a currency unit. For example, if __20000__ is provided for the `value` parameter, this `SqlMoney` instance will represent __2__ currency units. | ||
|
||
The `ignored` parameter is ignored. | ||
|
||
```csharp | ||
internal SqlMoney(long value, int ignored); | ||
``` | ||
|
||
## Remarks | ||
|
||
> [!WARNING] | ||
> This overload of the `SqlMoney` constructor is internal and is not meant to be used directly in your code. This API may not be available in future versions of .NET. | ||
> | ||
> Microsoft does not support the use of this constructor in a production application under any circumstance. | ||
## Requirements | ||
|
||
**Namespace:** <xref:System.Data.SqlTypes> | ||
|
||
**Assembly:** System.Data (in System.Data.dll) | ||
|
||
**.NET Framework versions:** Available since 2.0. |
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