Skip to content

Commit df5b37d

Browse files
committed
Added SQL Server to SQL Lite DB Conversion Tool
1 parent c302d67 commit df5b37d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4909
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
URL: http://www.codeproject.com/Articles/26932/Convert-SQL-Server-DB-to-SQLite-DB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<configSections>
4+
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
5+
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
6+
<section name="Converter.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
7+
</sectionGroup>
8+
</configSections>
9+
<log4net>
10+
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
11+
<file value="Logs/converter.log"/>
12+
<appendToFile value="false"/>
13+
<maximumFileSize value="1000KB"/>
14+
<maxSizeRollBackups value="4"/>
15+
<layout type="log4net.Layout.PatternLayout">
16+
<conversionPattern value="%5level %date (%file:%line) - %message%newline"/>
17+
</layout>
18+
</appender>
19+
<root>
20+
<level value="DEBUG"/>
21+
<appender-ref ref="RollingFile"/>
22+
</root>
23+
</log4net>
24+
<applicationSettings>
25+
<Converter.Properties.Settings>
26+
<setting name="SQLServerAddress" serializeAs="String">
27+
<value />
28+
</setting>
29+
<setting name="DatabasePath" serializeAs="String">
30+
<value />
31+
</setting>
32+
</Converter.Properties.Settings>
33+
</applicationSettings>
34+
</configuration>
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<configSections>
4+
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net"/>
5+
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
6+
<section name="Converter.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
7+
</sectionGroup>
8+
</configSections>
9+
<log4net>
10+
<appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
11+
<file value="Logs/converter.log"/>
12+
<appendToFile value="false"/>
13+
<maximumFileSize value="1000KB"/>
14+
<maxSizeRollBackups value="4"/>
15+
<layout type="log4net.Layout.PatternLayout">
16+
<conversionPattern value="%5level %date (%file:%line) - %message%newline"/>
17+
</layout>
18+
</appender>
19+
<root>
20+
<level value="DEBUG"/>
21+
<appender-ref ref="RollingFile"/>
22+
</root>
23+
</log4net>
24+
<applicationSettings>
25+
<Converter.Properties.Settings>
26+
<setting name="SQLServerAddress" serializeAs="String">
27+
<value />
28+
</setting>
29+
<setting name="DatabasePath" serializeAs="String">
30+
<value />
31+
</setting>
32+
</Converter.Properties.Settings>
33+
</applicationSettings>
34+
</configuration>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
3+
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
4+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
5+
<security>
6+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
7+
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
8+
</requestedPrivileges>
9+
</security>
10+
</trustInfo>
11+
</assembly>
Binary file not shown.
Binary file not shown.

SQLServer/ConvertSQLServerDBtoSQLiteDB/SqlConverter_v1_20_binary/Logs/converter.log

