/// <summary> /// 转换主键类型。 /// </summary> /// <param name="value"></param> /// <returns></returns> protected virtual object ParseEntityKey(string value) { return(RepositoryExtensions.ParseEntityKey <TKey>(value)); }