LinqToExcel
Represents a cell and its value in an excel spreadsheet
Cell's value
Casts the cell's value to the generic argument type
Object type to convert to
Cell's value as a string
Allow cell to be implicitly cast to a string
Cell's value
Cells contained within the row
Add a column to property mapping
Class type to return row data as
Class property to map to
Worksheet column name to map from
Add a column to property mapping
Class property to map to
Worksheet column name to map from
Add a column to property mapping with a transformation operation
Class type to return row data as
Class property to map to
Worksheet column name to map from
Lambda expression that transforms a cell value in the spreadsheet to the desired property value
Transforms a cell value in the spreadsheet to the desired property value
Class type to return row data as
Class property value to transform
Lambda expression that transforms a cell value in the spreadsheet to the desired property value
AddTransformation{Person}(p => p.IsActive, x => x == "Y");
AddTransformation{Person}(p => p.IsYoung, x => DateTime.Parse(x) > new DateTime(2000, 1, 1));
Enables Linq queries against an Excel worksheet
Class type to return row data as
Enables Linq queries against an Excel worksheet
Class type to return row data as
Name of the worksheet
Enables Linq queries against an Excel worksheet
Class type to return row data as
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet
Enables Linq queries against an Excel worksheet
Name of the worksheet
Enables Linq queries against an Excel worksheet
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet
Class type to return row data as
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Enables Linq queries against an Excel worksheet
Class type to return row data as
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Name of the worksheet
Enables Linq queries against an Excel worksheet
Class type to return row data as
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Enables Linq queries against an Excel worksheet
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Name of the worksheet
Enables Linq queries against an Excel worksheet
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet that does not have a header row
Enables Linq queries against an Excel worksheet that does not have a header row
Name of the worksheet
Enables Linq queries against an Excel worksheet that does not have a header row
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet that does not have a header row
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Enables Linq queries against an Excel worksheet that does not have a header row
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Name of the worksheet
Enables Linq queries against an Excel worksheet that does not have a header row
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against a workbook-scope named range
Class type to return row data as
Name of the workbook-scope named range
Enables Linq queries against a named range
Class type to return row data as
Name of the worksheet
Name of the named range
Enables Linq queries against a named range
Class type to return row data as
Worksheet index ordered by name, not position in the workbook
Name of the named range
Enables Linq queries against a workbook-scope named range
Name of the workbook-scope named range
Enables Linq queries against an Excel worksheet
Name of the worksheet
Name of the named range
Enables Linq queries against an Excel worksheet
Worksheet index ordered by name, not position in the workbook
Name of the named range
Enables Linq queries against a workbook-scope named range that does not have a header row
Name of the workbook-scope named range
Enables Linq queries against a named range that does not have a header row
Name of the worksheet
Name of the named range
Enables Linq queries against a named range that does not have a header row
Worksheet index ordered by name, not position in the workbook
Name of the named range
Returns a list of worksheet names that the spreadsheet contains
Returns a list of workbook-scope named ranges that the spreadsheet contains
Returns a list of worksheet-scope named ranges that the worksheet contains
Name of the worksheet
Returns a list of columns names that a named range contains
Worksheet name to get the list of column names from
Named Range name to get the list of column names from
Returns a list of columns names that a worksheet contains
Worksheet name to get the list of column names from
Full path to the Excel spreadsheet
Confirms all the worksheet columns are mapped to a property, and if not, throws a StrictMappingException
Indicates how to treat leading and trailing spaces in string values.
Sets the database engine to use (spreadsheets ending in xlsx, xlsm, xlsb will always use the Ace engine)
If true, uses a single, persistent connection for the lifetime of the factory.
If false, a new connection is created for each query
Default is false
Executes a query with a scalar result, i.e. a query that ends with a result operator such as Count, Sum, or Average.
Executes a query with a single result object, i.e. a query that ends with a result operator such as First, Last, Single, Min, or Max.
Executes a query with a collection result.
Executes the sql query and returns the data results
Data type in the main from clause (queryModel.MainFromClause.ItemType)
Linq query model
Logs a warning for any property to column mappings that do not exist in the excel worksheet
List of columns in the worksheet
Trims leading and trailing spaces, based on the value of _args.TrimSpaces
Input string value
Trimmed string value
Factory that facilitates the creation of an external log manager (i.e. log4net) to
allow internal methods of LinqToExcel to perform diagnostic logging.
Full path to the Excel spreadsheet
Full path to the Excel spreadsheet
Factory that facilitates the creation of an external log manager (i.e. log4net) to
allow internal methods of LinqToExcel to perform diagnostic logging.
Add a column to property mapping
Class type to return row data as
Class property to map to
Worksheet column name to map from
Add a column to property mapping
Class property to map to
Worksheet column name to map from
Add a column to property mapping with a transformation operation
Class type to return row data as
Class property to map to
Worksheet column name to map from
Lambda expression that transforms the original string value to the desired property value
Transforms a cell value in the spreadsheet to the desired property value
Class type to return row data as
Class property value to transform
Lambda expression that transforms the original string value to the desired property value
AddTransformation{Person}(p => p.IsActive, x => x == "Y");
AddTransformation{Person}(p => p.IsYoung, x => DateTime.Parse(x) > new DateTime(2000, 1, 1));
Returns a list of worksheet names that the spreadsheet contains
Returns a list of workbook-scope named ranges that the spreadsheet contains
Returns a list of worksheet-scope named ranges that the worksheet contains
Name of the worksheet
Returns a list of columns names that a worksheet contains
Worksheet name to get the list of column names from
Returns a list of columns names that a worksheet contains
Worksheet name to get the list of column names from
Named Range name to get the list of column names from
Enables Linq queries against an Excel worksheet
Class type to return row data as
Enables Linq queries against an Excel worksheet
Enables Linq queries against an Excel worksheet
Class type to return row data as
Name of the worksheet
Enables Linq queries against an Excel worksheet
Class type to return row data as
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet
Name of the worksheet
Enables Linq queries against an Excel worksheet
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet
Class type to return row data as
Enables Linq queries against an Excel worksheet
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Enables Linq queries against an Excel worksheet
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Name of the worksheet
Enables Linq queries against an Excel worksheet
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet
Class type to return row data as
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Name of the worksheet
Enables Linq queries against an Excel worksheet
Class type to return row data as
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet that does not have a header row
Enables Linq queries against an Excel worksheet that does not have a header row
Name of the worksheet
Enables Linq queries against an Excel worksheet that does not have a header row
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against an Excel worksheet that does not have a header row
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Enables Linq queries against an Excel worksheet that does not have a header row
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Name of the worksheet
Enables Linq queries against an Excel worksheet that does not have a header row
Upper left cell name of the range (eg 'B2')
Bottom right cell name of the range (eg 'D4')
Worksheet index ordered by name, not position in the workbook
Enables Linq queries against a workbook-scope named range
Class type to return row data as
Name of the workbook-scope named range
Enables Linq queries against a worksheet-scope named range
Class type to return row data as
Name of the worksheet
Name of the worksheet-scope named range
Enables Linq queries against a worksheet-scope named range
Class type to return row data as
Worksheet index ordered by name, not position in the workbook
Name of the worksheet-scope named range
Enables Linq queries against a workbook-scope named range
Name of the workbook-scope named range
Enables Linq queries against a worksheet-scope named range
Name of the worksheet
Name of the worksheet-scope named range
Enables Linq queries against a worksheet-scope named range
Worksheet index ordered by name, not position in the workbook
Name of the worksheet-scope named range
Enables Linq queries against a workbook-scope named range that does not have a header row
Name of the workbook-scope named range
Enables Linq queries against a worksheet-scope named range that does not have a header row
Worksheet index ordered by name, not position in the workbook
Name of the worksheet-scope named range
Enables Linq queries against a worksheet-scope named range that does not have a header row
Name of the worksheet
Name of the worksheet-scope named range
Enables Linq queries against an Excel worksheet
Class type to return row data as
Name of the worksheet
Full path to the Excel spreadsheet
Enables Linq queries against an Excel worksheet
Class type to return row data as
Worksheet index ordered by name, not position in the workbook
Full path to the Excel spreadsheet
Enables Linq queries against an Excel worksheet
Name of the worksheet
Full path to the Excel spreadsheet
Enables Linq queries against an Excel worksheet
Worksheet index ordered by name, not position in the workbook
Full path to the Excel spreadsheet
Enables Linq queries against an Excel worksheet
Name of the worksheet
Full path to the Excel spreadsheet
Column to property mappings
Enables Linq queries against an Excel worksheet
Worksheet index ordered by name, not position in the workbook
Full path to the Excel spreadsheet
Column to property mappings
Enables Linq queries against an Excel worksheet
Class type to return row data as
Name of the worksheet
Full path to the Excel spreadsheet
Column to property mappings
Enables Linq queries against an Excel worksheet
Class type to return row data as
Worksheet index ordered by name, not position in the workbook
Full path to the Excel spreadsheet
Column to property mappings
Full path to the Excel spreadsheet
Confirms all the worksheet columns are mapped to a property, and if not, throws a StrictMappingException
Indicates how to treat leading and trailing spaces in string values.
Opens the excel file in read-only mode
Sets the database engine to use
(Spreadsheets ending in xlsx, xlsm, and xlsb must use the Ace database engine)
(If running 64 bit this defaults to ACE (JET doesn't work anyway), if running 32 bit this detaults to JET)
If true, uses a single, persistent connection for the lifetime of the factory.
If false, a new connection is created for each query
Default is false
Sets the value of a property
Name of the property
Value to set the property to
Calls a method
Name of the method
Method arguments
Return value of the method
Class property and worksheet mapping enforcemment type.
All worksheet columns must map to a class property; all class properties must map to a worksheet columm.
All class properties must map to a worksheet column; other worksheet columns are ignored.
No checks are made to enforce worksheet column or class property mappings.
All worksheet columns must map to a class property; other class properties are ignored.
Indicates how to treat leading and trailing spaces in string values.
Do not perform any trimming.
Trim leading spaces from strings.
Trim trailing spaces from strings.
Trim leading and trailing spaces from strings.
This method is visited when the LinqToExcel.Row type is used in the query
Retrieves the column name from a member expression or method call expression
Expression
Retrieves the column name from a member expression
Member Expression
Retrieves the column name from a method call expression
Method Call Expression
Cells contained within the row
Column name to cell index mapping
Column Name
List of column names in the row object