public static MemberInfo MemberInfo(this Expression expression) { return(StaticReflection.GetMemberInfo(expression)); }
public static MemberInfo MemberInfo <T>( this T instance, Expression <Action <T> > expression) { return(StaticReflection.GetMemberInfo(instance, expression)); }
public static MemberInfo MemberInfo <T>( this Expression <Func <T> > expression) { return(StaticReflection.GetMemberInfo(expression)); }
static VersionedRepository() { VersionPropertyName = StaticReflection.GetMemberInfo <IVersioned, byte[]>(v => v.EntityVersion).Name; }