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

Commit c7a6d6f

Browse files
committed
Fix guess column test to use a non-alias heuristic
1 parent 8e20160 commit c7a6d6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ServiceStack.OrmLite.Tests/Issues/SelectIntoTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class DbPoco : IHasId<string>
1616

1717
public class DTOPoco
1818
{
19-
public string Id { get; set; }
19+
public string _Id { get; set; }
2020
public string Other_Id { get; set; }
2121
}
2222

@@ -39,7 +39,7 @@ public void Dont_guess_column_in_mismatched_Into_model()
3939

4040
row.PrintDump();
4141

42-
Assert.That(row.Id, Is.Null);
42+
Assert.That(row._Id, Is.Null);
4343
Assert.That(row.Other_Id, Is.EqualTo("OTHER"));
4444
}
4545

0 commit comments

Comments
 (0)