ExcelMapper
Attribute that specifies the mapping of a property to a column in an Excel file.
Initializes a new instance of the class.
The name of the column.
Initializes a new instance of the class.
The index of the column.
Gets the name of the column.
The name of the column.
Gets the index of the column.
The index of the column.
Attribute that specifies the data format of an Excel cell.
The format can either be a builtin format
or a custom format string.
Gets or sets the builtin format, see https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/BuiltinFormats.html for possible values.
The builtin format.
Gets or sets the custom format, see https://support.office.com/en-nz/article/Create-or-delete-a-custom-number-format-78f2a361-936b-4c03-8772-09fab54be7f4 for the syntax.
The custom format.
Initializes a new instance of the class.
The format, see https://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/BuiltinFormats.html for possible values.
Initializes a new instance of the class.
The format, see https://support.office.com/en-nz/article/Create-or-delete-a-custom-number-format-78f2a361-936b-4c03-8772-09fab54be7f4 for the syntax.
Map objects to Excel files.
Gets or sets the factory.
Default is a static object that caches s statically across instances.
The factory.
Gets or sets a value indicating whether the Excel file contains a header row of column names. Default is true.
true if the Excel file contains a header row; otherwise, false.
Gets or sets the row number of the header row. Default is 0.
The header row may be outside of the range of and .
The header row number.
Gets or sets the minimum row number of the rows that may contain data. Default is 0.
The minimum row number.
Gets or sets the inclusive maximum row number of the rows that may contain data. Default is .
The maximum row number.
Gets or sets a value indicating whether to track objects read from the Excel file. Default is true.
If object tracking is enabled, the object keeps track of objects it yields through the Fetch() methods.
You can then modify these objects and save them back to an Excel file without having to specify the list of objects to save.
true if object tracking is enabled; otherwise, false.
Gets or sets a value indicating whether to skip blank rows when reading from Excel files. Default is true.
true if blank lines are skipped; otherwise, false.
Initializes a new instance of the class.
Initializes a new instance of the class.
The workbook.
Initializes a new instance of the class.
The path to the Excel file.
Initializes a new instance of the class.
The stream the Excel file is read from.
Fetches objects from the specified sheet name.
The type of objects the Excel file is mapped to.
The path to the Excel file.
Name of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet name.
The type of objects the Excel file is mapped to.
The path to the Excel file.
Name of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index.
The type of objects the Excel file is mapped to.
The path to the Excel file.
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index.
The type of objects the Excel file is mapped to.
The path to the Excel file.
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet name.
The type of objects the Excel file is mapped to.
The stream the Excel file is read from.
Name of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet name.
The type of objects the Excel file is mapped to.
The stream the Excel file is read from.
Name of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index.
The type of objects the Excel file is mapped to.
The stream the Excel file is read from.
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index.
The type of objects the Excel file is mapped to.
The stream the Excel file is read from.
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet name.
The type of objects the Excel file is mapped to.
Name of the sheet.
The objects read from the Excel file.
Thrown when a sheet is not found
Fetches objects from the specified sheet name.
The type of objects the Excel file is mapped to.
Name of the sheet.
The objects read from the Excel file.
Thrown when a sheet is not found
Fetches objects from the specified sheet index.
The type of objects the Excel file is mapped to.
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index.
The type of objects the Excel file is mapped to
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet name using async I/O.
The type of objects the Excel file is mapped to.
The path to the Excel file.
Name of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet name using async I/O.
The type of objects the Excel file is mapped to.
The path to the Excel file.
Name of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index using async I/O.
The type of objects the Excel file is mapped to.
The path to the Excel file.
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index using async I/O.
The type of objects the Excel file is mapped to.
The path to the Excel file.
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet name using async I/O.
The type of objects the Excel file is mapped to.
The stream the Excel file is read from.
Name of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet name using async I/O.
The type of objects the Excel file is mapped to.
The stream the Excel file is read from.
Name of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index using async I/O.
The type of objects the Excel file is mapped to.
The stream the Excel file is read from.
Index of the sheet.
The objects read from the Excel file.
Fetches objects from the specified sheet index using async I/O.
The type of objects the Excel file is mapped to.
The stream the Excel file is read from.
Index of the sheet.
The objects read from the Excel file.
Saves the specified objects to the specified Excel file.
The type of objects to save.
The path to the Excel file.
The objects to save.
Name of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves the specified objects to the specified Excel file.
The type of objects to save.
The path to the Excel file.
The objects to save.
Index of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves the specified objects to the specified stream.
The type of objects to save.
The stream to save the objects to.
The objects to save.
Name of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves the specified objects to the specified stream.
The type of objects to save.
The stream to save the objects to.
The objects to save.
Index of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves tracked objects to the specified Excel file.
The path to the Excel file.
Name of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves tracked objects to the specified Excel file.
The path to the Excel file.
Index of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves tracked objects to the specified stream.
The stream to save the objects to.
Name of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves tracked objects to the specified stream.
The stream to save the objects to.
Index of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves the specified objects to the specified Excel file using async I/O.
The type of objects to save.
The path to the Excel file.
The objects to save.
Name of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves the specified objects to the specified Excel file using async I/O.
The type of objects to save.
The path to the Excel file.
The objects to save.
Index of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves the specified objects to the specified stream using async I/O.
The type of objects to save.
The stream to save the objects to.
The objects to save.
Name of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves the specified objects to the specified stream using async I/O.
The type of objects to save.
The stream to save the objects to.
The objects to save.
Index of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves tracked objects to the specified Excel file using async I/O.
The path to the Excel file.
Name of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves tracked objects to the specified Excel file using async I/O.
The path to the Excel file.
Index of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves tracked objects to the specified stream using async I/O.
The stream to save the objects to.
Name of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Saves tracked objects to the specified stream using async I/O.
The stream to save the objects to.
Index of the sheet.
if set to true saves in .xlsx format; otherwise, saves in .xls format.
Adds a mapping from a column name to a property.
Name of the column.
The property expression.
Adds a mapping from a column index to a property.
Index of the column.
The property expression.
Adds a mapping from a column name to a property.
The type that contains the property to map to.
Name of the column.
Name of the property.
Adds a mapping from a column name to a property.
The type that contains the property to map to.
Index of the column.
Name of the property.
Ignores a property.
The property expression.
Ignores a property.
The type that contains the property to map to.
Name of the property.
Represents an error that occurs when conversion of a cell value to the mapped property type fails.
Gets the original cell value.
The original cell value.
Gets the type of the property that the cell is mapped to.
The type of the property that the cell is mapped to.
Gets the line number of the cell where the error occurred.
The line number of the cell where the error occurred.
Gets the column number of the cell where the error occurred.
The column number of the cell where the error occurred.
Initializes a new instance of the class.
Initializes a new instance of the class.
The message the describes the error.
Initializes a new instance of the class.
The message the describes the error.
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Initializes a new instance of the class.
The value of the cell where the error occurred.
The type of the property the cell is mapped to.
The line number of the cell where the error occurred.
The column number of the cell where the error occurred.
Initializes a new instance of the class.
The value of the cell where the error occurred.
The type of the property the cell is mapped to.
The line number of the cell where the error occurred.
The column number of the cell where the error occurred.
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Initializes a new instance of the class with serialized data.
The object that holds the serialized data.
The contextual information about the source or destination.
Sets the with information about the exception.
The that holds the serialized object data about the exception being thrown.
The that contains contextual information about the source or destination.
Attribute which specifies that the formula result instead of the formula should be mapped.
This applies only to string properties, as for all other types the result will be mapped.
Attribute that specifies that a property should be ignored.
A caching factory of objects.
Creates a for the specified type.
The type to create a object for.
A for the specified type.
Describes the mapping of a property to a cell in an Excel sheet.
Gets or sets the property.
The property.
Gets a value indicating whether the property is nullable.
true if the property is nullable; otherwise, false.
Gets the type of the property.
The type of the property.
Gets or sets the cell setter.
The cell setter.
Gets or sets the property setter.
The property setter.
Gets or sets the builtin format.
The builtin format.
Gets or sets the custom format.
The custom format.
Gets or sets a value indicating whether to map the formula result.
true if the formula result will be mapped; otherwise, false.
Sets the column style.
The sheet.
Index of the column.
Sets the cell style.
The cell.
Sets the property of the specified object to the specified value.
The object whose property to set.
The value.
Gets the property value of the specified object.
The o.
Specifies a method to use when setting the cell value from an object.
The method to use when setting the cell value from an object.
The object.
Specifies a method to use when setting the property value from the cell value.
The method to use when setting the property value from the cell value.
The object.
Selects formula results to be mapped instead of the formula itself.
The object.
Initializes a new instance of the class.
The property information.
Maps a 's properties to columns in an Excel sheet.
Gets or sets the columns by name.
The dictionary of columns by name.
Gets or sets the columns by index.
The dictionary of columns by index.
Creates a object from the specified type.
The type.
A object.
Gets the for the specified column name.
The column name.
A object or null if no exists for the specified column name.
Gets the for the specified column index.
The column index.
A object or null if no exists for the specified column index.
A caching factory of objects.
Creates a for the specified type.
The type to create a object for.
A for the specified type.