├── .github
├── FUNDING.yml
├── dependabot.yml
└── workflows
│ ├── build.yml
│ └── release.yml
├── .gitignore
├── Dependencies
├── InnoSetup
│ ├── Default.isl
│ ├── ISCC.exe
│ ├── ISCmplr.dll
│ ├── ISPP.dll
│ ├── ISPPBuiltins.iss
│ ├── Setup.e32
│ ├── SetupLdr.e32
│ ├── WizModernImage-IS.bmp
│ ├── WizModernImage.bmp
│ ├── WizModernSmallImage-IS.bmp
│ ├── WizModernSmallImage.bmp
│ ├── isbunzip.dll
│ ├── isbzip.dll
│ ├── islzma.dll
│ ├── islzma32.exe
│ ├── islzma64.exe
│ ├── isscint.dll
│ ├── isunzlib.dll
│ └── iszlib.dll
├── SQLCEv3.5-x64
│ ├── Desktop
│ │ └── System.Data.SqlServerCe.dll
│ ├── EULA_ENU.rtf
│ ├── Private
│ │ ├── System.Data.SqlServerCe.Entity.dll
│ │ └── System.Data.SqlServerCe.dll
│ ├── REDIST_ENU.TXT
│ ├── ReadmeSSCE35_ENU.htm
│ ├── System.Data.SqlServerCe.Entity.dll
│ ├── sqlceca35.dll
│ ├── sqlcecompact35.dll
│ ├── sqlceer35EN.dll
│ ├── sqlceme35.dll
│ ├── sqlceoledb35.dll
│ ├── sqlceqp35.dll
│ └── sqlcese35.dll
└── SQLCEv3.5-x86
│ ├── Desktop
│ └── System.Data.SqlServerCe.dll
│ ├── EULA_ENU.rtf
│ ├── Private
│ ├── System.Data.SqlServerCe.Entity.dll
│ └── System.Data.SqlServerCe.dll
│ ├── REDIST_ENU.TXT
│ ├── ReadmeSSCE35_ENU.htm
│ ├── System.Data.SqlServerCe.Entity.dll
│ ├── sqlceca35.dll
│ ├── sqlcecompact35.dll
│ ├── sqlceer35EN.dll
│ ├── sqlceme35.dll
│ ├── sqlceoledb35.dll
│ ├── sqlceqp35.dll
│ └── sqlcese35.dll
├── LICENSE
├── README.md
├── Screenshots
├── ContentWithImages.png
├── CreateDatabase.png
├── DatabaseInfo.png
├── EditTable.png
├── QueryResultErrors.png
├── QueryResultMessages.png
├── ResultsAsXml.png
└── Shrink.png
├── Source
├── .config
│ └── dotnet-tools.json
├── ChocolatelyPackages
│ ├── sqlcequery.nuspec
│ └── tools
│ │ ├── LICENSE.txt
│ │ ├── chocolateybeforemodify.ps1
│ │ ├── chocolateyinstall.ps1
│ │ └── chocolateyuninstall.ps1
├── Editor
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Controls
│ │ ├── DataGridViewEx.cs
│ │ └── ResultsContainer.cs
│ ├── Editor.csproj
│ ├── Misc
│ │ ├── SavedFileInfo.cs
│ │ └── StringEncryptionHelper.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── Resources
│ │ ├── AboutLogo.png
│ │ ├── Database.ico
│ │ └── SQL-Mode.xshd
│ ├── View
│ │ ├── AboutBox.xaml
│ │ ├── AboutBox.xaml.cs
│ │ ├── CreateDatabaseWindow.xaml
│ │ ├── CreateDatabaseWindow.xaml.cs
│ │ ├── MainWindow.xaml
│ │ ├── MainWindow.xaml.cs
│ │ ├── PasswordWindow.xaml
│ │ ├── PasswordWindow.xaml.cs
│ │ ├── RenameObjectWindow.xaml
│ │ └── RenameObjectWindow.xaml.cs
│ ├── ViewModel
│ │ ├── CreateDatabaseViewModel.cs
│ │ ├── MainViewModel.cs
│ │ ├── PasswordBoxAssistant.cs
│ │ ├── RenameObjectViewModel.cs
│ │ ├── SafeRelayCommand.cs
│ │ ├── ViewModelBase.cs
│ │ └── ViewModelLocator.cs
│ ├── app.config
│ └── packages.config
├── Icon.ico
├── Icon.png
├── QueryAnalyzer.sln
├── Setup-x64.iss
├── Setup-x86.iss
├── SqlCeDatabase
│ ├── FileSizeFormatProvider.cs
│ ├── ISqlCeDatabase.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── SqlCeDatabase.csproj
│ ├── SqlCeDatabaseFactory.cs
│ ├── Table.cs
│ └── TableExtensions.cs
├── SqlCeDatabase31
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── SqlCeDatabase.cs
│ ├── SqlCeDatabase31.csproj
│ ├── System.Data.SqlServerCe.dll
│ ├── packages.config
│ ├── sqlceca30.dll
│ ├── sqlcecompact30.dll
│ ├── sqlceer30EN.dll
│ ├── sqlceme30.dll
│ ├── sqlceoledb30.dll
│ ├── sqlceqp30.dll
│ └── sqlcese30.dll
├── SqlCeDatabase35
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── SqlCeDatabase.cs
│ ├── SqlCeDatabase35.csproj
│ ├── SqlCeEngineExtensions.cs
│ ├── System.Data.SqlServerCe.dll
│ ├── packages.config
│ ├── sqlceca35.dll
│ ├── sqlcecompact35.dll
│ ├── sqlceer35EN.dll
│ ├── sqlceme35.dll
│ ├── sqlceoledb35.dll
│ ├── sqlceqp35.dll
│ └── sqlcese35.dll
├── SqlCeDatabase40
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── SqlCeDatabase40.csproj
│ ├── System.Data.SqlServerCe.dll
│ ├── packages.config
│ ├── sqlceca40.dll
│ ├── sqlcecompact40.dll
│ ├── sqlceer40EN.dll
│ ├── sqlceme40.dll
│ ├── sqlceqp40.dll
│ └── sqlcese40.dll
├── TSqlParser
│ ├── TSqlLexerCore.g4
│ ├── TSqlParser.cs
│ └── TSqlParserCore.g4
├── build.cake
└── build.ps1
└── renovate.json
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | # These are supported funding model platforms
2 |
3 | github: christianhelle
4 | patreon: # Replace with a single Patreon username
5 | open_collective: # Replace with a single Open Collective username
6 | ko_fi: christianhelle
7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9 | liberapay: christianhelle
10 | issuehunt: # Replace with a single IssueHunt username
11 | otechie: # Replace with a single Otechie username
12 | lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13 | custom: ["https://paypal.me/christianhelle", "https://buymeacoffee.com/christianhelle"]
14 |
--------------------------------------------------------------------------------
/.github/dependabot.yml:
--------------------------------------------------------------------------------
1 | version: 2
2 | updates:
3 | - package-ecosystem: nuget
4 | directory: "/Source"
5 | schedule:
6 | interval: daily
7 | time: "04:00"
8 | open-pull-requests-limit: 10
9 | ignore:
10 | - dependency-name: AvalonEdit
11 | versions:
12 | - 6.0.1
13 | - 6.1.0
14 | - dependency-name: Extended.Wpf.Toolkit
15 | versions:
16 | - 4.0.2
17 |
--------------------------------------------------------------------------------
/.github/workflows/build.yml:
--------------------------------------------------------------------------------
1 | name: Build
2 |
3 | on:
4 | pull_request:
5 | push:
6 | paths-ignore:
7 | - '**/*'
8 | - '!.github/workflows/build.yml'
9 | - '!Source/**/*.csproj'
10 | - '!Source/**/*.cs'
11 | - '!Source/ChocolateyPackages/**/*'
12 | branches:
13 | - '*'
14 |
15 | env:
16 | VERSION: 1.3.4.${{ github.run_number }}
17 |
18 | jobs:
19 | build:
20 |
21 | runs-on: windows-latest
22 |
23 | steps:
24 | - uses: actions/checkout@v4
25 | with:
26 | fetch-depth: '0'
27 |
28 | - name: Update Version
29 | run: |
30 | ((Get-Content -Path Source\Editor\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\Editor\Properties\AssemblyInfo.cs
31 | ((Get-Content -Path Source\SqlCeDatabase\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\SqlCeDatabase\Properties\AssemblyInfo.cs
32 | ((Get-Content -Path Source\SqlCeDatabase31\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\SqlCeDatabase31\Properties\AssemblyInfo.cs
33 | ((Get-Content -Path Source\SqlCeDatabase35\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\SqlCeDatabase35\Properties\AssemblyInfo.cs
34 | ((Get-Content -Path Source\SqlCeDatabase40\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\SqlCeDatabase40\Properties\AssemblyInfo.cs
35 | ((Get-Content -Path Source\Setup-x86.iss -Raw) -Replace "1.0.0", "${{ env.VERSION }}") | Set-Content -Path Source\Setup-x86.iss
36 | ((Get-Content -Path Source\Setup-x64.iss -Raw) -Replace "1.0.0", "${{ env.VERSION }}") | Set-Content -Path Source\Setup-x64.iss
37 |
38 | - name: Cake Build
39 | run: ./build.ps1 --verbosity Diagnostic
40 | working-directory: Source
41 |
42 | - name: Build Chocolately Package
43 | run: choco pack Source\ChocolatelyPackages\sqlcequery.nuspec --version ${{ env.VERSION }}-alpha
44 |
45 | - name: Publish artifacts
46 | uses: actions/upload-artifact@v3
47 | with:
48 | name: Installer (x64)
49 | path: Source/Artifacts/SQLCEQueryAnalyzer-Setup-x64.exe
50 |
51 | - name: Publish artifacts
52 | uses: actions/upload-artifact@v3
53 | with:
54 | name: Binaries (x64)
55 | path: Source/Binaries/Release/x64/**/*
56 |
57 | - name: Publish artifacts
58 | uses: actions/upload-artifact@v3
59 | with:
60 | name: Installer (x86)
61 | path: Source/Artifacts/SQLCEQueryAnalyzer-Setup-x86.exe
62 |
63 | - name: Publish artifacts
64 | uses: actions/upload-artifact@v3
65 | with:
66 | name: Binaries (x86)
67 | path: Source/Binaries/Release/x86/**/*
68 |
69 | - name: Publish artifacts
70 | uses: actions/upload-artifact@v3
71 | with:
72 | name: ChocolatelyPackage
73 | path: sqlcequery.${{ env.VERSION }}-alpha.nupkg
74 |
75 | - name: Upload Chocolately Package asset
76 | if: github.ref == 'refs/heads/master'
77 | run: |
78 | choco apikey --key ${{ secrets.CHOCOLATEY_API_KEY }} --source https://push.chocolatey.org/
79 | choco push sqlcequery.${{ env.VERSION }}-alpha.nupkg --source https://push.chocolatey.org/
80 |
--------------------------------------------------------------------------------
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
1 | name: Release
2 |
3 | on:
4 | workflow_dispatch:
5 | push:
6 | branches:
7 | - 'release'
8 |
9 | env:
10 | VERSION: 1.3.${{ github.run_number }}
11 |
12 | jobs:
13 | build:
14 |
15 | runs-on: windows-latest
16 |
17 | steps:
18 | - uses: actions/checkout@v4
19 | with:
20 | fetch-depth: '0'
21 |
22 | - name: Update Version
23 | run: |
24 | ((Get-Content -Path Source\Editor\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\Editor\Properties\AssemblyInfo.cs
25 | ((Get-Content -Path Source\SqlCeDatabase\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\SqlCeDatabase\Properties\AssemblyInfo.cs
26 | ((Get-Content -Path Source\SqlCeDatabase31\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\SqlCeDatabase31\Properties\AssemblyInfo.cs
27 | ((Get-Content -Path Source\SqlCeDatabase35\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\SqlCeDatabase35\Properties\AssemblyInfo.cs
28 | ((Get-Content -Path Source\SqlCeDatabase40\Properties\AssemblyInfo.cs -Raw) -Replace "1.0.*", "${{ env.VERSION }}"")]") | Set-Content -Path Source\SqlCeDatabase40\Properties\AssemblyInfo.cs
29 | ((Get-Content -Path Source\Setup-x86.iss -Raw) -Replace "1.0.0", "${{ env.VERSION }}") | Set-Content -Path Source\Setup-x86.iss
30 | ((Get-Content -Path Source\Setup-x64.iss -Raw) -Replace "1.0.0", "${{ env.VERSION }}") | Set-Content -Path Source\Setup-x64.iss
31 |
32 | - name: Cake Build
33 | run: ./build.ps1 --verbosity Diagnostic
34 | working-directory: Source
35 |
36 | - name: Build Chocolately Package
37 | run: choco pack Source\ChocolatelyPackages\sqlcequery.nuspec --version ${{ env.VERSION }}
38 |
39 | - name: Publish artifacts
40 | uses: actions/upload-artifact@v3
41 | with:
42 | name: Installer (x64)
43 | path: Source/Artifacts/SQLCEQueryAnalyzer-Setup-x64.exe
44 |
45 | - name: Publish artifacts
46 | uses: actions/upload-artifact@v3
47 | with:
48 | name: Binaries (x64)
49 | path: Source/Artifacts/SQLCEQueryAnalyzer-Binaries-x64.zip
50 |
51 | - name: Publish artifacts
52 | uses: actions/upload-artifact@v3
53 | with:
54 | name: Installer (x86)
55 | path: Source/Artifacts/SQLCEQueryAnalyzer-Setup-x86.exe
56 |
57 | - name: Publish artifacts
58 | uses: actions/upload-artifact@v3
59 | with:
60 | name: Binaries (x86)
61 | path: Source/Artifacts/SQLCEQueryAnalyzer-Binaries-x86.zip
62 |
63 | - name: Publish artifacts
64 | uses: actions/upload-artifact@v3
65 | with:
66 | name: ChocolatelyPackage
67 | path: sqlcequery.${{ env.VERSION }}.nupkg
68 |
69 | publish:
70 |
71 | needs: build
72 | runs-on: ubuntu-latest
73 |
74 | steps:
75 | - name: Create tag
76 | uses: actions/github-script@v7
77 | with:
78 | github-token: ${{ github.token }}
79 | script: |
80 | github.rest.git.createRef({
81 | owner: context.repo.owner,
82 | repo: context.repo.repo,
83 | ref: "refs/tags/${{ env.VERSION }}",
84 | sha: context.sha
85 | })
86 |
87 | - name: Create draft release
88 | id: create-release
89 | uses: actions/create-release@v1
90 | env:
91 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92 | with:
93 | tag_name: ${{ env.VERSION }}
94 | release_name: v${{ env.VERSION }}
95 | draft: true
96 | prerelease: false
97 |
98 | - uses: actions/download-artifact@v4.1.7
99 | with:
100 | path: artifacts
101 |
102 | - name: Upload Installer (x64) asset
103 | uses: actions/upload-release-asset@v1
104 | env:
105 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106 | with:
107 | upload_url: ${{ steps.create-release.outputs.upload_url }}
108 | asset_path: artifacts/Installer (x64)/SQLCEQueryAnalyzer-Setup-x64.exe
109 | asset_name: SQLCEQueryAnalyzer-Setup-x64.exe
110 | asset_content_type: application/zip
111 |
112 | - name: Upload Binaries (x64) asset
113 | uses: actions/upload-release-asset@v1
114 | env:
115 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116 | with:
117 | upload_url: ${{ steps.create-release.outputs.upload_url }}
118 | asset_path: artifacts/Binaries (x64)/SQLCEQueryAnalyzer-Binaries-x64.zip
119 | asset_name: SQLCEQueryAnalyzer-Binaries-x64.zip
120 | asset_content_type: application/zip
121 |
122 | - name: Upload Installer (x86) asset
123 | uses: actions/upload-release-asset@v1
124 | env:
125 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126 | with:
127 | upload_url: ${{ steps.create-release.outputs.upload_url }}
128 | asset_path: artifacts/Installer (x86)/SQLCEQueryAnalyzer-Setup-x86.exe
129 | asset_name: SQLCEQueryAnalyzer-Setup-x86.exe
130 | asset_content_type: application/zip
131 |
132 | - name: Upload Binaries (x86) asset
133 | uses: actions/upload-release-asset@v1
134 | env:
135 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
136 | with:
137 | upload_url: ${{ steps.create-release.outputs.upload_url }}
138 | asset_path: artifacts/Binaries (x86)/SQLCEQueryAnalyzer-Binaries-x86.zip
139 | asset_name: SQLCEQueryAnalyzer-Binaries-x86.zip
140 | asset_content_type: application/zip
141 |
142 | - name: Upload Chocolately Package asset
143 | run: |
144 | choco apikey --key ${{ secrets.CHOCOLATEY_API_KEY }} --source https://push.chocolatey.org/
145 | choco push artifacts/ChocolatelyPackage/sqlcequery.${{ env.VERSION }}.nupkg --source https://push.chocolatey.org/
146 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.suo
8 | *.user
9 | *.userosscache
10 | *.sln.docstates
11 |
12 | # User-specific files (MonoDevelop/Xamarin Studio)
13 | *.userprefs
14 |
15 | # Build results
16 | [Dd]ebug/
17 | [Dd]ebugPublic/
18 | [Rr]elease/
19 | [Rr]eleases/
20 | x64/
21 | x86/
22 | bld/
23 | [Bb]in/
24 | [Oo]bj/
25 | [Ll]og/
26 |
27 | # Visual Studio 2015/2017 cache/options directory
28 | .vs/
29 | # Uncomment if you have tasks that create the project's static files in wwwroot
30 | #wwwroot/
31 |
32 | # Visual Studio 2017 auto generated files
33 | Generated\ Files/
34 |
35 | # MSTest test Results
36 | [Tt]est[Rr]esult*/
37 | [Bb]uild[Ll]og.*
38 |
39 | # NUNIT
40 | *.VisualState.xml
41 | TestResult.xml
42 |
43 | # Build Results of an ATL Project
44 | [Dd]ebugPS/
45 | [Rr]eleasePS/
46 | dlldata.c
47 |
48 | # Benchmark Results
49 | BenchmarkDotNet.Artifacts/
50 |
51 | # .NET Core
52 | project.lock.json
53 | project.fragment.lock.json
54 | artifacts/
55 |
56 | # StyleCop
57 | StyleCopReport.xml
58 |
59 | # Files built by Visual Studio
60 | *_i.c
61 | *_p.c
62 | *_h.h
63 | *.ilk
64 | *.meta
65 | *.obj
66 | *.iobj
67 | *.pch
68 | *.pdb
69 | *.ipdb
70 | *.pgc
71 | *.pgd
72 | *.rsp
73 | *.sbr
74 | *.tlb
75 | *.tli
76 | *.tlh
77 | *.tmp
78 | *.tmp_proj
79 | *.log
80 | *.vspscc
81 | *.vssscc
82 | .builds
83 | *.pidb
84 | *.svclog
85 | *.scc
86 |
87 | # Chutzpah Test files
88 | _Chutzpah*
89 |
90 | # Visual C++ cache files
91 | ipch/
92 | *.aps
93 | *.ncb
94 | *.opendb
95 | *.opensdf
96 | *.sdf
97 | *.cachefile
98 | *.VC.db
99 | *.VC.VC.opendb
100 |
101 | # Visual Studio profiler
102 | *.psess
103 | *.vsp
104 | *.vspx
105 | *.sap
106 |
107 | # Visual Studio Trace Files
108 | *.e2e
109 |
110 | # TFS 2012 Local Workspace
111 | $tf/
112 |
113 | # Guidance Automation Toolkit
114 | *.gpState
115 |
116 | # ReSharper is a .NET coding add-in
117 | _ReSharper*/
118 | *.[Rr]e[Ss]harper
119 | *.DotSettings.user
120 |
121 | # JustCode is a .NET coding add-in
122 | .JustCode
123 |
124 | # TeamCity is a build add-in
125 | _TeamCity*
126 |
127 | # DotCover is a Code Coverage Tool
128 | *.dotCover
129 |
130 | # AxoCover is a Code Coverage Tool
131 | .axoCover/*
132 | !.axoCover/settings.json
133 |
134 | # Visual Studio code coverage results
135 | *.coverage
136 | *.coveragexml
137 |
138 | # NCrunch
139 | _NCrunch_*
140 | .*crunch*.local.xml
141 | nCrunchTemp_*
142 |
143 | # MightyMoose
144 | *.mm.*
145 | AutoTest.Net/
146 |
147 | # Web workbench (sass)
148 | .sass-cache/
149 |
150 | # Installshield output folder
151 | [Ee]xpress/
152 |
153 | # DocProject is a documentation generator add-in
154 | DocProject/buildhelp/
155 | DocProject/Help/*.HxT
156 | DocProject/Help/*.HxC
157 | DocProject/Help/*.hhc
158 | DocProject/Help/*.hhk
159 | DocProject/Help/*.hhp
160 | DocProject/Help/Html2
161 | DocProject/Help/html
162 |
163 | # Click-Once directory
164 | publish/
165 |
166 | # Publish Web Output
167 | *.[Pp]ublish.xml
168 | *.azurePubxml
169 | # Note: Comment the next line if you want to checkin your web deploy settings,
170 | # but database connection strings (with potential passwords) will be unencrypted
171 | *.pubxml
172 | *.publishproj
173 |
174 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
175 | # checkin your Azure Web App publish settings, but sensitive information contained
176 | # in these scripts will be unencrypted
177 | PublishScripts/
178 |
179 | # NuGet Packages
180 | *.nupkg
181 | # The packages folder can be ignored because of Package Restore
182 | **/[Pp]ackages/*
183 | # except build/, which is used as an MSBuild target.
184 | !**/[Pp]ackages/build/
185 | # Uncomment if necessary however generally it will be regenerated when needed
186 | #!**/[Pp]ackages/repositories.config
187 | # NuGet v3's project.json files produces more ignorable files
188 | *.nuget.props
189 | *.nuget.targets
190 |
191 | # Microsoft Azure Build Output
192 | csx/
193 | *.build.csdef
194 |
195 | # Microsoft Azure Emulator
196 | ecf/
197 | rcf/
198 |
199 | # Windows Store app package directories and files
200 | AppPackages/
201 | BundleArtifacts/
202 | Package.StoreAssociation.xml
203 | _pkginfo.txt
204 | *.appx
205 |
206 | # Visual Studio cache files
207 | # files ending in .cache can be ignored
208 | *.[Cc]ache
209 | # but keep track of directories ending in .cache
210 | !*.[Cc]ache/
211 |
212 | # Others
213 | ClientBin/
214 | ~$*
215 | *~
216 | *.dbmdl
217 | *.dbproj.schemaview
218 | *.jfm
219 | *.pfx
220 | *.publishsettings
221 | orleans.codegen.cs
222 |
223 | # Including strong name files can present a security risk
224 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
225 | #*.snk
226 |
227 | # Since there are multiple workflows, uncomment next line to ignore bower_components
228 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
229 | #bower_components/
230 |
231 | # RIA/Silverlight projects
232 | Generated_Code/
233 |
234 | # Backup & report files from converting an old project file
235 | # to a newer Visual Studio version. Backup files are not needed,
236 | # because we have git ;-)
237 | _UpgradeReport_Files/
238 | Backup*/
239 | UpgradeLog*.XML
240 | UpgradeLog*.htm
241 | ServiceFabricBackup/
242 | *.rptproj.bak
243 |
244 | # SQL Server files
245 | *.mdf
246 | *.ldf
247 | *.ndf
248 |
249 | # Business Intelligence projects
250 | *.rdl.data
251 | *.bim.layout
252 | *.bim_*.settings
253 | *.rptproj.rsuser
254 |
255 | # Microsoft Fakes
256 | FakesAssemblies/
257 |
258 | # GhostDoc plugin setting file
259 | *.GhostDoc.xml
260 |
261 | # Node.js Tools for Visual Studio
262 | .ntvs_analysis.dat
263 | node_modules/
264 |
265 | # Visual Studio 6 build log
266 | *.plg
267 |
268 | # Visual Studio 6 workspace options file
269 | *.opt
270 |
271 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
272 | *.vbw
273 |
274 | # Visual Studio LightSwitch build output
275 | **/*.HTMLClient/GeneratedArtifacts
276 | **/*.DesktopClient/GeneratedArtifacts
277 | **/*.DesktopClient/ModelManifest.xml
278 | **/*.Server/GeneratedArtifacts
279 | **/*.Server/ModelManifest.xml
280 | _Pvt_Extensions
281 |
282 | # Paket dependency manager
283 | .paket/paket.exe
284 | paket-files/
285 |
286 | # FAKE - F# Make
287 | .fake/
288 |
289 | # JetBrains Rider
290 | .idea/
291 | *.sln.iml
292 |
293 | # CodeRush
294 | .cr/
295 |
296 | # Python Tools for Visual Studio (PTVS)
297 | __pycache__/
298 | *.pyc
299 |
300 | # Cake - Uncomment if you are using it
301 | # tools/**
302 | # !tools/packages.config
303 |
304 | # Tabs Studio
305 | *.tss
306 |
307 | # Telerik's JustMock configuration file
308 | *.jmconfig
309 |
310 | # BizTalk build output
311 | *.btp.cs
312 | *.btm.cs
313 | *.odx.cs
314 | *.xsd.cs
315 |
316 | # OpenCover UI analysis results
317 | OpenCover/
318 |
319 | # Azure Stream Analytics local run output
320 | ASALocalRun/
321 |
322 | # MSBuild Binary and Structured Log
323 | *.binlog
324 |
325 | # NVidia Nsight GPU debugger configuration file
326 | *.nvuser
327 |
328 | # MFractors (Xamarin productivity tool) working folder
329 | .mfractor/
330 |
331 | # Local History for Visual Studio
332 | .localhistory/
333 | Source/tools/
334 |
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/ISCC.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/ISCC.exe
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/ISCmplr.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/ISCmplr.dll
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/ISPP.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/ISPP.dll
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/Setup.e32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/Setup.e32
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/SetupLdr.e32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/SetupLdr.e32
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/WizModernImage-IS.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/WizModernImage-IS.bmp
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/WizModernImage.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/WizModernImage.bmp
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/WizModernSmallImage-IS.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/WizModernSmallImage-IS.bmp
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/WizModernSmallImage.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/WizModernSmallImage.bmp
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/isbunzip.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/isbunzip.dll
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/isbzip.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/isbzip.dll
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/islzma.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/islzma.dll
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/islzma32.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/islzma32.exe
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/islzma64.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/islzma64.exe
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/isscint.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/isscint.dll
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/isunzlib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/isunzlib.dll
--------------------------------------------------------------------------------
/Dependencies/InnoSetup/iszlib.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/InnoSetup/iszlib.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/Desktop/System.Data.SqlServerCe.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/Desktop/System.Data.SqlServerCe.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/EULA_ENU.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\froman\fprq2\fcharset2 Symbol;}{\f3\fswiss\fprq2\fcharset0 Trebuchet MS;}}
2 | {\colortbl ;\red0\green0\blue255;\red0\green0\blue0;}
3 | {\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}}
4 | {\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\nowidctlpar\sb120\sa120\b\f0\fs28 MICROSOFT SOFTWARE LICENSE TERMS\par
5 | \pard\brdrb\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 MICROSOFT SQL SERVER COMPACT 3.5 WITH SERVICE PACK 2\f1\par
6 | \pard\nowidctlpar\sb120\sa120\b0\f0\fs19 These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft\par
7 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\f2\'b7\tab\f0 updates,\par
8 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\f2\'b7\tab\f0 supplements,\par
9 | \f2\'b7\tab\f0 Internet-based services, and \par
10 | \f2\'b7\tab\f0 support services\par
11 | \pard\nowidctlpar\sb120\sa120 for this software, unless other terms accompany those items. If so, those terms apply.\par
12 | \b BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par
13 | \pard\brdrt\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 If you comply with these license terms, you have the rights below.\par
14 | \pard\nowidctlpar\fi-357\li357\sb120\sa120\tx360\f3\fs20 1.\tab\f0\fs19 INSTALLATION AND USE RIGHTS. \b0 You may install and use any number of copies of the software on your devices\f1 .\b\par
15 | \f3\fs20 2.\tab\f0\fs19 ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.\par
16 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\f3\fs20 a.\tab\f0\fs19 Distributable Code.\b0 The software contains code that you are permitted to distribute in programs you develop if you comply with the terms below.\b\f1\par
17 | \pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\tx1440\f0\fs20 i.\tab\fs19 Right to Use and Distribute.\b0 The code and text files listed below are \ldblquote Distributable Code.\rdblquote\b\f1\par
18 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\tx1437\b0\f2\'b7\tab\ul\f0 REDIST.TXT Files\ulnone . You may copy and distribute the object code form of code listed in REDIST.TXT files.\ul\f1\par
19 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\ulnone\f2\'b7\tab\ul\f0 Third Party Distribution\ulnone . You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.\ul\f1\par
20 | \pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\tx1440\ulnone\b\f0\fs20 ii.\tab\fs19 Distribution Requirements\b0\f1 .\f0 For any Distributable Code you distribute, you must\b\f1\par
21 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\tx1437\b0\f2\'b7\tab\f0 add significant primary functionality to it in your programs;\par
22 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\f2\'b7\tab\f0 require distributors and external end users to agree to terms that protect it at least as much as this agreement; \par
23 | \f2\'b7\tab\f0 display your valid copyright notice on your programs; and\par
24 | \f2\'b7\tab\f0 indemnify, defend, and hold harmless Microsoft from any claims, including attorneys\rquote fees, related to the distribution or use of your programs.\par
25 | \pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\tx1440\b\fs20 iii.\tab\fs19 Distribution Restrictions. \b0 You may not\b\f1\par
26 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\tx1437\b0\f2\'b7\tab\f0 alter any copyright, trademark or patent notice in the Distributable Code; \par
27 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\f2\'b7\tab\f0 use Microsoft\rquote s trademarks in your programs\rquote names or in a way that suggests your programs come from or are endorsed by Microsoft; \par
28 | \f2\'b7\tab\f0 distribute Distributable Code to run on a platform other than the Windows platform;\par
29 | \f2\'b7\tab\f0 include Distributable Code in malicious, deceptive or unlawful programs; or\par
30 | \f2\'b7\tab\f0 modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that\par
31 | \pard\nowidctlpar\fi-357\li1792\sb120\sa120\tx1795\f2\'b7\tab\f0 the code be disclosed or distributed in source code form; or \par
32 | \pard\nowidctlpar\fi-357\li1792\sb120\sa120\tx1800\f2\'b7\tab\f0 others have the right to modify it.\par
33 | \pard\nowidctlpar\fi-357\li357\sb120\sa120\tx360\b\caps\f3\fs20 3.\tab\f0\fs19 Scope of License\caps0\f1 .\b0\f0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\b\f1\par
34 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\b0\f2\'b7\tab\f0 work around any technical limitations in the software;\f1\par
35 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\f2\'b7\tab\f0 reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;\f1\par
36 | \f2\'b7\tab\f0 make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;\f1\par
37 | \f2\'b7\tab\f0 publish the software for others to copy;\f1\par
38 | \f2\'b7\tab\f0 rent, lease or lend the software; or\f1\par
39 | \f2\'b7\tab\f0 use the software for commercial software hosting services\f1 .\par
40 | \pard\nowidctlpar\fi-357\li357\sb120\sa120\tx360\b\f3\fs20 4.\tab\f0\fs19 BACKUP COPY.\b0 You may make one backup copy of the software. You may use it only to reinstall the software.\b\f1\par
41 | \f3\fs20 5.\tab\f0\fs19 DOCUMENTATION.\b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\b\f1\par
42 | \f3\fs20 6.\tab\f0\fs19 TRANSFER TO A THIRD PARTY.\b0 The first user of the software may transfer it and this agreement directly to a third party. Before the transfer, that party must agree that this agreement applies to the transfer and use of the software. The first user must uninstall the software before transferring it separately from the device. The first user may not retain any copies.\b\f1\par
43 | \caps\f3\fs20 7.\tab\f0\fs19 Export Restrictions\caps0\f1 .\b0\f0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\field{\*\fldinst{HYPERLINK "www.microsoft.com/exporting"}}{\fldrslt{\ul\cf1 www.microsoft.com/exporting}}}\f1\fs19 .\b\par
44 | \caps\f3\fs20 8.\tab\f0\fs19 SUPPORT SERVICES.\caps0 \b0 Because this software is \ldblquote as is,\rdblquote we may not provide support services for it.\b\f1\par
45 | \caps\f3\fs20 9.\tab\f0\fs19 Entire Agreement.\b0\caps0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par
46 | \cf2\b\caps\f3\fs20 10.\tab\f0\fs19 Applicable Law\caps0\f1 .\par
47 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\cf0\f3\fs20 a.\tab\f0\fs19 United States.\b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\b\f1\par
48 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\f3\fs20 b.\tab\f0\fs19 Outside the United States.\b0 If you acquired the software in any other country, the laws of that country apply.\b\f1\par
49 | \pard\nowidctlpar\fi-357\li357\sb120\sa120\tx360\caps\f3\fs20 11.\tab\f0\fs19 Legal Effect.\b0\caps0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\b\caps\f1\par
50 | \f3\fs20 12.\tab\f0\fs19 Disclaimer of Warranty.\caps0 \caps The software is licensed \ldblquote as-is.\rdblquote You bear the risk of using it. Microsoft gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this agreement cannot change. To the extent permitted under your local laws, Microsoft excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.\par
51 | \pard\nowidctlpar\fi-360\li360\sb120\sa120\tx360\f3\fs20 13.\tab\f0\fs19 Limitation on and Exclusion of Remedies and Damages. You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.\par
52 | \pard\nowidctlpar\li357\sb120\sa120\b0\caps0 This limitation applies to\par
53 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\f2\'b7\tab\f0 anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par
54 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\f2\'b7\tab\f0 claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par
55 | \pard\nowidctlpar\li360\sb120\sa120 It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\f1\par
56 | }
57 |
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/Private/System.Data.SqlServerCe.Entity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/Private/System.Data.SqlServerCe.Entity.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/Private/System.Data.SqlServerCe.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/Private/System.Data.SqlServerCe.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/REDIST_ENU.TXT:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/REDIST_ENU.TXT
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/ReadmeSSCE35_ENU.htm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/ReadmeSSCE35_ENU.htm
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/System.Data.SqlServerCe.Entity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/System.Data.SqlServerCe.Entity.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/sqlceca35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/sqlceca35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/sqlcecompact35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/sqlcecompact35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/sqlceer35EN.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/sqlceer35EN.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/sqlceme35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/sqlceme35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/sqlceoledb35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/sqlceoledb35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/sqlceqp35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/sqlceqp35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x64/sqlcese35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x64/sqlcese35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/Desktop/System.Data.SqlServerCe.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/Desktop/System.Data.SqlServerCe.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/EULA_ENU.rtf:
--------------------------------------------------------------------------------
1 | {\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\froman\fprq2\fcharset2 Symbol;}{\f3\fswiss\fprq2\fcharset0 Trebuchet MS;}}
2 | {\colortbl ;\red0\green0\blue255;\red0\green0\blue0;}
3 | {\stylesheet{ Normal;}{\s1 heading 1;}{\s2 heading 2;}{\s3 heading 3;}}
4 | {\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\nowidctlpar\sb120\sa120\b\f0\fs28 MICROSOFT SOFTWARE LICENSE TERMS\par
5 | \pard\brdrb\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 MICROSOFT SQL SERVER COMPACT 3.5 WITH SERVICE PACK 2\f1\par
6 | \pard\nowidctlpar\sb120\sa120\b0\f0\fs19 These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft\par
7 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\f2\'b7\tab\f0 updates,\par
8 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\f2\'b7\tab\f0 supplements,\par
9 | \f2\'b7\tab\f0 Internet-based services, and \par
10 | \f2\'b7\tab\f0 support services\par
11 | \pard\nowidctlpar\sb120\sa120 for this software, unless other terms accompany those items. If so, those terms apply.\par
12 | \b BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.\par
13 | \pard\brdrt\brdrs\brdrw10\brsp20 \nowidctlpar\sb120\sa120 If you comply with these license terms, you have the rights below.\par
14 | \pard\nowidctlpar\fi-357\li357\sb120\sa120\tx360\f3\fs20 1.\tab\f0\fs19 INSTALLATION AND USE RIGHTS. \b0 You may install and use any number of copies of the software on your devices\f1 .\b\par
15 | \f3\fs20 2.\tab\f0\fs19 ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.\par
16 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\f3\fs20 a.\tab\f0\fs19 Distributable Code.\b0 The software contains code that you are permitted to distribute in programs you develop if you comply with the terms below.\b\f1\par
17 | \pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\tx1440\f0\fs20 i.\tab\fs19 Right to Use and Distribute.\b0 The code and text files listed below are \ldblquote Distributable Code.\rdblquote\b\f1\par
18 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\tx1437\b0\f2\'b7\tab\ul\f0 REDIST.TXT Files\ulnone . You may copy and distribute the object code form of code listed in REDIST.TXT files.\ul\f1\par
19 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\ulnone\f2\'b7\tab\ul\f0 Third Party Distribution\ulnone . You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.\ul\f1\par
20 | \pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\tx1440\ulnone\b\f0\fs20 ii.\tab\fs19 Distribution Requirements\b0\f1 .\f0 For any Distributable Code you distribute, you must\b\f1\par
21 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\tx1437\b0\f2\'b7\tab\f0 add significant primary functionality to it in your programs;\par
22 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\f2\'b7\tab\f0 require distributors and external end users to agree to terms that protect it at least as much as this agreement; \par
23 | \f2\'b7\tab\f0 display your valid copyright notice on your programs; and\par
24 | \f2\'b7\tab\f0 indemnify, defend, and hold harmless Microsoft from any claims, including attorneys\rquote fees, related to the distribution or use of your programs.\par
25 | \pard\nowidctlpar\s3\fi-357\li1077\sb120\sa120\tx1077\tx1440\b\fs20 iii.\tab\fs19 Distribution Restrictions. \b0 You may not\b\f1\par
26 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\tx1437\b0\f2\'b7\tab\f0 alter any copyright, trademark or patent notice in the Distributable Code; \par
27 | \pard\nowidctlpar\fi-358\li1435\sb120\sa120\f2\'b7\tab\f0 use Microsoft\rquote s trademarks in your programs\rquote names or in a way that suggests your programs come from or are endorsed by Microsoft; \par
28 | \f2\'b7\tab\f0 distribute Distributable Code to run on a platform other than the Windows platform;\par
29 | \f2\'b7\tab\f0 include Distributable Code in malicious, deceptive or unlawful programs; or\par
30 | \f2\'b7\tab\f0 modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that\par
31 | \pard\nowidctlpar\fi-357\li1792\sb120\sa120\tx1795\f2\'b7\tab\f0 the code be disclosed or distributed in source code form; or \par
32 | \pard\nowidctlpar\fi-357\li1792\sb120\sa120\tx1800\f2\'b7\tab\f0 others have the right to modify it.\par
33 | \pard\nowidctlpar\fi-357\li357\sb120\sa120\tx360\b\caps\f3\fs20 3.\tab\f0\fs19 Scope of License\caps0\f1 .\b0\f0 The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not\b\f1\par
34 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\b0\f2\'b7\tab\f0 work around any technical limitations in the software;\f1\par
35 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\f2\'b7\tab\f0 reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;\f1\par
36 | \f2\'b7\tab\f0 make more copies of the software than specified in this agreement or allowed by applicable law, despite this limitation;\f1\par
37 | \f2\'b7\tab\f0 publish the software for others to copy;\f1\par
38 | \f2\'b7\tab\f0 rent, lease or lend the software; or\f1\par
39 | \f2\'b7\tab\f0 use the software for commercial software hosting services\f1 .\par
40 | \pard\nowidctlpar\fi-357\li357\sb120\sa120\tx360\b\f3\fs20 4.\tab\f0\fs19 BACKUP COPY.\b0 You may make one backup copy of the software. You may use it only to reinstall the software.\b\f1\par
41 | \f3\fs20 5.\tab\f0\fs19 DOCUMENTATION.\b0 Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.\b\f1\par
42 | \f3\fs20 6.\tab\f0\fs19 TRANSFER TO A THIRD PARTY.\b0 The first user of the software may transfer it and this agreement directly to a third party. Before the transfer, that party must agree that this agreement applies to the transfer and use of the software. The first user must uninstall the software before transferring it separately from the device. The first user may not retain any copies.\b\f1\par
43 | \caps\f3\fs20 7.\tab\f0\fs19 Export Restrictions\caps0\f1 .\b0\f0 The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see {\field{\*\fldinst{HYPERLINK "www.microsoft.com/exporting"}}{\fldrslt{\ul\cf1 www.microsoft.com/exporting}}}\f1\fs19 .\b\par
44 | \caps\f3\fs20 8.\tab\f0\fs19 SUPPORT SERVICES.\caps0 \b0 Because this software is \ldblquote as is,\rdblquote we may not provide support services for it.\b\f1\par
45 | \caps\f3\fs20 9.\tab\f0\fs19 Entire Agreement.\b0\caps0 This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.\par
46 | \cf2\b\caps\f3\fs20 10.\tab\f0\fs19 Applicable Law\caps0\f1 .\par
47 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\cf0\f3\fs20 a.\tab\f0\fs19 United States.\b0 If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.\b\f1\par
48 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\f3\fs20 b.\tab\f0\fs19 Outside the United States.\b0 If you acquired the software in any other country, the laws of that country apply.\b\f1\par
49 | \pard\nowidctlpar\fi-357\li357\sb120\sa120\tx360\caps\f3\fs20 11.\tab\f0\fs19 Legal Effect.\b0\caps0 This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.\b\caps\f1\par
50 | \f3\fs20 12.\tab\f0\fs19 Disclaimer of Warranty.\caps0 \caps The software is licensed \ldblquote as-is.\rdblquote You bear the risk of using it. Microsoft gives no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this agreement cannot change. To the extent permitted under your local laws, Microsoft excludes the implied warranties of merchantability, fitness for a particular purpose and non-infringement.\par
51 | \pard\nowidctlpar\fi-360\li360\sb120\sa120\tx360\f3\fs20 13.\tab\f0\fs19 Limitation on and Exclusion of Remedies and Damages. You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00. You cannot recover any other damages, including consequential, lost profits, special, indirect or incidental damages.\par
52 | \pard\nowidctlpar\li357\sb120\sa120\b0\caps0 This limitation applies to\par
53 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\tx720\f2\'b7\tab\f0 anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and\par
54 | \pard\nowidctlpar\fi-363\li720\sb120\sa120\f2\'b7\tab\f0 claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.\par
55 | \pard\nowidctlpar\li360\sb120\sa120 It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.\f1\par
56 | }
57 |
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/Private/System.Data.SqlServerCe.Entity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/Private/System.Data.SqlServerCe.Entity.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/Private/System.Data.SqlServerCe.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/Private/System.Data.SqlServerCe.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/REDIST_ENU.TXT:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/REDIST_ENU.TXT
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/ReadmeSSCE35_ENU.htm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/ReadmeSSCE35_ENU.htm
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/System.Data.SqlServerCe.Entity.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/System.Data.SqlServerCe.Entity.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/sqlceca35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/sqlceca35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/sqlcecompact35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/sqlcecompact35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/sqlceer35EN.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/sqlceer35EN.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/sqlceme35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/sqlceme35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/sqlceoledb35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/sqlceoledb35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/sqlceqp35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/sqlceqp35.dll
--------------------------------------------------------------------------------
/Dependencies/SQLCEv3.5-x86/sqlcese35.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Dependencies/SQLCEv3.5-x86/sqlcese35.dll
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 | 
3 | [](https://www.buymeacoffee.com/christianhelle)
4 |
5 | # SQL Compact Query Analyzer
6 | A SQL Server Compact Edition Database Query Analyzer
7 |
8 | #### Download latest release [here](https://github.com/christianhelle/sqlcequery/releases/latest)
9 |
10 |
11 | *Features:*
12 |
13 | - Create new database
14 | - Automatically refresh database upon executing create/alter/drop table queries
15 | - Displays database information (database version, filename, size, creation date)
16 | - Displays schema summary (number of tables, columns, primary keys, identity fields, nullable fields)
17 | - Displays the information schema views
18 | - Displays column information (database type, clr type, max length, allows null, etc)
19 | - Displays index information (column name, is unique, is clustered)
20 | - Execute SQL Queries against a SQL Server Compact Edition database
21 | - Execute multiple SQL queries (delimited by a semi colon ;)
22 | - Easily edit the contents of the database
23 | - Display query result as XML
24 | - Shrink and Compact Databases
25 | - SDF file association with SQL Compact Query Analyzer for launching directly by opening the SDF in Windows Explorer
26 | - Displays thumbnails for IMAGE fields
27 | - Generates Schema and Data Scripts
28 | - Supports password protected databases
29 | - Supports SQLCE 3.0, 3.1, 3.5 and 4.0
30 |
31 | *Coming at some point:*
32 | - Purge database content
33 | - Create, edit, and drop tables UI
34 | - Create, edit, and delete table references and indexes UI
35 | - Support for SQL Server Compact Edition 2.0
36 |
37 |
38 | *Screenshots*
39 |
40 | 
41 | - Displays database and schema information and executes multiple SQL queries directly
42 |
43 | 
44 | - Edit the table data directly
45 |
46 | 
47 | - Display the contents of IMAGE fields
48 |
49 | 
50 | - Performance numbers for queries
51 |
52 | 
53 | - Query errors
54 |
55 | 
56 | - Output result set as XML
57 |
58 | 
59 | - Create new database
60 |
61 | 
62 | - Shrink, compact, script database
63 |
64 | *Prerequisites:*
65 | - .NET Framework 4.0
66 |
67 |
68 | For tips and tricks on mobile development, check out [my blog](https://christianhelle.com)
69 |
70 | If you find this useful and feel a bit generous then feel free to [buy me a coffee ☕](https://www.buymeacoffee.com/christianhelle)
71 |
--------------------------------------------------------------------------------
/Screenshots/ContentWithImages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Screenshots/ContentWithImages.png
--------------------------------------------------------------------------------
/Screenshots/CreateDatabase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Screenshots/CreateDatabase.png
--------------------------------------------------------------------------------
/Screenshots/DatabaseInfo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Screenshots/DatabaseInfo.png
--------------------------------------------------------------------------------
/Screenshots/EditTable.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Screenshots/EditTable.png
--------------------------------------------------------------------------------
/Screenshots/QueryResultErrors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Screenshots/QueryResultErrors.png
--------------------------------------------------------------------------------
/Screenshots/QueryResultMessages.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Screenshots/QueryResultMessages.png
--------------------------------------------------------------------------------
/Screenshots/ResultsAsXml.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Screenshots/ResultsAsXml.png
--------------------------------------------------------------------------------
/Screenshots/Shrink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Screenshots/Shrink.png
--------------------------------------------------------------------------------
/Source/.config/dotnet-tools.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 1,
3 | "isRoot": true,
4 | "tools": {
5 | "cake.tool": {
6 | "version": "4.0.0",
7 | "commands": [
8 | "dotnet-cake"
9 | ]
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/Source/ChocolatelyPackages/sqlcequery.nuspec:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 | sqlcequery
26 |
27 |
28 |
29 | 1.0.0
30 |
31 |
32 | Christian Helle
33 | SQL Compact Query Analyzer
34 | Christian Helle
35 | https://github.com/christianhelle/sqlcequery
36 | http://cdn.rawgit.com/christianhelle/sqlcequery/master/icons/sqlcequery.png
37 | Christian Resma Helle 2010
38 | https://raw.githubusercontent.com/christianhelle/sqlcequery/master/LICENSE
39 | false
40 | https://github.com/christianhelle/sqlcequery
41 | https://github.com/christianhelle/sqlcequery/blob/master/README.md
42 | https://github.com/christianhelle/sqlcequery/issues
43 | sqlce database sdf compact-databases
44 | A SQL Server Compact Edition Database Query Analyzer
45 | A fast and lightweight tool for querying and manipulating SQLCE databases. This tool supports SQLCE versions 3.0, 3.1, 3.5 and 4.0
46 |
47 |
48 |
49 |
50 |
58 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/Source/ChocolatelyPackages/tools/chocolateybeforemodify.ps1:
--------------------------------------------------------------------------------
1 | # This runs in 0.9.10+ before upgrade and uninstall.
2 | # Use this file to do things like stop services prior to upgrade or uninstall.
3 | # NOTE: It is an anti-pattern to call chocolateyUninstall.ps1 from here. If you
4 | # need to uninstall an MSI prior to upgrade, put the functionality in this
5 | # file without calling the uninstall script. Make it idempotent in the
6 | # uninstall script so that it doesn't fail when it is already uninstalled.
7 | # NOTE: For upgrades - like the uninstall script, this script always runs from
8 | # the currently installed version, not from the new upgraded package version.
9 |
10 |
--------------------------------------------------------------------------------
/Source/ChocolatelyPackages/tools/chocolateyinstall.ps1:
--------------------------------------------------------------------------------
1 | $sqlcequeryDir = "$env:ALLUSERSPROFILE\chocolatey\lib\sqlcequery"
2 | # $sqlcequeryExe = "$sqlcequeryDir\tools\QueryAnalyzer.exe"
3 | # Install-ChocolateyFileAssociation ".sdf" $sqlcequeryExe
4 |
5 | cmd /c assoc .sdf=sqlcedbfile
6 | cmd /c ftype sqlcedbfile=QueryAnalyzer.exe -File `"QueryAnalyzer.exe`" `"%1`"
7 |
8 | $WshShell = New-Object -comObject WScript.Shell
9 | $Shortcut = $WshShell.CreateShortcut("$Home\Desktop\SQL Compact Query Analyzer (x64).lnk")
10 | $Shortcut.TargetPath = "$sqlcequeryDir\tools\QueryAnalyzer.exe"
11 | $Shortcut.Save()
12 |
--------------------------------------------------------------------------------
/Source/ChocolatelyPackages/tools/chocolateyuninstall.ps1:
--------------------------------------------------------------------------------
1 | Remove-Item "$Home\Desktop\SQL Compact Query Analyzer (x64).lnk"
2 |
3 |
--------------------------------------------------------------------------------
/Source/Editor/App.xaml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Source/Editor/App.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer
4 | {
5 | ///
6 | /// Interaction logic for App.xaml
7 | ///
8 | public partial class App : Application
9 | {
10 | public App()
11 | {
12 | System.Windows.Forms.Application.EnableVisualStyles();
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Source/Editor/Controls/DataGridViewEx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Drawing;
3 | using System.Windows.Forms;
4 |
5 | namespace ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer.Controls
6 | {
7 | public sealed class DataGridViewEx : DataGridView
8 | {
9 | private Font italicFont;
10 | private Font normalFont;
11 |
12 | public DataGridViewEx()
13 | {
14 | DoubleBuffered = true;
15 | italicFont = new Font(Font.FontFamily, Font.Size, FontStyle.Italic);
16 | normalFont = Font;
17 |
18 | DefaultCellStyle.NullValue = "NULL";
19 | }
20 |
21 | public override Font Font
22 | {
23 | get { return base.Font; }
24 | set
25 | {
26 | base.Font = value;
27 | italicFont = new Font(Font.FontFamily, Font.Size, FontStyle.Italic);
28 | normalFont = Font;
29 | }
30 | }
31 |
32 | protected override void OnCellFormatting(DataGridViewCellFormattingEventArgs e)
33 | {
34 | e.CellStyle.Font = e.Value == DBNull.Value ? italicFont : normalFont;
35 | e.CellStyle.ForeColor = e.Value == DBNull.Value ? SystemColors.GrayText : SystemColors.WindowText;
36 | base.OnCellFormatting(e);
37 | }
38 |
39 | protected override void OnDataBindingComplete(DataGridViewBindingCompleteEventArgs e)
40 | {
41 | base.OnDataBindingComplete(e);
42 | AutoResizeColumnHeadersHeight();
43 | }
44 | }
45 | }
--------------------------------------------------------------------------------
/Source/Editor/Controls/ResultsContainer.cs:
--------------------------------------------------------------------------------
1 | using System.Windows.Forms;
2 |
3 | namespace ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer.Controls
4 | {
5 | public sealed class ResultsContainer : TableLayoutPanel
6 | {
7 | public void Clear()
8 | {
9 | foreach (Control control in Controls)
10 | control.Dispose();
11 | Controls.Clear();
12 | }
13 |
14 | public int Count { get { return Controls.Count; } }
15 |
16 | public void Add(DataGridViewEx dataGrid)
17 | {
18 | dataGrid.DataError += (sender, e) => e.ThrowException = false;
19 | dataGrid.ReadOnly = true;
20 | dataGrid.Dock = DockStyle.Fill;
21 | Controls.Add(dataGrid);
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Source/Editor/Misc/SavedFileInfo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 |
3 | namespace ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer.Misc
4 | {
5 | ///
6 | /// contains info about saved database file - including password
7 | ///
8 | [Serializable]
9 | public class SavedFileInfo
10 | {
11 | private string _password;
12 | private const string EncryptKey = "BDEA0710-5AE3-426A-AFE3-ED4EBEB9E9E8";
13 |
14 | public SavedFileInfo()
15 | {
16 | }
17 |
18 | public SavedFileInfo(string filePath, string password = null)
19 | {
20 | FilePath = filePath;
21 | Password = password;
22 | }
23 |
24 | public string FilePath { get; set; }
25 |
26 | public string Password
27 | {
28 | get => string.IsNullOrEmpty(_password) ? _password : StringEncryptionHelper.Decrypt(_password, EncryptKey);
29 | set => _password = string.IsNullOrEmpty(value) ? value : StringEncryptionHelper.Encrypt(value, EncryptKey);
30 | }
31 | }
32 | }
--------------------------------------------------------------------------------
/Source/Editor/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Resources;
3 | using System.Runtime.CompilerServices;
4 | using System.Runtime.InteropServices;
5 | using System.Windows;
6 |
7 | // General Information about an assembly is controlled through the following
8 | // set of attributes. Change these attribute values to modify the information
9 | // associated with an assembly.
10 | [assembly: AssemblyTitle("SQL Compact Query Analyzer")]
11 | [assembly: AssemblyDescription("Database management and query analyzer tool for SQL Server Compact Edition")]
12 | [assembly: AssemblyConfiguration("")]
13 | [assembly: AssemblyCompany("Christian Resma Helle")]
14 | [assembly: AssemblyProduct("SQL Compact Query Analyzer")]
15 | [assembly: AssemblyCopyright("Copyright © Christian Resma Helle 2010")]
16 | [assembly: AssemblyTrademark("")]
17 | [assembly: AssemblyCulture("")]
18 |
19 | // Setting ComVisible to false makes the types in this assembly not visible
20 | // to COM components. If you need to access a type in this assembly from
21 | // COM, set the ComVisible attribute to true on that type.
22 | [assembly: ComVisible(false)]
23 |
24 | //In order to begin building localizable applications, set
25 | //CultureYouAreCodingWith in your .csproj file
26 | //inside a . For example, if you are using US english
27 | //in your source files, set the to en-US. Then uncomment
28 | //the NeutralResourceLanguage attribute below. Update the "en-US" in
29 | //the line below to match the UICulture setting in the project file.
30 |
31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32 |
33 |
34 | [assembly: ThemeInfo(
35 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
36 | //(used if a resource is not found in the page,
37 | // or application resource dictionaries)
38 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
39 | //(used if a resource is not found in the page,
40 | // app, or any theme specific resource dictionaries)
41 | )]
42 |
43 |
44 | // Version information for an assembly consists of the following four values:
45 | //
46 | // Major Version
47 | // Minor Version
48 | // Build Number
49 | // Revision
50 | //
51 | // You can specify all the values or you can default the Build and Revision Numbers
52 | // by using the '*' as shown below:
53 | [assembly: AssemblyVersion("1.0.*")]
54 |
--------------------------------------------------------------------------------
/Source/Editor/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.6.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 |
26 | [global::System.Configuration.UserScopedSettingAttribute()]
27 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
28 | [global::System.Configuration.DefaultSettingValueAttribute("True")]
29 | public bool DisplayResultsInGrid {
30 | get {
31 | return ((bool)(this["DisplayResultsInGrid"]));
32 | }
33 | set {
34 | this["DisplayResultsInGrid"] = value;
35 | }
36 | }
37 |
38 | [global::System.Configuration.UserScopedSettingAttribute()]
39 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
40 | [global::System.Configuration.DefaultSettingValueAttribute("False")]
41 | public bool DisplayResultsAsXml {
42 | get {
43 | return ((bool)(this["DisplayResultsAsXml"]));
44 | }
45 | set {
46 | this["DisplayResultsAsXml"] = value;
47 | }
48 | }
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Source/Editor/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | True
7 |
8 |
9 | False
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Source/Editor/Resources/AboutLogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Source/Editor/Resources/AboutLogo.png
--------------------------------------------------------------------------------
/Source/Editor/Resources/Database.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/christianhelle/sqlcequery/87d598ff136d967bbd702149d60c2f2a3554244f/Source/Editor/Resources/Database.ico
--------------------------------------------------------------------------------
/Source/Editor/Resources/SQL-Mode.xshd:
--------------------------------------------------------------------------------
1 |
2 |
7 |
9 |
10 |
12 |
13 |
17 |
18 |
19 | &<>~!%^*()-+=|\#/{}[]:;"' , .?
20 |
25 | '
26 | '
27 |
28 |
33 | --
34 |
35 |
40 | /*
41 | */
42 |
43 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
58 |
59 |
60 |
64 |
65 |
66 |
67 |
68 |
72 |
73 |
74 |
75 |
76 |
77 |
81 |
82 |
83 |
84 |
85 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
--------------------------------------------------------------------------------
/Source/Editor/View/AboutBox.xaml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
10 |
11 | More Info
12 |
13 |
14 |
15 |
16 |
24 |
27 |
39 |
42 |
45 |
49 |
56 |
63 |
64 |
65 |
66 |
68 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
79 |
81 |
82 |
84 |
90 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/Source/Editor/View/AboutBox.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Diagnostics;
3 | using System.IO;
4 | using System.Reflection;
5 | using System.Windows;
6 | using System.Windows.Data;
7 | using System.Xml;
8 |
9 | namespace ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer.View
10 | {
11 | ///
12 | /// Interaction logic for AboutBox.xaml
13 | ///
14 | public partial class AboutBox : Window
15 | {
16 | ///
17 | /// Default constructor is protected so callers must use one with a parent.
18 | ///
19 | protected AboutBox()
20 | {
21 | InitializeComponent();
22 | }
23 |
24 | ///
25 | /// Constructor that takes a parent for this AboutBox dialog.
26 | ///
27 | /// Parent window for this dialog.
28 | public AboutBox(Window parent)
29 | : this()
30 | {
31 | this.Owner = parent;
32 | }
33 |
34 | ///
35 | /// Handles click navigation on the hyperlink in the About dialog.
36 | ///
37 | /// Object the sent the event.
38 | /// Navigation events arguments.
39 | private void hyperlink_RequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e)
40 | {
41 | if (e.Uri != null && string.IsNullOrEmpty(e.Uri.OriginalString) == false)
42 | {
43 | string uri = e.Uri.AbsoluteUri;
44 | Process.Start(new ProcessStartInfo(uri));
45 | e.Handled = true;
46 | }
47 | }
48 |
49 | #region AboutData Provider
50 | #region Member data
51 | private XmlDocument xmlDoc = null;
52 |
53 | private const string propertyNameTitle = "Title";
54 | private const string propertyNameDescription = "Description";
55 | private const string propertyNameProduct = "Product";
56 | private const string propertyNameCopyright = "Copyright";
57 | private const string propertyNameCompany = "Company";
58 | private const string xPathRoot = "ApplicationInfo/";
59 | private const string xPathTitle = xPathRoot + propertyNameTitle;
60 | private const string xPathVersion = xPathRoot + "Version";
61 | private const string xPathDescription = xPathRoot + propertyNameDescription;
62 | private const string xPathProduct = xPathRoot + propertyNameProduct;
63 | private const string xPathCopyright = xPathRoot + propertyNameCopyright;
64 | private const string xPathCompany = xPathRoot + propertyNameCompany;
65 | private const string xPathLink = xPathRoot + "Link";
66 | private const string xPathLinkUri = xPathRoot + "Link/@Uri";
67 | #endregion
68 |
69 | #region Properties
70 | ///
71 | /// Gets the title property, which is display in the About dialogs window title.
72 | ///
73 | public string ProductTitle
74 | {
75 | get
76 | {
77 | string result = CalculatePropertyValue(propertyNameTitle, xPathTitle);
78 | if (string.IsNullOrEmpty(result))
79 | {
80 | // otherwise, just get the name of the assembly itself.
81 | result = Path.GetFileNameWithoutExtension(Assembly.GetExecutingAssembly().CodeBase);
82 | }
83 | return result;
84 | }
85 | }
86 |
87 | ///
88 | /// Gets the application's version information to show.
89 | ///
90 | public string Version
91 | {
92 | get
93 | {
94 | string result = string.Empty;
95 | // first, try to get the version string from the assembly.
96 | Version version = Assembly.GetExecutingAssembly().GetName().Version;
97 | if (version != null)
98 | {
99 | result = version.ToString();
100 | }
101 | else
102 | {
103 | // if that fails, try to get the version from a resource in the Application.
104 | result = GetLogicalResourceString(xPathVersion);
105 | }
106 | return result;
107 | }
108 | }
109 |
110 | ///
111 | /// Gets the description about the application.
112 | ///
113 | public string Description
114 | {
115 | get { return CalculatePropertyValue(propertyNameDescription, xPathDescription); }
116 | }
117 |
118 | ///
119 | /// Gets the product's full name.
120 | ///
121 | public string Product
122 | {
123 | get { return CalculatePropertyValue(propertyNameProduct, xPathProduct); }
124 | }
125 |
126 | ///
127 | /// Gets the copyright information for the product.
128 | ///
129 | public string Copyright
130 | {
131 | get { return CalculatePropertyValue(propertyNameCopyright, xPathCopyright); }
132 | }
133 |
134 | ///
135 | /// Gets the product's company name.
136 | ///
137 | public string Company
138 | {
139 | get { return CalculatePropertyValue(propertyNameCompany, xPathCompany); }
140 | }
141 |
142 | ///
143 | /// Gets the link text to display in the About dialog.
144 | ///
145 | public string LinkText
146 | {
147 | get { return GetLogicalResourceString(xPathLink); }
148 | }
149 |
150 | ///
151 | /// Gets the link uri that is the navigation target of the link.
152 | ///
153 | public string LinkUri
154 | {
155 | get { return GetLogicalResourceString(xPathLinkUri); }
156 | }
157 | #endregion
158 |
159 | #region Resource location methods
160 | ///
161 | /// Gets the specified property value either from a specific attribute, or from a resource dictionary.
162 | ///
163 | /// Attribute type that we're trying to retrieve.
164 | /// Property name to use on the attribute.
165 | /// XPath to the element in the XML data resource.
166 | /// The resulting string to use for a property.
167 | /// Returns null if no data could be retrieved.
168 | private string CalculatePropertyValue(string propertyName, string xpathQuery)
169 | {
170 | string result = string.Empty;
171 | // first, try to get the property value from an attribute.
172 | object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(T), false);
173 | if (attributes.Length > 0)
174 | {
175 | T attrib = (T)attributes[0];
176 | PropertyInfo property = attrib.GetType().GetProperty(propertyName, BindingFlags.Public | BindingFlags.Instance);
177 | if (property != null)
178 | {
179 | result = property.GetValue(attributes[0], null) as string;
180 | }
181 | }
182 |
183 | // if the attribute wasn't found or it did not have a value, then look in an xml resource.
184 | if (result == string.Empty)
185 | {
186 | // if that fails, try to get it from a resource.
187 | result = GetLogicalResourceString(xpathQuery);
188 | }
189 | return result;
190 | }
191 |
192 | ///
193 | /// Gets the XmlDataProvider's document from the resource dictionary.
194 | ///
195 | protected virtual XmlDocument ResourceXmlDocument
196 | {
197 | get
198 | {
199 | if (xmlDoc == null)
200 | {
201 | // if we haven't already found the resource XmlDocument, then try to find it.
202 | XmlDataProvider provider = this.TryFindResource("aboutProvider") as XmlDataProvider;
203 | if (provider != null)
204 | {
205 | // save away the XmlDocument, so we don't have to get it multiple times.
206 | xmlDoc = provider.Document;
207 | }
208 | }
209 | return xmlDoc;
210 | }
211 | }
212 |
213 | ///
214 | /// Gets the specified data element from the XmlDataProvider in the resource dictionary.
215 | ///
216 | /// An XPath query to the XML element to retrieve.
217 | /// The resulting string value for the specified XML element.
218 | /// Returns empty string if resource element couldn't be found.
219 | protected virtual string GetLogicalResourceString(string xpathQuery)
220 | {
221 | string result = string.Empty;
222 | // get the About xml information from the resources.
223 | XmlDocument doc = this.ResourceXmlDocument;
224 | if (doc != null)
225 | {
226 | // if we found the XmlDocument, then look for the specified data.
227 | XmlNode node = doc.SelectSingleNode(xpathQuery);
228 | if (node != null)
229 | {
230 | if (node is XmlAttribute)
231 | {
232 | // only an XmlAttribute has a Value set.
233 | result = node.Value;
234 | }
235 | else
236 | {
237 | // otherwise, need to just return the inner text.
238 | result = node.InnerText;
239 | }
240 | }
241 | }
242 | return result;
243 | }
244 | #endregion
245 | #endregion
246 | }
247 | }
248 |
--------------------------------------------------------------------------------
/Source/Editor/View/CreateDatabaseWindow.xaml:
--------------------------------------------------------------------------------
1 |
13 |
14 |
19 |
26 |
35 |
43 |
48 |
53 |
59 |
64 |
71 |
72 |
74 |
75 |
76 |
81 |
89 |
90 |
91 |
--------------------------------------------------------------------------------
/Source/Editor/View/CreateDatabaseWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System.Windows;
2 |
3 | namespace ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer.View
4 | {
5 | ///
6 | /// Interaction logic for CreateDatabase.xaml
7 | ///
8 | public partial class CreateDatabaseWindow : Window
9 | {
10 | public CreateDatabaseWindow()
11 | {
12 | InitializeComponent();
13 | }
14 |
15 | private void btnCancel_Click(object sender, RoutedEventArgs e)
16 | {
17 | Close();
18 | }
19 |
20 | private void btnOk_Click(object sender, RoutedEventArgs e)
21 | {
22 | DialogResult = true;
23 | Close();
24 | }
25 |
26 | private void CreateDatabaseWindow_OnLoaded(object sender, RoutedEventArgs e)
27 | {
28 | tbFilename.Focus();
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Source/Editor/View/MainWindow.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 | using System.Text;
4 | using System.Windows;
5 | using System.Windows.Forms;
6 | using System.Windows.Input;
7 | using ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer.ViewModel;
8 | using Application = System.Windows.Application;
9 | using DragDropEffects = System.Windows.DragDropEffects;
10 | using DragEventArgs = System.Windows.DragEventArgs;
11 | using KeyEventArgs = System.Windows.Input.KeyEventArgs;
12 | using MessageBox = System.Windows.MessageBox;
13 | using TreeView = System.Windows.Controls.TreeView;
14 |
15 | namespace ChristianHelle.DatabaseTools.SqlCe.QueryAnalyzer.View
16 | {
17 | ///
18 | /// Interaction logic for MainWindow.xaml
19 | ///
20 | public partial class MainWindow : Window
21 | {
22 | bool dirty;
23 |
24 | public MainWindow()
25 | {
26 | InitializeComponent();
27 | }
28 |
29 | private MainViewModel ViewModel
30 | {
31 | get { return ((MainViewModel)DataContext); }
32 | }
33 |
34 | static void SafeOperation(Action annonymousMethod)
35 | {
36 | try
37 | {
38 | annonymousMethod.Invoke();
39 | }
40 | catch (Exception e)
41 | {
42 | #if DEBUG
43 | MessageBox.Show(e.ToString(), "Unexpected Error");
44 | #else
45 | MessageBox.Show(e.Message, "Unexpected Error");
46 | #endif
47 | }
48 | }
49 |
50 | private void Window_Loaded(object sender, RoutedEventArgs e)
51 | {
52 | SafeOperation(() =>
53 | {
54 | ViewModel.Load();
55 | ViewModel.ResultsContainer = resultsContainer;
56 | ViewModel.TableDataGrid = tableDataGrid;
57 | ViewModel.TablePropertiesGrid = tablePropertiesGrid;
58 |
59 | if (!ViewModel.LaunchedWithArgument)
60 | ViewModel.OpenDatabase();
61 | else
62 | ViewModel.ProcessCommandLineArguments();
63 | });
64 | }
65 |
66 | private void ExecuteQuery_Click(object sender, RoutedEventArgs e)
67 | {
68 | SafeOperation(() => ViewModel.ExecuteQuery(editor.SelectedText));
69 | }
70 |
71 | private void Window_KeyUp(object sender, KeyEventArgs e)
72 | {
73 | SafeOperation(() =>
74 | {
75 | switch (e.Key)
76 | {
77 | case Key.F5:
78 | ViewModel.ExecuteQuery(editor.SelectedText);
79 | break;
80 | case Key.F1:
81 | new AboutBox(this).ShowDialog();
82 | break;
83 | }
84 | });
85 | }
86 |
87 | private void About_Click(object sender, RoutedEventArgs e)
88 | {
89 | new AboutBox(this).ShowDialog();
90 | }
91 |
92 | private void Open_Click(object sender, RoutedEventArgs e)
93 | {
94 | SafeOperation(() => ViewModel.OpenDatabase());
95 | }
96 |
97 | //private void DataGrid_CellEditEnding(object sender, DataGridCellEditEndingEventArgs e)
98 | //{
99 | // dirty = true;
100 | //}
101 |
102 | //private void DataGrid_SelectedCellsChanged(object sender, SelectedCellsChangedEventArgs e)
103 | //{
104 | // SafeOperation(() =>
105 | // {
106 | // if (!dirty) return;
107 | // ViewModel.SaveTableDataChanges();
108 | // dirty = false;
109 | // });
110 | //}
111 |
112 | private void Window_Drop(object sender, DragEventArgs e)
113 | {
114 | SafeOperation(() => ViewModel.LoadDroppedFile(e.Data));
115 | }
116 |
117 | private void Shrink_Click(object sender, RoutedEventArgs e)
118 | {
119 | SafeOperation(() => ViewModel.ShrinkDatabase());
120 | }
121 |
122 | private void Compact_Click(object sender, RoutedEventArgs e)
123 | {
124 | SafeOperation(() => ViewModel.CompactDatabase());
125 | }
126 |
127 | private void Exit_Click(object sender, RoutedEventArgs e)
128 | {
129 | Application.Current.Shutdown();
130 | }
131 |
132 | private void TreeView_SelectedItemChanged(object sender, RoutedPropertyChangedEventArgs