Browse Source

If XLDataType.Blank type is string?, fixed #2

Piotr Czajkowski 2 months ago
parent
commit
253815afbd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      CodeGenerators/GeneratorForExcelORM/GeneratorCmd.cs

+ 1 - 0
CodeGenerators/GeneratorForExcelORM/GeneratorCmd.cs

@@ -25,6 +25,7 @@ internal sealed class GeneratorCmd : Command<GeneratorCmd.Settings>
         {
             XLDataType.Number => "double?",
             XLDataType.Text => "string?",
+            XLDataType.Blank => "string?",
             XLDataType.DateTime => "DateTime?",
             XLDataType.TimeSpan => "TimeSpan?",
             _ => throw new Exception($"Can't match {type}!")