Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Expression<Func<TObject, TPropertyType>>
- Expression<Func<MyObject, int>> expression = x=> x.IntegerProperty;
- string ObjectPropertyName
- Type ObjectType
- Type ObjectPropertyType = typeof(ObjectType).GetProperty(ObjectPropertyName).Property
- Expression<Func<[ObjectType], [ObjectPropertyType]>> expression = x=> x.[ObjectPropertyName];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement