Skip to content

Class ExcelConnectionDataModel

Namespace: OfficeOpenXml.Data.Connection
Assembly: EPPlus.dll

Data model specific properties for the connection.

public class ExcelConnectionDataModel

Inheritance

object ← ExcelConnectionDataModel

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Constructors

ExcelConnectionDataModel()

public 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.

public ExcelDataModelDataFeedProperties DataFeedProperties { get; }

Property Value

ExcelDataModelDataFeedProperties

Id

The identifier of the Data Model data source.

public string Id { get; set; }

Property Value

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.

public bool IsModel { get; set; }

Property Value

bool

ModelTextHeaders

If headers are included when importing text data in a data model. This property only applies when Type is set to DataModelText.

public bool ModelTextHeaders { get; }

Property Value

bool

OleDbProperties

OleDb properties used for a data model. This property is null if the connection is not a data model OleDb connection.

public ExcelDataModelOleDbProperties OleDbProperties { get; }

Property Value

ExcelDataModelOleDbProperties

RangeSourceName

If Type is set to DataModelWorksheetData, this is the source name, otherwise this property is ignored.

public string RangeSourceName { get; set; }

Property Value

string