/// <summary>
 /// 检查代码实体信息信息是否存在
 /// </summary>
 /// <param name="predicate">检查谓语表达式</param>
 /// <param name="id">更新的代码实体信息编号</param>
 /// <returns>代码实体信息是否存在</returns>
 public Task <bool> CheckCodeEntityExists(Expression <Func <CodeEntity, bool> > predicate, Guid id = default)
 {
     return(EntityRepository.CheckExistsAsync(predicate, id));
 }