ModelEmbeddedAttribute.ParamValue Property
.NET Standard 2.x
Gets or sets the value of the parameter that is required when loading the data for the current property.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Syntax
public string ParamValue { get; set; }
Property Value
System.String
A list of the parameter values that need to be passed in when loading the data for the current property. It has the same parameters required by the data retrieval in the embedded model.
Use the $
symbol at the beginning of the property name of the master model class to make reference to value in the master model, for example, $Id
.
You can also use the :
symbol at the beginning of the name of the retrieval parameter (applying the SqlParameter attribute) of the master model class to make reference to a parameter value in the master model, for example, :param1
.
When there are multiple values, separate them with commas, for example, :$Id,:param1
.
Applies to
.NET Standard
2.x