internal AutoMapper(DbCommandData dbCommandData, Type itemType) { _dbCommandData = dbCommandData; _reader = dbCommandData.Reader.InnerReader; _properties = ReflectionHelper.GetProperties(itemType); _fields = DataReaderHelper.GetDataReaderFields(_reader); }
public DbCommand( DbContext dbContext, System.Data.IDbCommand innerCommand) { Data = new DbCommandData(dbContext, innerCommand); Data.ExecuteQueryHandler = new ExecuteQueryHandler(this); }
public QueryDataTableHandler(DbCommandData data) { _data = data; }
public void OnCommandExecuting(DbCommandData data) { }
public QueryScalarHandler(DbCommandData data) { dbCommandData_0 = data; }
public DbCommand(DbContext dbContext, System.Data.IDbCommand innerCommand) { Data = new DbCommandData(dbContext, innerCommand); Data.ExecuteQueryHandler = new ExecuteQueryHandler(this); }
public QueryCustomEntityHandler(DbCommandData data) { _data = data; _autoMapper = new AutoMapper(_data, typeof(TEntity)); }
public QueryDynamicHandler(DbCommandData data) { _data = data; _autoMapper = new DynamicTypeAutoMapper(_data.Reader.InnerReader); }
internal AutoMapper(DbCommandData dbCommandData) { _dbCommandData = dbCommandData; }
public QueryDynamicHandler(DbCommandData data) { dbCommandData_0 = data; dynamicTypeAutoMapper_0 = new DynamicTypeAutoMapper(dbCommandData_0.Reader.InnerReader); }
public T Execute <T>(DbCommandData data) { object recordsAffected = data.InnerCommand.ExecuteNonQuery(); return((T)recordsAffected); }