Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Generate SDK for swagger change: dynamics alternate key.
  • Loading branch information
zhenqxuMSFT committed Sep 10, 2019
commit 02cfb18e13f90ef08b835bb099408d12fff1a790
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,13 @@ public CommonDataServiceForAppsSink()
/// ignore null values from input dataset (except key fields) during
/// write operation. Default is false. Type: boolean (or Expression
/// with resultType boolean).</param>
public CommonDataServiceForAppsSink(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object ignoreNullValues = default(object))
/// <param name="alternateKeyName">The logical name of the alternative
/// key which will be used when upserting records</param>
public CommonDataServiceForAppsSink(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object ignoreNullValues = default(object), object alternateKeyName = default(object))
: base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections)
{
IgnoreNullValues = ignoreNullValues;
AlternateKeyName = alternateKeyName;
CustomInit();
}
/// <summary>
Expand All @@ -79,6 +82,13 @@ static CommonDataServiceForAppsSink()
[JsonProperty(PropertyName = "ignoreNullValues")]
public object IgnoreNullValues { get; set; }

/// <summary>
/// Gets or sets the logical name of the alternative key which will be
/// used when upserting records
/// </summary>
[JsonProperty(PropertyName = "alternateKeyName")]
public object AlternateKeyName { get; set; }

/// <summary>
/// The write behavior for the operation.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ public DynamicsCrmSink()
/// ignore null values from input dataset (except key fields) during
/// write operation. Default is false. Type: boolean (or Expression
/// with resultType boolean).</param>
public DynamicsCrmSink(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object ignoreNullValues = default(object))
/// <param name="alternateKeyName">The logical name of the alternative
/// key which will be used when upserting records</param>
public DynamicsCrmSink(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object ignoreNullValues = default(object), object alternateKeyName = default(object))
: base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections)
{
IgnoreNullValues = ignoreNullValues;
AlternateKeyName = alternateKeyName;
CustomInit();
}
/// <summary>
Expand All @@ -77,6 +80,13 @@ static DynamicsCrmSink()
[JsonProperty(PropertyName = "ignoreNullValues")]
public object IgnoreNullValues { get; set; }

/// <summary>
/// Gets or sets the logical name of the alternative key which will be
/// used when upserting records
/// </summary>
[JsonProperty(PropertyName = "alternateKeyName")]
public object AlternateKeyName { get; set; }

/// <summary>
/// The write behavior for the operation.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,13 @@ public DynamicsSink()
/// null values from input dataset (except key fields) during write
/// operation. Default is false. Type: boolean (or Expression with
/// resultType boolean).</param>
public DynamicsSink(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object ignoreNullValues = default(object))
/// <param name="alternateKeyName">The logical name of the alternative
/// key which will be used when upserting records</param>
public DynamicsSink(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), object writeBatchSize = default(object), object writeBatchTimeout = default(object), object sinkRetryCount = default(object), object sinkRetryWait = default(object), object maxConcurrentConnections = default(object), object ignoreNullValues = default(object), object alternateKeyName = default(object))
: base(additionalProperties, writeBatchSize, writeBatchTimeout, sinkRetryCount, sinkRetryWait, maxConcurrentConnections)
{
IgnoreNullValues = ignoreNullValues;
AlternateKeyName = alternateKeyName;
CustomInit();
}
/// <summary>
Expand All @@ -77,6 +80,13 @@ static DynamicsSink()
[JsonProperty(PropertyName = "ignoreNullValues")]
public object IgnoreNullValues { get; set; }

/// <summary>
/// Gets or sets the logical name of the alternative key which will be
/// used when upserting records
/// </summary>
[JsonProperty(PropertyName = "alternateKeyName")]
public object AlternateKeyName { get; set; }

/// <summary>
/// The write behavior for the operation.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
<Version>4.1.4</Version>
<AssemblyName>Microsoft.Azure.Management.DataFactory</AssemblyName>
<PackageTags>Microsoft Azure resource management;Data Factory;ADF;</PackageTags>
<PackageReleaseNotes><![CDATA[
<PackageReleaseNotes>
<![CDATA[
- Added outputColumns property to Office365Source
- Added support for ORC dataset in ADF
- Added alternateKeyName property to DynamicsSink, DynamicsCrmSink and CommonDataServiceForAppsSinkCommonDataServiceForAppsSink
]]></PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
### Feature Additions
- Added outputColumns property to Office365Source
- Added support for ORC dataset in ADF
- Added alternateKeyName property to DynamicsSink, DynamicsCrmSink and CommonDataServiceForAppsSinkCommonDataServiceForAppsSink

## Version 4.1.2
### Feature Additions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2160,7 +2160,8 @@ public class PipelineJsonSamples : JsonSampleCollection<PipelineJsonSamples>
sink: {
type: ""DynamicsSink"",
writeBehavior: ""Upsert"",
ignoreNullValues: false
ignoreNullValues: false,
alternateKeyName: ""keyName""
}
}
}
Expand Down Expand Up @@ -4564,7 +4565,8 @@ public class PipelineJsonSamples : JsonSampleCollection<PipelineJsonSamples>
""type"": ""DynamicsCrmSink"",
""writeBehavior"": ""Upsert"",
""writeBatchSize"": 5000,
""ignoreNullValues"": true
""ignoreNullValues"": true,
""alternateKeyName"": ""keyName""
}
},
""inputs"": [
Expand Down Expand Up @@ -4599,7 +4601,8 @@ public class PipelineJsonSamples : JsonSampleCollection<PipelineJsonSamples>
""type"": ""CommonDataServiceForAppsSink"",
""writeBehavior"": ""Upsert"",
""writeBatchSize"": 5000,
""ignoreNullValues"": true
""ignoreNullValues"": true,
""alternateKeyName"": ""keyName""
}
},
""inputs"": [
Expand Down