Mercurial > pub > bltoolkit
comparison Source/Data/Linq/Builder/TableBuilder.cs @ 1:8f65451dc28f
Исправлена проблема с фабрикой и выборкой нескольких объектов в linq выражении
author | cin |
---|---|
date | Fri, 28 Mar 2014 01:04:56 +0400 |
parents | f990fcb411a9 |
children |
comparison
equal
deleted
inserted
replaced
0:f990fcb411a9 | 1:8f65451dc28f |
---|---|
351 var initContext = new InitContext | 351 var initContext = new InitContext |
352 { | 352 { |
353 MappingSchema = data.MappingSchema, | 353 MappingSchema = data.MappingSchema, |
354 DataSource = source, | 354 DataSource = source, |
355 SourceObject = dataReader, | 355 SourceObject = dataReader, |
356 ObjectMapper = data.ObjectMapper | 356 ObjectMapper = data.ObjectMapper, |
357 MappingIndex = data.Index | |
357 }; | 358 }; |
358 | 359 |
359 var destObject = data.ObjectMapper.CreateInstance(initContext); | 360 var destObject = data.ObjectMapper.CreateInstance(initContext); |
360 | 361 |
361 if (initContext.StopMapping) | 362 if (initContext.StopMapping) |