LinqToExcel icon indicating copy to clipboard operation
LinqToExcel copied to clipboard

Add excel column

Open iozcelik opened this issue 8 years ago • 1 comments

Using LinqToExcel, I try to add custom column in excel sheet. I use this column to validate mapping and transaction status of row. For example in excel worksheet, there is a column which name is "IsVirtual" and I map an entity which contains that property. That's ok until I need a transaction and this transaction result. If user write Yes, I know it is true but if user write "OK" that is not valid for my transaction. So I need to log and shown my user, it is not valid, the program is not import that row. Reason of I explain, I need a custom column. How I do it?

iozcelik avatar Nov 12 '16 13:11 iozcelik

Ok I change my question a little. I need a method like: public static void AddTransformation<TSheetData>(Func<TSheetData,object> property,Func<string,TSheetData,object> transformation)

iozcelik avatar Nov 13 '16 15:11 iozcelik