Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cinorid committed May 7, 2023
1 parent 2a72416 commit ab04f8c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dbml2Ef/Dbml2Ef.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<PackAsTool>true</PackAsTool>
<AssemblyVersion>0.1.2</AssemblyVersion>
<AssemblyVersion>0.1.3</AssemblyVersion>
<AssemblyName>dbml2ef</AssemblyName>
</PropertyGroup>

<PropertyGroup>
<Title>Cinorid.dbml2ef</Title>
<PackageId>Cinorid.dbml2ef</PackageId>
<Version>0.1.2</Version>
<Version>0.1.3</Version>
<Authors>Cinorid (AhmadReza Saghari)</Authors>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Summary>linq2sql or Visual Studio DBML file to Entity Framework models converter</Summary>
Expand Down
4 changes: 2 additions & 2 deletions Dbml2Ef/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,11 @@ private static void GenerateDataContextClass(Database dbModelDatabase, string na
strBuilder.AppendLine($"{namespaceIndentation}public partial class {contextName} : DbContext");
strBuilder.AppendLine($"{namespaceIndentation}{{"); // begin class

strBuilder.AppendLine($"{namespaceIndentation} public HematoCountContext()");
strBuilder.AppendLine($"{namespaceIndentation} public {contextName}()");
strBuilder.AppendLine($"{namespaceIndentation} {{");
strBuilder.AppendLine($"{namespaceIndentation} }}");
strBuilder.AppendLine($"{namespaceIndentation} ");
strBuilder.AppendLine($"{namespaceIndentation} public HematoCountContext(DbContextOptions<HematoCountContext> options)");
strBuilder.AppendLine($"{namespaceIndentation} public {contextName}(DbContextOptions<{contextName}> options)");
strBuilder.AppendLine($"{namespaceIndentation} : base(options)");
strBuilder.AppendLine($"{namespaceIndentation} {{");
strBuilder.AppendLine($"{namespaceIndentation} }}");
Expand Down

0 comments on commit ab04f8c

Please sign in to comment.