Ejemplo n.º 1
0
        public static OpResult AddRange(List <TEntity> entities, bool isSave = true)
        {
            var op = new OpResult();

            try
            {
                CurrentRepository.AddRange(entities, isSave);
                op.Successed = true;
            }
            catch (Exception ex)
            {
                var e = Pharos.Sys.LogEngine.ToInnerException(ex);
                op.Message = e.Message;
                Log.WriteError(ex);
            }
            return(op);
        }
Ejemplo n.º 2
0
 public static new OpResult AddRange(List <Sys.Entity.SysLimits> entities, bool isSave = true)
 {
     CurrentRepository.AddRange(entities, isSave);
     return(OpResult.Success());
 }
Ejemplo n.º 3
0
 public static new OpResult AddRange(List <SysDataDictionary> entities, bool isSave = true)
 {
     CurrentRepository.AddRange(entities, isSave);
     return(OpResult.Success());
 }
Ejemplo n.º 4
0
 public static new OpResult AddRange(List <SysRoles> entities, bool isSave = true)
 {
     CurrentRepository.AddRange(entities);
     return(OpResult.Success());
 }