diff --git a/Dbml2Ef/Dbml2Ef.csproj b/Dbml2Ef/Dbml2Ef.csproj index 32ef0dc..f8c4a49 100644 --- a/Dbml2Ef/Dbml2Ef.csproj +++ b/Dbml2Ef/Dbml2Ef.csproj @@ -6,7 +6,7 @@ enable latest true - 0.1.4 + 0.1.5 dbml2ef net5.0;net6.0;netcoreapp3.1 @@ -14,7 +14,7 @@ Cinorid.dbml2ef Cinorid.dbml2ef - 0.1.4 + 0.1.5 Cinorid (AhmadReza Saghari) README.md linq2sql or Visual Studio DBML file to Entity Framework models converter diff --git a/Dbml2Ef/Program.cs b/Dbml2Ef/Program.cs index 8783689..47ca197 100644 --- a/Dbml2Ef/Program.cs +++ b/Dbml2Ef/Program.cs @@ -105,7 +105,7 @@ private static void GenerateModelClass(Database dbModelDatabase, string namespac { foreach (var table in dbModelDatabase.Tables) { - var fileName = table.Name + ".cs"; + var fileName = table.Type + ".cs"; Console.WriteLine($"Generating {fileName}"); var strBuilder = new StringBuilder();