# HG changeset patch # User cin # Date 1395954296 -14400 # Node ID 8f65451dc28fe2e3d47e8c5c2727b1600e700f12 # Parent f990fcb411a99bafd50a2ec7f7f064c4a5dee07b Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении diff -r f990fcb411a9 -r 8f65451dc28f Source/Data/Linq/Builder/TableBuilder.cs --- a/Source/Data/Linq/Builder/TableBuilder.cs Thu Mar 27 21:46:09 2014 +0400 +++ b/Source/Data/Linq/Builder/TableBuilder.cs Fri Mar 28 01:04:56 2014 +0400 @@ -353,7 +353,8 @@ MappingSchema = data.MappingSchema, DataSource = source, SourceObject = dataReader, - ObjectMapper = data.ObjectMapper + ObjectMapper = data.ObjectMapper, + MappingIndex = data.Index }; var destObject = data.ObjectMapper.CreateInstance(initContext); diff -r f990fcb411a9 -r 8f65451dc28f Source/Reflection/InitContext.cs --- a/Source/Reflection/InitContext.cs Thu Mar 27 21:46:09 2014 +0400 +++ b/Source/Reflection/InitContext.cs Fri Mar 28 01:04:56 2014 +0400 @@ -20,6 +20,7 @@ public bool StopMapping { get; set; } [CLSCompliant(false)] public IMapDataSource DataSource { get; set; } + public int[] MappingIndex { get; set; } private Dictionary _items; public Dictionary Items