Пример #1
0
        private static Func <object, object> BuildColumnAccess(ColumnDefinition definition)
        {
            var instance = Expression.Parameter(typeof(object));
            var body     = definition.CreateInvocation(instance);
            var lambda   = Expression.Lambda <Func <object, object> >(body, instance);

            return(lambda.Compile());
        }