Table of Contents

Class EntityMetadata

Namespace
LinqToDB.Metadata
Assembly
linq2db.Tools.dll

Entity mapping attributes for table or view.

public sealed class EntityMetadata
Inheritance
EntityMetadata
Extension Methods

Properties

Configuration

Mapping configuration name.

public string? Configuration { get; set; }

Property Value

string

IsColumnAttributeRequired

If true, only properties/fields with ColumnAttribute will be mapped. Default value: true.

public bool IsColumnAttributeRequired { get; set; }

Property Value

bool

IsTemporary

When true, mapped table is temporary table.

public bool IsTemporary { get; set; }

Property Value

bool

IsView

View or table mapping.

public bool IsView { get; set; }

Property Value

bool

Name

Table name.

public SqlObjectName? Name { get; set; }

Property Value

SqlObjectName?

TableOptions

Specify table flags for temporary tables and create/drop table API behavior.

public TableOptions TableOptions { get; set; }

Property Value

TableOptions