FreeSql.Tools icon indicating copy to clipboard operation
FreeSql.Tools copied to clipboard

Multilanguage

Open ersintarhan opened this issue 4 years ago • 6 comments

bro, you done great job. But why you dont offer multi language. why this one is only in Chinese ?

ersintarhan avatar Oct 07 '19 00:10 ersintarhan

At present, there are only Chinese documents, and if more people need it, then English will be considered. Thank you!

2881099 avatar Oct 07 '19 02:10 2881099

English please!

eduardocp avatar Sep 15 '20 22:09 eduardocp

English please!

You can use Chrome to translate web pages.

Simplified Chinese -> English

2881099 avatar Sep 16 '20 06:09 2881099

English please!

You can use Chrome to translate web pages.

Simplified Chinese -> English

Yes, but i mean the app...

eduardocp avatar Sep 16 '20 11:09 eduardocp

@eduardocp

Sorry, you can install the dotnet-tool:

dotnet tool install -g FreeSql.Generator

Installation environment: Command.exe 、.NET Core 3.1

image

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 avatar Sep 17 '20 06:09 2881099

@2881099

Thanks, I used the dotnet-tool, it worked for me. Sorry for the delay in the response.

eduardocp avatar Oct 01 '20 11:10 eduardocp