Class LookupCacheTransformation
Uses a named cache to lookup a value.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class LookupCacheTransformation : BusinessRuleTransformation
Properties
LookupReturnedItems
Choose what should be returned.
Found: return the value of the found item in the lookup cache, null if not found.
NotFound: return the input key value of the not found item, null if found.
All: return the value of the found item in the lookup cache or the input key value of the not found item.
Declaration
[JsonProperty("lookupReturnedItems", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public LookupItemsMatch LookupReturnedItems { get; set; }
Property Value
LookupItemsMatch |
NamedCache
Name of the cache to use.
Declaration
[JsonProperty("namedCache", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string NamedCache { get; set; }
Property Value
string |
Methods
FromJson(string)
Declaration
public static LookupCacheTransformation FromJson(string data)
Parameters
string data |
Returns
LookupCacheTransformation |