Exemplo n.º 1
0
 /// <summary>
 /// 更新除指定内容部分
 /// </summary>
 /// <typeparam name="EntityType"></typeparam>
 /// <typeparam name="TExclude"></typeparam>
 /// <param name="entities"></param>
 /// <param name="exclude">排除部分,如  _ => new { _.Code, _.CreateTime } </param>
 public virtual void UpdateEntitiesExclude <EntityType, TExclude>(IEnumerable <EntityType> entities, Func <EntityType, TExclude> exclude) where EntityType : class where TExclude : class
 {
     services.UpdateEntitiesExclude <EntityType, TExclude>()(this, entities);
 }