public void TestCustomersGetById() { Customer cust = (Customer)customers.GetById("ALFKI"); Assert.AreEqual("ALFKI", cust.CustomerID); Assert.AreEqual("Alfreds Futterkiste", cust.CompanyName); }
private static void MeasureEmit() { DynamicDataMapper customer = EmitDataMapper.Build(typeof(Customer), connStr, false); customer.GetAll(); customer.GetById("ALFKI"); }