To do this, it is best to create your class in the code by creating a list of your class. When checking, add verified data to this list, but not verified, you can put them in a line or another list to show that the rest was not inserted.
List of Accepted Employees
public List<Employee> acceptedEmployees = new List<Employee>();
Employee Class
class Employee {
public int ID{ get; set; }
public string Name{ get; set; }
public Employee(int ID, string name)
{
ID = ID;
Name = name;
}
}
, .
, 1 Connection , , .
, , 500 , :
INSERT INTO mytable (ID, NAME) VALUES (1,'Dan'),(2,'Stack'),(3,'Whatever');
, .