src/Inflatable/ClassMapper/PropertyInfo/ComplexListColumnInfo.cs
/// <summary>
/// Sets the property's value for the object sent in.
/// </summary>
/// <param name="objectToSet">The object to set.</param>
/// <param name="propertyValue">The property value.</param>
Sets the property's value for the object sent in.
Sets the property ' s value for the object sent in .
public void SetValue(object objectToSet, object propertyValue)
        {
            if (ReferenceEquals(objectToSet, default(TClassType)))
            {
                return;
            }
            SetValue(objectToSet, CompiledExpression((objectToSet as TClassType)!).FirstOrDefault(), propertyValue);
        }
public void SetValue ( object objectToSet , object propertyValue ) { if ( ReferenceEquals ( objectToSet , default ( TClassType ) ) ) { return ; } SetValue ( objectToSet , CompiledExpression ( ( objectToSet as TClassType ) ! ) . FirstOrDefault ( ) , propertyValue ) ; }
Sets the property's value for the object sent in.
Sets the property ' s value for the object sent in .
objectToSet
object
The object to set.
The object to set .
propertyValue
object
The property value.
The property value .