FreeSql.Tools
FreeSql.Tools copied to clipboard
Multilanguage
bro, you done great job. But why you dont offer multi language. why this one is only in Chinese ?
At present, there are only Chinese documents, and if more people need it, then English will be considered. Thank you!
English please!
English please!
You can use Chrome to translate web pages.
Simplified Chinese -> English
English please!
You can use Chrome to translate web pages.
Simplified Chinese -> English
Yes, but i mean the app...
@eduardocp
Sorry, you can install the dotnet-tool:
dotnet tool install -g FreeSql.Generator
Installation environment: Command.exe 、.NET Core 3.1
Translation content:
# Github # https://github.com/2881099/FreeSql v1.8.1
FreeSQL quickly generates entity class of database
Update tool: dotnet tool update - G FreeSql.Generator
#Quick start#
> FreeSql.Generator -Razor 1 -NameOptions 0,0,0,0 -NameSpace MyProject -DB "MySql,Data Source=127.0.0.1;..."
-Razor 1 * select template: entity class + properties
-Razor 2 * selection template: entity class + attribute + navigation attribute
-Razor "d:\ diy.cshtml" * custom template file
-Nameoptions * four Boolean values correspond to:
Title case
Capital letters, other lowercase letters
All lowercase
Underline to hump
-Namespace * namespace
-DB "mysql,ConnectionString"
-DB "sqlserver,ConnectionString"
-DB "PostgreSQL,ConnectionString"
-DB "Oracle,ConnectionString"
-DB "Sqlite,ConnectionString"
-DB "Firebird,ConnectionString"
-DB "Dameng,ConnectionString"
-DB "kingbaseES,ConnectionString"
-DB "ShenTong,ConnectionString"
-Filter Table+View+StoreProcedure
Default generation: Table+View+StoredProcedure,
If you do not want to generate views and stored procedures -Filter View+StoredProcedure
-Match regular expression. Only matching tables are generated, such as dbo\.TB_+.
-File name, default: {name}. CS
-Output save path, default to the current shell directory
It is recommended to create in the entity class directory gen.bat , double-click it to reset all entity classes
@2881099
Thanks, I used the dotnet-tool, it worked for me. Sorry for the delay in the response.