Questions tagged [dynamic-expression]

20 questions
0
votes
1 answer

How can we access the column in dynamic expression of pre copy script in adf copy activity?

How can we access the column in dynamic expression of pre copy script in adf copy activity As I need to trim) substring the excess characters coming from source before loading into sql db. Can anyone help me with expression. Eg: suppose I have…
Meg
  • 13
  • 3
0
votes
0 answers

Using DynamicExpression.ParseLambda with string interpolation

I am struggling with DynamicExpression.ParseLambda and string-interpolation The following ParseLambda fails on the $ character. Can anyone see why? private static void Main() { var result = ExecuteJob("parameter.Trim()", " TheVale"); …
Torben Nielsen
  • 663
  • 1
  • 8
  • 21
0
votes
0 answers

Stored procedure returning dynamic columns in Entity Framework

I have a function calling a SQL Server stored procedure using Entity Framework 6.2. The stored procedure returns a result set which has different number of columns on each call, and column names may vary on each call. Function getListOfDocs() As…
0
votes
2 answers

Get Generic method "Contains" With IgonreCase when Create Dynamic LambdaExression

I want to create dynamic Lambda Expression for Method Call Contains for list of string values, the below code work's fine but not ignored string Case Sensitive ParameterExpression parameter = Expression.Parameter(typeof(E), "x"); IQueryable
Mehdi Haghshenas
  • 2,433
  • 1
  • 16
  • 35
-1
votes
1 answer

Use DefaultIfEmpty in Dynamic Expressions and Queries in LINQ

I want to use Dynamic Expressions and Queries in LINQ with a DefaultIfEmpty clause to get all of the rows from the two sets that don't match, or don't have a match. The end goal is to get the delta of the join of the two tables. In table A I…
BermudaLamb
  • 273
  • 3
  • 5
  • 24
1
2