public void ImportParticleInplaces(ParticleInplace[] particleInplaces)
        {
            foreach (var p in particleInplaces)
                _context.ParticleInplaces.Add(p);

            //(_context as ConspectorContext).BulkInsert(particleInplaces);
            _context.SaveChanges();
        }
 public void DeleteParticleInplace(ParticleInplace particle)
 {
     _context.ParticleInplaces.Remove(particle);
 }
 public void DeleteParticleInplace(ParticleInplace particleInplace)
 {
     _dbInterop.DeleteParticleInplace(particleInplace);
     _dbInterop.SaveChanges();
 }