SetValueAttribute.SetValueAttribute( string source, string target) Constructor
.NET Standard 2.x
Initializes a new instance of the SetValueAttribute class.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
public SetValueAttribute(string source,string target): this(source, target, SetValueStrategy.Always, ModelSelector.All)
Parameters
source
System.String
A property of the model class at the same level.
Use this format to make reference: $PropertyName
, for example, $Id
.
target
System.String
A property of the model class at one level lower.
Use this format to make reference: $PropertyName
, for example, $Id
.
Applies to
.NET Standard
2.x