public static IPropertyElement <TEntity> WhereEntity <TEntity>(this IConventionsPolicy <TEntity> convensPolicy) { var propElement = new PropertyElement <TEntity, TEntity>(e => e, convensPolicy); return(propElement); }
public static IPropertyElement <TEntity> WhereProperty <TEntity, TEntityProperty>(this IConventionsPolicy <TEntity> convensPolicy, Func <TEntity, TEntityProperty> prop) { var propElement = new PropertyElement <TEntity, TEntityProperty>(prop, convensPolicy); return(propElement); }