mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- FreeSql.Generator 支持 core 2.1 2.2 3.0 3.1
This commit is contained in:
@ -218,7 +218,7 @@ new Colorful.Formatter("推荐在实体类目录创建 gen.bat,双击它重新
|
||||
var rebuildBat = ArgsOutput + "__重新生成.bat";
|
||||
if (File.Exists(rebuildBat) == false)
|
||||
{
|
||||
File.WriteAllText(rebuildBat, @$"
|
||||
File.WriteAllText(rebuildBat, $@"
|
||||
FreeSql.Generator -Razor {ArgsRazorRaw} -NameOptions {string.Join(",", ArgsNameOptions.Select(a => a ? 1 : 0))} -NameSpace {ArgsNameSpace} -DB ""{ArgsDbType},{ArgsConnectionString}""
|
||||
");
|
||||
Console.WriteFormatted(" OUT -> " + rebuildBat + " (以后) 双击它重新生成实体\r\n", Color.Magenta);
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<TargetFrameworks>netcoreapp3.1;netcoreapp3.0;netcoreapp2.2;netcoreapp2.1</TargetFrameworks>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<IsPackable>true</IsPackable>
|
||||
<PackAsTool>true</PackAsTool>
|
||||
<Authors>2881099</Authors>
|
||||
<Company>2881099</Company>
|
||||
<Product>FreeSql123</Product>
|
||||
<Product>FreeSql</Product>
|
||||
<Description>使用 FreeSql 快速生成数据库的实体类,安装:dotnet tool install -g FreeSql.Generator</Description>
|
||||
<PackageProjectUrl>https://github.com/2881099/FreeSql</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/2881099/FreeSql</RepositoryUrl>
|
||||
|
Reference in New Issue
Block a user