From 76c864f440767c04d5b076f0ff75e45acb6c50b6 Mon Sep 17 00:00:00 2001 From: Raul Chavez <12390016+rChavz@users.noreply.github.com> Date: Mon, 17 Jul 2023 01:16:52 -0600 Subject: [PATCH] Update ColumnInfo.cs set FormulaResult as default with this you prevent to need set attribute for all properties if you don't know witch excel cell has formula --- ExcelMapper/ColumnInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExcelMapper/ColumnInfo.cs b/ExcelMapper/ColumnInfo.cs index c0ba0a0..6953a48 100644 --- a/ExcelMapper/ColumnInfo.cs +++ b/ExcelMapper/ColumnInfo.cs @@ -157,7 +157,7 @@ public bool IsSubType /// /// true if the formula result will be mapped; otherwise, false. /// - public bool FormulaResult { get; set; } + public bool FormulaResult { get; set; } = true; /// /// Gets or sets a value indicating whether to save the property as a formula cell. Only needed when saving.