Class LookUpInDataSource
Base Class to create your own LookUp Class - used by all Look-Ups.
Read more about this in LookUp System
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class LookUpInDataSource : LookUpBase, ILookUp
- Inheritance
-
objectLookUpInDataSource
- Implements
- Inherited Members
Remarks
- Called LookUpInDataTarget until v17
Constructors
LookUpInDataSource(IDataSource, IZoneCultureResolver)
Look up stuff in a DataSource.
It will take the first IEntity in a source and look up properties/attributes in that.
Normally this is used in Queries, where you want to get a parameter from the In stream.
public LookUpInDataSource(IDataSource dataSource, IZoneCultureResolver cultureResolver)
Parameters
dataSourceIDataSourcethe data-target, of which it will use the In-Stream
cultureResolverIZoneCultureResolverculture resolver for multi-language scenarios
Remarks
- Called LookUpInDataTarget until v17
Fields
InStreamName
The stream name to read when finding the entity which is the source of this.
public const string InStreamName = "In"
Field Value
Methods
Get(string, string)
Gets a value by Name/key and tries to format it in a special way (like for dates)
public override string Get(string key, string format)