Skip to content

Commit 707d361

Browse files
committed
use the table mapping
1 parent d9751a7 commit 707d361

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SQLitePCL.pretty.Orm/ResultSet.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static Func<IReadOnlyList<IResultSetValue>,T> RowToObject<TBuilder, T>(Fu
4141
Contract.Requires(build != null);
4242

4343
var columns = new Dictionary<string, PropertyInfo>();
44-
var tableName = typeof(T).GetTableName();
44+
var tableName = TableMapping.Get<T>().TableName;
4545

4646
var typ = typeof(TBuilder);
4747

0 commit comments

Comments
 (0)