Show / Hide Table of Contents

Class ExcelConnectionDataModel

Data model specific properties for the connection.

Inheritance
object
ExcelConnectionDataModel
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
In this article
Back to top Generated by DocFX