Class ExcelConnectionDataModel
Data model specific properties for the connection.
Inherited Members
Namespace: OfficeOpenXml.Data.Connection
Assembly: EPPlus.dll
Syntax
public class ExcelConnectionDataModel
Properties
DataFeedProperties
Data model data feed properties for the connection. This property is null if the connection is not a data feed data model connection.
Declaration
public ExcelDataModelDataFeedProperties DataFeedProperties { get; }
Property Value
| Type | Description |
|---|---|
| ExcelDataModelDataFeedProperties |
Id
The identifier of the Data Model data source.
Declaration
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
IsModel
If this connection is a connection to the spreadsheet data model. If "true", the Type property of the ancestor connection, MUST be equal to OLEDB.
Declaration
public bool IsModel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ModelTextHeaders
If headers are included when importing text data in a data model. This property only applies when Type is set to DataModelText.
Declaration
public bool ModelTextHeaders { get; }
Property Value
| Type | Description |
|---|---|
| bool |
OleDbProperties
OleDb properties used for a data model. This property is null if the connection is not a data model OleDb connection.
Declaration
public ExcelDataModelOleDbProperties OleDbProperties { get; }
Property Value
| Type | Description |
|---|---|
| ExcelDataModelOleDbProperties |
RangeSourceName
If Type is set to DataModelWorksheetData, this is the source name, otherwise this property is ignored.
Declaration
public string RangeSourceName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |