public static bool RegisterAccessor <TEntity, TProperty>(this IPropertyAccessorProvider provider, Expression <Func <TEntity, TProperty> > accessor) { return(provider.RegisterAccessor(typeof(TEntity), accessor)); }