예제 #1
0
        public static IPropertyElement <TEntity> WhereEntity <TEntity>(this IConventionsPolicy <TEntity> convensPolicy)
        {
            var propElement = new PropertyElement <TEntity, TEntity>(e => e, convensPolicy);

            return(propElement);
        }
예제 #2
0
        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);
        }