Creates a new TableColumnMapping instance.

Namespace: Keystone.Carbonite.Diamant
Assembly: Keystone.Carbonite.Diamant (in Keystone.Carbonite.Diamant.dll)

public TableColumnMapping( 
string tableColumnName
string entityPropertyName
bool isPrimaryKey = false, 
bool isAutoIncremented = false 
)
This language is not supported or no code example is available.

Parameters

tableColumnName

Type: string

Name of the relational data store table column to map to the given entity property.

entityPropertyName

Type: string

Name of the entity property to map to the given column.

isPrimaryKey

Type: bool

if set to true, the table column is primary key.

isAutoIncremented

Type: bool

if set to true, the table column is automatically incremented.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono