|
TableOperationsT(AdoDataConnection, IEnumerableKeyValuePairString, String) Constructor
|
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax Exceptions Remarks
The
customTokens can be used to apply run-time tokens to any defined
AmendExpressionAttribute values,
for example, given the following amendment expression applied to a modeled class:
[AmendExpression("TOP {count}",
TargetExpression = TargetExpression.FieldList,
AffixPosition = AffixPosition.Prefix,
StatementTypes = StatementTypes.SelectSet)]]
The
customTokens key/value pairs could be set as follows at run-time:
int count = 200;
customTokens = new[] { new KeyValuePair<string, string>("{count}", $"{count}") };
See Also