Class DataSourceConstants
- Namespace
 - ToSic.Eav.DataSource
 
- Assembly
 - ToSic.Eav.DataSource.dll
 
Various constants typically used in/for DataSources.
[PublicApi]
public class DataSourceConstants
  - Inheritance
 - 
      objectDataSourceConstants
 
Remarks
History
- Created ca. v10
 - Accidentally marked private in 16.09
 - Re-published in 19.01
 
Fields
InStreamDefaultRequired
Marker for specifying that the Default In stream is required on the VisualQueryAttribute.
[PublicApi]
public const string InStreamDefaultRequired = "Default*"
  Field Value
InStreamRequiredSuffix
Use this in the In stream names array of the VisualQueryAttribute
to mark an in-stream as being required.
[PublicApi]
public const string InStreamRequiredSuffix = "*"
  Field Value
MyConfigurationSourceName
Correct prefix to use when retrieving a value from the current data sources configuration entity. Always use this variable, don't ever write the name as a string, as it could change in the future.
public const string MyConfigurationSourceName = "MyConfiguration"
  Field Value
ParamsSourceName
The source name to get query parameters.
Usually used in tokens like [Params:MyParamKey]
[PublicApi]
public const string ParamsSourceName = "Params"
  Field Value
StreamDefaultName
Default In-/Out-Stream Name
public const string StreamDefaultName = "Default"
  Field Value
StreamFallbackName
Very common stream name for fallback streams.
public const string StreamFallbackName = "Fallback"