Skip to content

Commit

Permalink
Now overriding SaveAsXml, Close and GetReader
Browse files Browse the repository at this point in the history
  • Loading branch information
frederik5480 committed Nov 30, 2023
1 parent cf7c2a6 commit 6d806d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>10.0.9</Version>
<Version>10.0.10</Version>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<Title>Order Provider</Title>
<Description>Order Provider</Description>
Expand Down
6 changes: 3 additions & 3 deletions src/OrderProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public override void LoadSettings(Job job)
OrderTablesInJob(job, true);
}

public new void Close()
public override void Close()
{
if (job != null && job.Result == JobResult.Completed)
{
Expand Down Expand Up @@ -206,7 +206,7 @@ public override string ValidateSourceSettings()
return null;
}

public new virtual void SaveAsXml(XmlTextWriter xmlTextWriter)
public override void SaveAsXml(XmlTextWriter xmlTextWriter)
{
xmlTextWriter.WriteElementString("SqlConnectionString", SqlConnectionString);
xmlTextWriter.WriteElementString("ExportNotYetExportedOrders", ExportNotExportedOrders.ToString(CultureInfo.CurrentCulture));
Expand Down Expand Up @@ -259,7 +259,7 @@ public OrderProvider()
DiscardDuplicates = false;
}

public new ISourceReader GetReader(Mapping mapping)
public override ISourceReader GetReader(Mapping mapping)
{
return new OrderSourceReader(mapping, Connection, ExportNotExportedOrders, ExportOnlyOrdersWithoutExtID, DoNotExportCarts);
}
Expand Down

0 comments on commit 6d806d2

Please sign in to comment.