Whitespace-only changes.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>8.0.50727</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{1D389047-977D-4278-8357-AC0AC751B95E}</ProjectGuid>
9+
<OutputType>WinExe</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>Converter</RootNamespace>
12+
<AssemblyName>Converter</AssemblyName>
13+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
14+
<FileUpgradeFlags>
15+
</FileUpgradeFlags>
16+
<OldToolsVersion>2.0</OldToolsVersion>
17+
<UpgradeBackupLocation />
18+
<PublishUrl>publish\</PublishUrl>
19+
<Install>true</Install>
20+
<InstallFrom>Disk</InstallFrom>
21+
<UpdateEnabled>false</UpdateEnabled>
22+
<UpdateMode>Foreground</UpdateMode>
23+
<UpdateInterval>7</UpdateInterval>
24+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
25+
<UpdatePeriodically>false</UpdatePeriodically>
26+
<UpdateRequired>false</UpdateRequired>
27+
<MapFileExtensions>true</MapFileExtensions>
28+
<ApplicationRevision>0</ApplicationRevision>
29+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
30+
<IsWebBootstrapper>false</IsWebBootstrapper>
31+
<UseApplicationTrust>false</UseApplicationTrust>
32+
<BootstrapperEnabled>true</BootstrapperEnabled>
33+
</PropertyGroup>
34+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
35+
<DebugSymbols>true</DebugSymbols>
36+
<DebugType>full</DebugType>
37+
<Optimize>false</Optimize>
38+
<OutputPath>bin\Debug\</OutputPath>
39+
<DefineConstants>DEBUG;TRACE</DefineConstants>
40+
<ErrorReport>prompt</ErrorReport>
41+
<WarningLevel>4</WarningLevel>
42+
<PlatformTarget>x86</PlatformTarget>
43+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
44+
</PropertyGroup>
45+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
46+
<DebugType>pdbonly</DebugType>
47+
<Optimize>true</Optimize>
48+
<OutputPath>bin\Release\</OutputPath>
49+
<DefineConstants>TRACE</DefineConstants>
50+
<ErrorReport>prompt</ErrorReport>
51+
<WarningLevel>4</WarningLevel>
52+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
53+
</PropertyGroup>
54+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
55+
<DebugSymbols>true</DebugSymbols>
56+
<OutputPath>bin\x86\Debug\</OutputPath>
57+
<DefineConstants>DEBUG;TRACE</DefineConstants>
58+
<DebugType>full</DebugType>
59+
<PlatformTarget>x86</PlatformTarget>
60+
<CodeAnalysisLogFile>bin\Debug\Converter.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
61+
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
62+
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
63+
<ErrorReport>prompt</ErrorReport>
64+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
65+
<CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
66+
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
67+
<CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
68+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
69+
</PropertyGroup>
70+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
71+
<OutputPath>bin\x86\Release\</OutputPath>
72+
<DefineConstants>TRACE</DefineConstants>
73+
<Optimize>true</Optimize>
74+
<DebugType>pdbonly</DebugType>
75+
<PlatformTarget>x86</PlatformTarget>
76+
<CodeAnalysisLogFile>bin\Release\Converter.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
77+
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
78+
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
79+
<ErrorReport>prompt</ErrorReport>
80+
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
81+
<CodeAnalysisRuleSetDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
82+
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
83+
<CodeAnalysisRuleDirectories>;c:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
84+
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
85+
</PropertyGroup>
86+
<ItemGroup>
87+
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
88+
<SpecificVersion>False</SpecificVersion>
89+
<HintPath>..\log4net.dll</HintPath>
90+
</Reference>
91+
<Reference Include="System" />
92+
<Reference Include="System.Data" />
93+
<Reference Include="System.Data.SQLite, Version=1.0.65.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=x86">
94+
<HintPath>..\System.Data.SQLite.dll</HintPath>
95+
<Private>True</Private>
96+
</Reference>
97+
<Reference Include="System.Deployment" />
98+
<Reference Include="System.Drawing" />
99+
<Reference Include="System.Windows.Forms" />
100+
<Reference Include="System.Xml" />
101+
</ItemGroup>
102+
<ItemGroup>
103+
<Compile Include="..\SolutionInfo.cs">
104+
<Link>Properties\SolutionInfo.cs</Link>
105+
</Compile>
106+
<Compile Include="MainForm.cs">
107+
<SubType>Form</SubType>
108+
</Compile>
109+
<Compile Include="MainForm.Designer.cs">
110+
<DependentUpon>MainForm.cs</DependentUpon>
111+
</Compile>
112+
<Compile Include="Program.cs" />
113+
<Compile Include="TableSelectionDialog.cs">
114+
<SubType>Form</SubType>
115+
</Compile>
116+
<Compile Include="TableSelectionDialog.Designer.cs">
117+
<DependentUpon>TableSelectionDialog.cs</DependentUpon>
118+
</Compile>
119+
<Compile Include="ViewFailureDialog.cs">
120+
<SubType>Form</SubType>
121+
</Compile>
122+
<Compile Include="ViewFailureDialog.Designer.cs">
123+
<DependentUpon>ViewFailureDialog.cs</DependentUpon>
124+
</Compile>
125+
<EmbeddedResource Include="MainForm.resx">
126+
<SubType>Designer</SubType>
127+
<DependentUpon>MainForm.cs</DependentUpon>
128+
</EmbeddedResource>
129+
<EmbeddedResource Include="TableSelectionDialog.resx">
130+
<DependentUpon>TableSelectionDialog.cs</DependentUpon>
131+
<SubType>Designer</SubType>
132+
</EmbeddedResource>
133+
<EmbeddedResource Include="ViewFailureDialog.resx">
134+
<SubType>Designer</SubType>
135+
<DependentUpon>ViewFailureDialog.cs</DependentUpon>
136+
</EmbeddedResource>
137+
<None Include="App.config" />
138+
</ItemGroup>
139+
<ItemGroup>
140+
<ProjectReference Include="..\DbAccess\DbAccess.csproj">
141+
<Project>{23AAF1EF-2EB6-43AD-8103-A687F04A7288}</Project>
142+
<Name>DbAccess</Name>
143+
</ProjectReference>
144+
</ItemGroup>
145+
<ItemGroup>
146+
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
147+
<Visible>False</Visible>
148+
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
149+
<Install>false</Install>
150+
</BootstrapperPackage>
151+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
152+
<Visible>False</Visible>
153+
<ProductName>.NET Framework 3.5 SP1</ProductName>
154+
<Install>true</Install>
155+
</BootstrapperPackage>
156+
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
157+
<Visible>False</Visible>
158+
<ProductName>Windows Installer 3.1</ProductName>
159+
<Install>true</Install>
160+
</BootstrapperPackage>
161+
</ItemGroup>
162+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
163+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
164+
Other similar extension points exist, see Microsoft.Common.targets.
165+
<Target Name="BeforeBuild">
166+
</Target>
167+
<Target Name="AfterBuild">
168+
</Target>
169+
-->
170+
<ProjectExtensions>
171+
<VisualStudio>
172+
<UserProperties Reset="1" AssemblyVersion="1" AssemblyFileVersion="1" StartDate="20080613" />
173+
</VisualStudio>
174+
</ProjectExtensions>
175+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<ProjectView>ProjectFiles</ProjectView>
5+
<PublishUrlHistory />
6+
<InstallUrlHistory />
7+
<SupportUrlHistory />
8+
<UpdateUrlHistory />
9+
<BootstrapperUrlHistory />
10+
<ErrorReportUrlHistory />
11+
<FallbackCulture>en-US</FallbackCulture>
12+
<VerifyUploadedFiles>false</VerifyUploadedFiles>
13+
</PropertyGroup>
14+
</Project>

0 commit comments

Comments
 (0)