We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e046853 commit c69985eCopy full SHA for c69985e
ProcessMyMedia/Extensions/Media/LinkedServiceExtensions.cs
@@ -22,7 +22,8 @@ public static Model.LinkedServiceEntity ToEntity(this LinkedServiceResource sou
22
return new Model.LinkedServiceEntity()
23
{
24
Name = source.Name,
25
- Type = source.Type,
+ Type = source?.Properties?.AdditionalProperties?.ContainsKey("type") == true ?
26
+ source.Properties.AdditionalProperties["type"].ToString() : Model.LinkedServiceType.Unknown.ToString(),
27
Description = source.Properties.Description
28
};
29
}
0 commit comments