Show / Hide Table of Contents

    Interface ITableBuilder

    Interface setting behavior for all entities within the table.

    Namespace: Kros.KORM.Metadata
    Assembly: Kros.KORM.dll
    Syntax
    public interface ITableBuilder

    Methods

    UseQueryFilter<TEntity>(Expression<Func<TEntity, Boolean>>)

    Set default query filter which will be used in every query to table.

    Declaration
    void UseQueryFilter<TEntity>(Expression<Func<TEntity, bool>> queryFilter)
    
        where TEntity : class
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression<System.Func<TEntity, System.Boolean>> queryFilter

    The query filter.

    Type Parameters
    Name Description
    TEntity
    Remarks

    This filter will be used for all entity over this table.

    Back to top KROS a.s.