DatabaseMapper.Core
1.0.0
MetaSql.Parser has been decoupled from DatabaseMapper.Core
dotnet add package DatabaseMapper.Core --version 1.0.0
NuGet\Install-Package DatabaseMapper.Core -Version 1.0.0
<PackageReference Include="DatabaseMapper.Core" Version="1.0.0" />
paket add DatabaseMapper.Core --version 1.0.0
#r "nuget: DatabaseMapper.Core, 1.0.0"
// Install DatabaseMapper.Core as a Cake Addin #addin nuget:?package=DatabaseMapper.Core&version=1.0.0 // Install DatabaseMapper.Core as a Cake Tool #tool nuget:?package=DatabaseMapper.Core&version=1.0.0
DatabaseMapper
DatabaseMapper é uma ferramenta que mapeia a estrutura de entidades de um banco de dados em um grafo usando queries SQL. Isso permite que você visualize a estrutura do banco de dados de uma forma gráfica e eventualmente rode algoritmos úteis sobre grafos na estrutura do banco de dados.
Uso
Para usar o DatabaseMapper, você pode executar a aplicação console através do terminal com os seguintes argumentos:
DatabaseMapper.Console.exe -s <arquivos-queries-sql> -f <nome-arquivos-saída> [-o <diretório-saída>] [-i <arquivo-base-grafo>] [-v]
Argumentos:
-i, --input-graph
(Opcional): Especifica o caminho para um arquivo com um grafo inicial. Este arquivo já contém a representação de um banco através de um grafo o que permite que o mapeamento seja incremental.-o, --output-dir
(Opcional): Especifica o diretório onde os arquivos de saída serão gerados após o processamento. Os arquivos de saída incluirão um arquivo no formato.graph
e um arquivo no formato.dot
para a visualização do grafo gerado.-f, --output-filename
(Obrigatório): Define o nome dos arquivos de exportação gerados após o processamento. Ex.:--output-filename=batata
indica que os arquivosbatata.graph
ebatata.dot
serão gerados em--output-dir
ao final do processamento.-s, --source-files
(Obrigatório): Especifica os arquivos contendo queries SQL a serem processadas. Você pode fornecer uma lista de arquivos separados por vírgulas.-v, --verbose
(Opcional): Habilita o modo verboso, imprimindo todas as mensagens na saída padrão. Use este argumento para obter informações detalhadas durante o processo.
Exemplos de Uso
Aqui estão alguns exemplos de como usar o DatabaseMapper:
Executar o DatabaseMapper com um arquivo de grafo de entrada, especificando um diretório de saída e arquivos de queries SQL
Para executar o DatabaseMapper com um arquivo de grafo de entrada, você deve fornecer o caminho para o arquivo de entrada (grafo), especificar o diretório onde os arquivos de saída serão gerados e fornecer os arquivos de queries SQL a serem processados. Você também pode habilitar o modo verboso para obter informações detalhadas durante o processo. Aqui está um exemplo:
DatabaseMapper.Console.exe -i graph_input.graph -o output_directory -f output_filename -s query1.sql,query2.sql
Executar o DatabaseMapper com arquivos de queries SQL e habilitar o modo verboso
DatabaseMapper.Console.exe -s query1.sql,query2.sql -v
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Antlr4.Runtime (>= 4.6.6)
- QuikGraph (>= 2.5.0)
- QuikGraph.Graphviz (>= 2.5.0)
- QuikGraph.Serialization (>= 2.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.0 | 179 | 1/18/2024 |