/// <summary> /// 返回字典 /// </summary> /// <typeparam name="TKey"></typeparam> /// <typeparam name="TValue"></typeparam> /// <returns></returns> public Dictionary <TKey, TValue> ToDictionary <TKey, TValue>() { var db = new DBExtend(__DbContext); var reader = db.GetQueryDynamicReader(this); return(ObjectConvert.DataReadToDictionary <TKey, TValue>(reader)); }