private void SetVmOsByBatch() { var ctr = new CmpWapDb(); var list = new List <VmOs> { new VmOs() { VmOsId = 7, IsActive = true, }, new VmOs() { VmOsId = 420, IsActive = false, } }; ctr.SetVmOsByBatch(list, "Novihmnodnl"); }