ZAExcelModels
ZAExcelToModel is a free project to map excel data into model the form more easier. use Automapper and LinqToExcel package nuGet. Example for implementation: var iEnumerableModel = "c:\\Excel.xlxs".ToModel<ModelExample>("WorkSheetName"); NOTE: 1.- The param "WorkSheetExample" is the name exactly of page in excel file. 2.- In .csproj you need add the next code for delete a warning in .Net Core. Example: <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <NoWarn>NU1701</NoWarn> </PropertyGroup> 3.- If column name into excel has spaces, this delete and return without space. Example: - Excel File: Columns: [Data] [Data With Names] [Money] - Data Model: public string Data { get; set; } public string DataWithNames { get ; set; } public decimal Money { get; set; }
Activity
- Latest release
- 5y ago
- Total releases
- 1
- Cadence
- —
- Last 12 months
- 0
Details
- First release
- Feb 14, 2021
| Version | Released | |
|---|---|---|
1.0.0
initial
|
1.0.0
initial
Dependencies (3)
|