-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DWCopyCommandSettings.cs
37 lines (31 loc) · 2.26 KB
/
DWCopyCommandSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> DW Copy Command settings. </summary>
public partial class DWCopyCommandSettings
{
/// <summary> Initializes a new instance of DWCopyCommandSettings. </summary>
public DWCopyCommandSettings()
{
DefaultValues = new ChangeTrackingList<DWCopyCommandDefaultValue>();
AdditionalOptions = new ChangeTrackingDictionary<string, string>();
}
/// <summary> Initializes a new instance of DWCopyCommandSettings. </summary>
/// <param name="defaultValues"> Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). </param>
/// <param name="additionalOptions"> Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }. </param>
internal DWCopyCommandSettings(IList<DWCopyCommandDefaultValue> defaultValues, IDictionary<string, string> additionalOptions)
{
DefaultValues = defaultValues;
AdditionalOptions = additionalOptions;
}
/// <summary> Specifies the default values for each target column in SQL DW. The default values in the property overwrite the DEFAULT constraint set in the DB, and identity column cannot have a default value. Type: array of objects (or Expression with resultType array of objects). </summary>
public IList<DWCopyCommandDefaultValue> DefaultValues { get; }
/// <summary> Additional options directly passed to SQL DW in Copy Command. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: "additionalOptions": { "MAXERRORS": "1000", "DATEFORMAT": "'ymd'" }. </summary>
public IDictionary<string, string> AdditionalOptions { get; }
}
}