Allows to declarative express a object-relational unilateral mapping, so that a given SQL expression controls the value of an entity property.

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

protected TableExpressionMapping Expression( 
string As
Expression<Func<TEntityGroup, object>> With 
This language is not supported or no code example is available.



Type: string

The SQL expression.


Type: Expression<Func<TEntityGroup, object>>

The entity object property expressed in configuration first style.

Return Value

A TableExpressionMapping.
Exception type Condition


If the given entity property is not found.

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


Xamarin, Mono