Esempio n. 1
0
 /// <summary>
 /// 检查实体属性信息信息是否存在
 /// </summary>
 /// <param name="predicate">检查谓语表达式</param>
 /// <param name="id">更新的实体属性信息编号</param>
 /// <returns>实体属性信息是否存在</returns>
 public Task <bool> CheckCodePropertyExists(Expression <Func <CodeProperty, bool> > predicate, Guid id = default)
 {
     return(PropertyRepository.CheckExistsAsync(predicate, id));
 }