correccion plantillas
This commit is contained in:
@@ -340,13 +340,6 @@ public partial class <#= Options.ContextName #> : DbContext
|
||||
mainEnvironment = GenerationEnvironment;
|
||||
GenerationEnvironment = new StringBuilder();
|
||||
|
||||
WriteLine("// <auto-generated> This file has been auto generated by EF Core Power Tools. </autogenerated>");
|
||||
if (Options.UseNullableReferenceTypes)
|
||||
{
|
||||
WriteLine("#nullable enable");
|
||||
}
|
||||
WriteLine("");
|
||||
|
||||
foreach (var ns in usings.Distinct().OrderBy(x => x, new NamespaceComparer()))
|
||||
{
|
||||
#>
|
||||
|
||||
@@ -28,7 +28,8 @@
|
||||
var usings = new List<string>
|
||||
{
|
||||
"System",
|
||||
"System.Collections.Generic"
|
||||
"System.Collections.Generic",
|
||||
"PropertyChanged"
|
||||
};
|
||||
|
||||
if (Options.UseDataAnnotations)
|
||||
@@ -65,6 +66,7 @@ namespace <#= NamespaceHint #>;
|
||||
}
|
||||
}
|
||||
#>
|
||||
[AddINotifyPropertyChangedInterface]
|
||||
public partial class <#= EntityType.Name #>
|
||||
{
|
||||
<#
|
||||
@@ -161,13 +163,6 @@ public partial class <#= EntityType.Name #>
|
||||
var previousOutput = GenerationEnvironment;
|
||||
GenerationEnvironment = new StringBuilder();
|
||||
|
||||
WriteLine("// <auto-generated> This file has been auto generated by EF Core Power Tools. </autogenerated>");
|
||||
if (Options.UseNullableReferenceTypes)
|
||||
{
|
||||
WriteLine("#nullable enable");
|
||||
}
|
||||
WriteLine("");
|
||||
|
||||
foreach (var ns in usings.Distinct().OrderBy(x => x, new NamespaceComparer()))
|
||||
{
|
||||
#>
|
||||
|
||||
Reference in New Issue
Block a user