Table of Contents

Method GetIntKey

Namespace
Innova.Data.Entity
Assembly
Innova.Data.dll

GetIntKey<T>(IPrimaryKey, Expression<Func<T, object>>)

Gets the integer value of the specified primary key property.

public static int GetIntKey<T>(this IPrimaryKey keys, Expression<Func<T, object>> expression)

Parameters

keys IPrimaryKey

The primary keys.

expression Expression<Func<T, object>>

The expression representing the property.

Returns

int

The integer value of the primary key property.

Type Parameters

T

The type of the entity.