Skip to content

Commit

Permalink
Merge pull request #89 from Eficaz-Sistemas/master
Browse files Browse the repository at this point in the history
Outra correção dos generators para MySql
  • Loading branch information
HClausing authored Jan 3, 2024
2 parents 49a94cc + 37ef654 commit 64e02c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<IsRoslynComponent>true</IsRoslynComponent>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<IncludeBuildOutput>false</IncludeBuildOutput>
<AssemblyVersion>6.2.2.0</AssemblyVersion>
<FileVersion>6.2.2.0</FileVersion>
<AssemblyVersion>6.2.3.0</AssemblyVersion>
<FileVersion>6.2.3.0</FileVersion>
<NeutralLanguage>pt-BR</NeutralLanguage>
<RepositoryUrl>https://github.com/Eficaz-Sistemas/EficazFramework</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand All @@ -16,7 +16,7 @@
<Copyright>Copyright © 2024. Eficaz Sistemas de Gestão e Inteligência Tributária Ltda.</Copyright>
<Description>Roslyn code generators for EficazFramework.</Description>
<Company>Eficaz Sistemas de Gestão e Inteligência Tributária</Company>
<Version>6.2.2</Version>
<Version>6.2.3</Version>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>EfCore.snk</AssemblyOriginatorKeyFile>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void GenerateForMySqlOrMariaDb(StringBuilder code, Models.EfModel.ModelClass mod
builder.Append($".ValueGenerated{prop.ValueGenerated}()");

if (prop.Identity)
builder.Append($".UseMySqlIdentityColumn(\"\")");
builder.Append($".UseMySqlIdentityColumn()");

if (prop.IsRequired)
builder.Append(".IsRequired()");
Expand Down

0 comments on commit 64e02c7

Please sign in to comment.