Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 3ce478c

Browse files
committed
fix build error
1 parent a19af3c commit 3ce478c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite/OrmLiteReadCommandExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ internal static List<Into> LoadListWithReferences<Into, From>(this IDbCommand db
937937
var fieldNames = fieldDefs.ConvertAll(q => q.FieldName.ToLower());
938938
var invalid = includeLower.Except(fieldNames).ToList();
939939
if (invalid.Count > 0)
940-
throw new ArgumentException("Fields '{0}' are not Reference Properties of Type '{1}'".Fmt(invalid.Join("', '"), typeof(T).Name));
940+
throw new ArgumentException("Fields '{0}' are not Reference Properties of Type '{1}'".Fmt(invalid.Join("', '"), typeof(From).Name));
941941

942942
fieldDefs = fieldDefs.Where(f => includeLower.Contains(f.FieldName.ToLower())).ToList();
943943
}

0 commit comments

Comments
 (0)