public static SingleProperty Build <T>(Expression <Func <T, object> > expression) { PropertyInfo property = ReflectionHelper.GetProperty(expression); return(new SingleProperty(property)); }
public Accessor GetChildAccessor <T>(Expression <Func <T, object> > expression) { var property = ReflectionHelper.GetProperty(expression); return(new PropertyChain(new[] { _property, property })); }