public void TestBatchInsert()
{
try
{
IList<PointClass> points = new List<PointClass>();
PointClass pc1 = new PointClass();
pc1.Shape = new Point(10, 10);
PointClass pc2 = new PointClass();
points.Add(pc1);
pc1.Shape = new Point(20, 20);
points.Add(pc2);
_pointDao.Insert(points);
}
finally
{
// Reset the points to the "normal" state so other tests don't fail.
SetupPoints();
}
}