private static void MeasureEmit() { DynamicDataMapper customer = EmitDataMapper.Build(typeof(Customer), connStr, false); customer.GetAll(); customer.GetById("ALFKI"); }
public CustomerDataMapperTest() { //customers = new CustomerDataMapper(typeof (Customer), NORTHWIND, false); customers = EmitDataMapper.Build(typeof(Customer), NORTHWIND, false); }