This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
!Deploy Cross Platform support (Only SQL is supported xPlat. MDB and ESE are not) * Removed Microsoft.Isam.Esent.Interop from RequiredAssemblies * Load Microsoft.Isam.Esent.Interop when available * removed RetrieveColumnAsGuid and moved properties to RetrieveColumnAsString as something broke on latest w10 insiders * Fix ad-hoc mdb database access did not process as PreProc was missing MDB logic
- Loading branch information
Showing
8 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
DSCPullServerAdmin/private/Assert-DSCPullServerESEPreReq.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
function Assert-DSCPullServerESEPreReq { | ||
# see if type is already available, don't load when already loaded | ||
if ($null -eq ('Microsoft.Isam.Esent.Interop.Api'-as [type])) { | ||
# try to load | ||
try { | ||
[void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.Isam.Esent.Interop') | ||
} catch { | ||
Write-Error -Message 'To access EDB files, please use PowerShell on Windows' -ErrorAction Stop | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters