Skip to content

Commit

Permalink
Name changed from DataMigrationUtility to DataMigrationUsingFetchXml. (
Browse files Browse the repository at this point in the history
…#6)

* Name changed from DataMigrationUtility to DataMigrationUsingFetchXml.
* Added Author name.
  • Loading branch information
AshotHambardzumyan authored Nov 14, 2022
1 parent 86d051e commit b3f2981
Show file tree
Hide file tree
Showing 35 changed files with 167 additions and 139 deletions.
2 changes: 1 addition & 1 deletion XrmMigrationUtility.sln → DataMigrationUsingFetchXml.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.32630.194
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "XrmMigrationUtility", "DataMigrationUtility\XrmMigrationUtility.csproj", "{5FF0A4C5-C5DB-4EBB-B090-4DB274096002}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DataMigrationUsingFetchXml", "DataMigrationUsingFetchXml\DataMigrationUsingFetchXml.csproj", "{5FF0A4C5-C5DB-4EBB-B090-4DB274096002}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,35 @@
using System.ComponentModel.Composition;
using XrmToolBox.Extensibility.Interfaces;

namespace XrmMigrationUtility
namespace DataMigrationUsingFetchXml
{
// Do not forget to update version number and author (company attribute) in AssemblyInfo.cs class
// To generate Base64 string for Images below, you can use https://www.base64-image.de/
[Export(typeof(IXrmToolBoxPlugin)),
ExportMetadata("Name", "Data Migration Utility"),
ExportMetadata("Description", "Data Migration Utility helps migrating data between environments."),
ExportMetadata("Name", "Data Migration using FetchXml"),
ExportMetadata("Description", "Tool helps to transfer entity records between environments by using FetchXml queries."),
// Please specify the base64 content of a 32x32 pixels image
ExportMetadata("SmallImageBase64", "iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AA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mtp/YR9wFRcSdRlziV6WPaUNHqTzH6QuH0U1baXuVUQaO5q2wEsF0BS4ZMaDFRZK/Wi1ru8UKqz2ZJtrVPxQMkqFxiPyj4AVyF21efSxRhfBuYZenTY/RpkXYKlcv9sYNtC7H3zoqHlgqZcetHxYjJ6l2QOUHLfKGz5ZAQqNNDS1banFNxuzjfc/Q5F/HranP7FA/lZvx92/0gu4i3gv5R7SA7jmIkpI6X6+fXJ6H8k7nNjpFbQMNzE/cK+VFUD5tw+4t7WUNIKjMsHj878xLS5/dcpP/MuMFzcGGYLIFZmLLm3oHh5zDXjznxguOauhZsxRarSCYX+YtiaXMQqlee+IzL7ykB+1haDDHAojG4QYKQRfzY4OebuEu8zGBFcDHxYZs+Y9MaZaZdLVl/1CM4XV/94U1N9MvovMzZSzsBciScRd8vs2Om2rnCZPSTsgYnngSr4wE/Wz36po+eNGiZTJR42yhow6MO4jfItugjsdUOvy8yB+VBrIBmPzk5PtH9vy872H+1+ZdGDdHZGFavBxL0j0jhDhDKy5vxOpq9bkV2RcfeInjGSlVjatW4J8hurfGo01yeFvXpy+uDq0/v72BGcoDwfpLX2onL5NwrrqF4FoVm4KtqwRFaiaKZ3zUkz2QMw/oIZLBQa5u679cnak1Bnpzdfsf9FOBcRlp32GbwcUwt39K355dDpn0/LwFljwgwANHe1typ0uG9T79/HCIR1rbtt94and9dYczBxXzZeA2FkPeGFgAe9yK7SZBoYI3Ar6DsYn95zS2/vZLtZ8Gxr/YxTDceBf75dBf/fKWdWQVkDV5vpBvvgzrXzipZ0WfWKmB6yBU5s2r3x6e7JSCzruvn9Mn/vZHYACvr3bOx9yVb+dmXdwNGLrzPXGQQEjSZ7QChNIl0z2Q/G+aLGn1Hb48hCJ2d+se/O7TXL6kLwPwrGfUt+srjwAAAAAElFTkSuQmCC"),
// Please specify the base64 content of a 80x80 pixels image
ExportMetadata("BigImageBase64", "iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAABHNCSVQICAgIfAh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7LP00M7X6VsDq1qU7GCjpCNPOIcq7EtDjn3bdKVPu8/VcK0vyqqRXjb5X20LWHPNdfHFPCS6xybUZxF8VdTyKCo9ddg1wCa2ftFtnDBcv2vCouNCLAj+ZDsd0ljImI47B188ZZH5cT5Xx0WERCbHD+MWULr436gkvJSZl5FXigxse2dFtU7/kywiIB4Y8fAzX8XYnk6uNNLXR6hO7WXb/+vwCICwnl+9OfXyN7Wjl7vOqn6VSj/OyD6N8mdFu/xMg1PAAAAAElFTkSuQmCC"),
ExportMetadata("BackgroundColor", "Lavender"),
ExportMetadata("PrimaryFontColor", "Black"),
ExportMetadata("SecondaryFontColor", "Gray")]
public class DataMigrationUtility : PluginBase
public class DataMigrationUsingFetchXml : PluginBase
{
private readonly IUnityContainer _unityContainer;

public override IXrmToolBoxPluginControl GetControl()
{
UnityConfig.RegisterTypes(_unityContainer);

return _unityContainer.Resolve<DataMigrationUtilityControl>();
return _unityContainer.Resolve<DataMigrationUsingFetchXmlControl>();
}

/// <summary>
/// Constructor
/// </summary>
public DataMigrationUtility()
public DataMigrationUsingFetchXml()
{
_unityContainer = new UnityContainer();
// If you have external assemblies that you need to load, uncomment the following to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<ProjectGuid>{5FF0A4C5-C5DB-4EBB-B090-4DB274096002}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>XrmMigrationUtility</RootNamespace>
<AssemblyName>DataMigrationUtility</AssemblyName>
<RootNamespace>DataMigrationUsingFetchXml</RootNamespace>
<AssemblyName>DataMigrationUsingFetchXml</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<NuGetPackageImportStamp>
Expand Down Expand Up @@ -334,12 +334,12 @@
<Compile Include="Services\Implementations\DataverseService.cs" />
<Compile Include="Services\Implementations\Logger.cs" />
<Compile Include="Model\ResultItem.cs" />
<Compile Include="DataMigrationUtility.cs" />
<Compile Include="DataMigrationUtilityControl.cs">
<Compile Include="DataMigrationUsingFetchXml.cs" />
<Compile Include="DataMigrationUsingFetchXmlControl.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="DataMigrationUtilityControl.designer.cs">
<DependentUpon>DataMigrationUtilityControl.cs</DependentUpon>
<Compile Include="DataMigrationUsingFetchXmlControl.designer.cs">
<DependentUpon>DataMigrationUsingFetchXmlControl.cs</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Services\Interfaces\IDataverseService.cs" />
Expand All @@ -351,11 +351,11 @@
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
<None Include="Properties\DataSources\XrmMigrationUtility.Model.FetchXmlData.datasource" />
<None Include="Properties\DataSources\DataMigrationUsingFetchXml.Model.FetchXmlData.datasource" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="DataMigrationUtilityControl.resx">
<DependentUpon>DataMigrationUtilityControl.cs</DependentUpon>
<EmbeddedResource Include="DataMigrationUsingFetchXmlControl.resx">
<DependentUpon>DataMigrationUsingFetchXmlControl.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\Popup\Popup.resx">
Expand All @@ -380,10 +380,10 @@
<None Include="Resources\Remove.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\recycle-bin.png" />
<None Include="Resources\clearLogs.jpg" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\stop.png" />
<None Include="Resources\stopMigration.jpg" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
Expand Down
Loading

0 comments on commit b3f2981

Please sign in to comment.