Interface IEntityTypePropertyBuilder<TEntity>
Builder for fluent configuration of entity, which allows configuration of individual entity's properties.
Namespace: Kros.KORM.Metadata
Assembly: Kros.KORM.dll
Syntax
public interface IEntityTypePropertyBuilder<TEntity>
where TEntity : class
Type Parameters
Name | Description |
---|---|
TEntity | Type of entity. In general it is a class representing table in database. |
Methods
Property<TProperty>(Expression<Func<TEntity, TProperty>>)
Allows configuration of specific entity's property.
Declaration
IPropertyBuilder<TEntity> Property<TProperty>(Expression<Func<TEntity, TProperty>> propertyExpression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<TEntity, TProperty>> | propertyExpression | Expression which returns property to be configured. |
Returns
Type | Description |
---|---|
IPropertyBuilder<TEntity> | Builder for configuration of specific entity property. |
Type Parameters
Name | Description |
---|---|
TProperty | Property of the entity. |