File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
EntityFramework.Reverse.POCO.Generator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ foreach(var usingStatement in usingsContext.Distinct().OrderBy(x => x)) { #>
209209<# } #>
210210<#if(IncludeCodeGeneratedAttribute){#> <#=CodeGeneratedAttribute#>
211211<#}#>
212- public <# if(MakeClassesPartial) { #>partial <# } #>class <#=DbContextName#> : <#=DbContextBaseClass#>, <#=DbContextInterfaceName#>
212+ public <# if(MakeClassesPartial) { #>partial <# } #>class <#=DbContextName#> : <#=DbContextBaseClass#><#= (string.IsNullOrEmpty ( DbContextInterfaceName)?"": ", " + DbContextInterfaceName) #>
213213 {
214214<#
215215foreach(Table tbl in from t in tables.Where(t => !t.IsMapping && t.HasPrimaryKey).OrderBy(x => x.NameHumanCase) select t)
@@ -504,7 +504,7 @@ foreach(var usingStatement in usingsContext.Distinct().OrderBy(x => x)) { #>
504504<# } #>
505505<#if(IncludeCodeGeneratedAttribute){#> <#=CodeGeneratedAttribute#>
506506<#}#>
507- public <# if(MakeClassesPartial) { #>partial <# } #>class Fake<#=DbContextName #> : <#=DbContextInterfaceName #>
507+ public <# if(MakeClassesPartial) { #>partial <# } #>class Fake<#=DbContextName #><#= (string.IsNullOrEmpty ( DbContextInterfaceName)? "" : " : " + DbContextInterfaceName) #>
508508 {
509509<#
510510foreach (Table tbl in from t in tables.Where(t => !t.IsMapping && t.HasPrimaryKey).OrderBy(x => x.NameHumanCase) select t)
You can’t perform that action at this time.
0 commit comments