/// <summary> /// key的字段名称 /// </summary> /// <returns></returns> internal List <string> GetKeyNames() { var ret = new List <string>(); foreach (var h in header) { if (TableHelper.IsKey(h)) { ret.Add(h.fieldName); } } return(ret); }
/// <summary> /// key的个数 /// </summary> /// <returns></returns> internal int GetKeyCount() => header.Count(h => TableHelper.IsKey(h));