diff --git a/src/FluentCommand.Generators/DataReaderFactoryWriter.cs b/src/FluentCommand.Generators/DataReaderFactoryWriter.cs
index abee259e..c719ba27 100644
--- a/src/FluentCommand.Generators/DataReaderFactoryWriter.cs
+++ b/src/FluentCommand.Generators/DataReaderFactoryWriter.cs
@@ -11,9 +11,8 @@ public static string Generate(EntityClass entityClass)
var codeBuilder = new IndentedStringBuilder();
codeBuilder
- .AppendLine("// ")
- .AppendLine("// Generated by the FluentCommand source generator.")
- .AppendLine("// ")
+ .AppendLine("// ")
+ .AppendLine("#nullable enable")
.AppendLine()
.AppendLine("using global::FluentCommand.Extensions;")
.AppendLine();