1 Star 0 Fork 0

xieguigang / mysqli.vb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Reflector.md 2.20 KB
一键复制 编辑 原始数据 按行查看 历史
xieguigang 提交于 2016-08-28 18:24 . doc man improvements

Reflector [version 1.0.0.0]

Tools for convert the mysql schema dump sql script into VisualBasic classes source code.

Reflector __ Copyright © 2015

Module AssemblyName: file:///G:/GCModeller/src/runtime/visualbasic.DBI/Reflector/bin/Publish/Reflector.exe Root namespace: Reflector.CLIProgram

All of the command that available in this program has been list below:

Function API Info
--export.dump
--reflects Automatically generates visualbasic source code from the MySQL database schema dump.

CLI API list


1. --export.dump

Prototype: Reflector.CLIProgram::Int32 ExportDumpDir(Microsoft.VisualBasic.CommandLine.CommandLine)

Usage
Reflector --export.dump [-o <out_dir> /namespace <namespace> --dir <source_dir>]
Example
Reflector

2. --reflects

Automatically generates visualbasic source code from the MySQL database schema dump. Prototype: Reflector.CLIProgram::Int32 ReflectsConvert(Microsoft.VisualBasic.CommandLine.CommandLine)

Usage
Reflector --reflects /sql <sql_path/std_in> [-o <output_path> /namespace <namespace> /split]
Example
Reflector --reflects /sql ./test.sql /split /namespace ExampleNamespace

Parameters information:

/sql

The file path of the MySQL database schema dump file.

Example
[-o]

The output file path of the generated visual basic source code file from the SQL dump file "/sql"

Example
[/namespace]

The namespace value will be insert into the generated source code if this parameter is not null.

Example
[/split]

Split the source code into sevral files and named by table name?

Example
Accepted Types
/sql

Decalre: System.String Example:

"System.String"
-o

Decalre: System.String Example:

"System.String"
/namespace

Decalre: System.String Example:

"System.String"
/split

Decalre: System.Boolean Example:

true
1
https://gitee.com/xieguigang/mysqli.vb.git
git@gitee.com:xieguigang/mysqli.vb.git
xieguigang
mysqli.vb
mysqli.vb
master

搜索帮助