From 2b0b03bb6078c98d3537006b52c43f0a69f01cfc Mon Sep 17 00:00:00 2001 From: Wvader <34067397+wvader@users.noreply.github.com> Date: Sat, 11 Dec 2021 14:12:16 +0000 Subject: [PATCH] g --- src/MapTo/Extensions/CommonSource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MapTo/Extensions/CommonSource.cs b/src/MapTo/Extensions/CommonSource.cs index aeda0b1..0689cba 100644 --- a/src/MapTo/Extensions/CommonSource.cs +++ b/src/MapTo/Extensions/CommonSource.cs @@ -69,7 +69,7 @@ namespace MapTo.Extensions foreach (var property in model.TypeProperties) { - if (!model.TypeProperties.IsMappedProperty(property) || !model.SourceProperties.IsMappedProperty(property)) + if (!model.SourceProperties.IsMappedProperty(property)) { stringBuilder.Append(", "); stringBuilder.Append($"{property.FullyQualifiedType} {property.SourcePropertyName.ToCamelCase()}");