Questions tagged [dynamic-expression]

20 questions
2
votes
1 answer

Building dynamic expression to compare between two table

I have two tables, table A and table B which have the same scheme. I want to compare both tables from a different contexts. If the record in table B does not exist in table A, then it will insert it into the A context. What I have to figure out the…
2
votes
3 answers

How Can I Add a Dynamically Generated Where Expression for a Navigable Object in My Linq-To-SQL Query?

Background My client would like to have a method of sending over an array of field (string), value (string), and comparison (enum) values in order to retrieve their data. public class QueryableFilter { public string Name { get; set; } public…
1
vote
1 answer

How I can parse lambda select?

I am using DynamicExpressionParser but I need to parse Select method. Here is the code: using System.Linq.Dynamic.Core; using System.Linq.Expressions; using System.Text.RegularExpressions; var categories = new List> { …
AliRıza Adıyahşi
  • 15,658
  • 24
  • 115
  • 197
1
vote
2 answers

Dynamic logical expression evaluating

I need to evaluate a dynamic logical expression and I know that in ABAP it is not possible. I found the class cl_java_script and with this class I could achieve my requeriment. I've try something like this: result = cl_java_script=>create(…
1
vote
1 answer

Dynamic expression to encode and decode in logic app

I am looking equivalent function encoding decoding my content for content-Md5 property of my blob. I tried Base64ToString and I get this O؈�T�eK̲; x���* See the sample code in c# below. I am looking to achieve same functionality for my input in…
user2248618
1
vote
1 answer

Azure Data Factory Dynamic Content with base64 Conversion

I am making a HTTP Triggered Azure Function Call from Azure Data Factory. I am not able to make the HTTP body of the function activity correct for HTTP POST. This is the HTTP body { "filename": "@{item().BatchId}.json", "filecontent":…
Andy T
  • 1,355
  • 2
  • 19
  • 30
1
vote
2 answers

Convert Row Count to INT in Azure Data Factory

I am trying to use a Lookup Activity to return a row count. I am able to do this, but once I do, I would like to run an If Statement against it and if the count returns more than 20MIL in rows, I want to execute an additional pipeline for further…
J.Clark
  • 165
  • 1
  • 2
  • 10
0
votes
1 answer

Filename contains with (starts_with or ends_with) in ADF

I need some help that, I need to verify/filter the my excel input filename while creating a dataset, with some prefixed(like filename starts or ends with some string(ex: start/end with employee)). How can I implement the same in Azure Data Factory…
0
votes
0 answers

Dynamic Expression Any Condition Enum Issue

When I filter according to the child property in my ShipmentOrder entity while filtering with dynamic expression, it takes the child property as an enum and I get this error. 'Enum type 'ShipmentAddress.CountryIdentifier' not found'. I wonder what…
sametcekin
  • 71
  • 1
  • 9
0
votes
1 answer

Dealing with Azure Storage Queue list without any QueuMessage in ADF ForEach

I am using WebActivity to get QueueMessage from Azure Blob Storage and pass the output to ForEeach to use each QueueMessage in subsequent pipeline process.The pipeline is on schedule run and this is the Dynamic Expression I use in ForEach…
0
votes
1 answer

Azure data factory Dynamic Content

I have the following output from a web activity . { "value": [ { "id": "/subscriptions/xy_csv", "name": "xy_csv", "type": "Microsoft.code", "etag": "6200", "properties": { …
Anbu Dhan
  • 73
  • 2
  • 10
0
votes
1 answer

create a lambda expression tree, Expression>, dynamically that performs an Or-based, And-based predicate

I have a search string that can be "sub1 sub2 sub3" and I want to write a proper Expression> that can find "sub1", "sub2", "sub3" and "sub1 sub2 sub3" in the x.Name In the other hand I want to modify …
x19
  • 8,277
  • 15
  • 68
  • 126
0
votes
2 answers

How to place a new line (line feed) in dynamic expression in Azure Data Factory

I am trying to add a line break using dynamic expression in Azure Data Factory. Tried using a variable and setting its value as empty line and '%0A' or '%0D' but doesn't seem to work. Sounds silly yet not able to find a way out! Any help is much…
Syamjith
  • 109
  • 8
0
votes
0 answers

DynamicExpressionParser not working while concating two arrays

I want to concat two array in LINQ dynamic parser. I am sending dictionary input as below object a= new object[]{1d,0d,1d}; object b = new object[]{}; var dict = new Dictionary(); dict["KIStrike"] = a; …
ranjit powar
  • 104
  • 2
  • 2
  • 10
0
votes
3 answers

How to Dynamically create Expression> for count and group by clause

I need to create dynamic lambda expression predicate for below query to query in Cosmos DB. *select City, COUNT(City) as CityCount FROM Cities where status="Active" group by City* Earlier I have created for equal operation like this var parameter =…
1
2