Exemplo n.º 1
0
        public IEnumerable <TElement> GetGroupJoinEnumerator <TElement>(
            QueryContext qc,
            IDataReader dataReader,
            Expression expr,
            object[]         ps,
            int counterIndex,
            Mapper <TElement> itemReader)
        {
            var count = MappingSchema.ConvertToInt32(dataReader[counterIndex]);

            return(GetGroupJoinEnumerator(count, count == 0? default(TElement): itemReader(this, qc, dataReader, MappingSchema, expr, ps)));
        }
Exemplo n.º 2
0
 public virtual int GetInt32(int i)
 {
     return(_mappingSchema.ConvertToInt32(_values[i]));
 }