示例#1
0
 /// <summary>
 /// 创建实体对象
 /// </summary>
 /// <param name="reader">数据流</param>
 /// <param name="columnNames">查询的列</param>
 /// <returns>实体对象</returns>
 private TEntity CreateEntity(IDataReader reader, string[] columnNames)
 {
     return(EntityAccessor.CreateEntity(base.TableMapper, reader, columnNames) as TEntity);
 }