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

Commit 2a55af3

Browse files
committed
Override ToString(): return Name.
1 parent f0fc293 commit 2a55af3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ServiceStack.OrmLite/ModelDefinition.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ private bool IsRefField(string name)
172172
return (Alias != null && Alias + "Id" == name)
173173
|| Name + "Id" == name;
174174
}
175+
176+
public override string ToString()
177+
{
178+
return Name;
179+
}
175180
}
176181

177182

0 commit comments

Comments
 (0)