Skip to content

Commit

Permalink
Added Hidden on destination addins that are not used
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasSort committed Apr 22, 2024
1 parent 1072610 commit 20afe76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>10.0.19</Version>
<Version>10.0.20</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Title>User Provider</Title>
<Description>User Provider</Description>
Expand Down
7 changes: 3 additions & 4 deletions src/UserProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,21 +139,20 @@ public virtual DateTime ExportNotExportedAfterDate
[AddInParameter("Persist successful rows and skip failing rows"), AddInParameterEditor(typeof(YesNoParameterEditor), "Tooltip=Checking this box allows the activity to do partial imports by skipping problematic records and keeping the succesful ones"), AddInParameterGroup("Destination"), AddInParameterOrder(100)]
public bool SkipFailingRows { get; set; }

[AddInParameter("Remove missing rows after import"), AddInParameterEditor(typeof(YesNoParameterEditor), "Tooltip=Removes rows from the destination and relation tables. This option takes precedence"), AddInParameterGroup("Destination")]
#region HideParameters
[AddInParameter("Remove missing rows after import"), AddInParameterEditor(typeof(YesNoParameterEditor), "Tooltip=Removes rows from the destination and relation tables. This option takes precedence"), AddInParameterGroup("Hidden")]
public bool RemoveMissingAfterImport
{
get;
set;
}

[AddInParameter("Remove missing rows after import in the destination tables only"), AddInParameterEditor(typeof(YesNoParameterEditor), "Tooltip=Deletes rows not present in the import source - excluding related tabled"), AddInParameterGroup("Destination"), AddInParameterOrder(35)]
[AddInParameter("Remove missing rows after import in the destination tables only"), AddInParameterEditor(typeof(YesNoParameterEditor), "Tooltip=Deletes rows not present in the import source - excluding related tabled"), AddInParameterGroup("Hidden"), AddInParameterOrder(35)]
public bool RemoveMissingAfterImportDestinationTablesOnly
{
get;
set;
}

#region HideParameters
[AddInParameter("Source server"), AddInParameterEditor(typeof(TextParameterEditor), ""), AddInParameterGroup("hidden")]
public string SourceServer
{
Expand Down

0 comments on commit 20afe76

Please sign in to comment.