Ejemplo n.º 1
0
        private static void MeasureEmit()
        {
            DynamicDataMapper customer = EmitDataMapper.Build(typeof(Customer), connStr, false);

            customer.GetAll();
            customer.GetById("ALFKI");
        }
Ejemplo n.º 2
0
 public CustomerDataMapperTest()
 {
     //customers = new CustomerDataMapper(typeof (Customer), NORTHWIND, false);
     customers = EmitDataMapper.Build(typeof(Customer), NORTHWIND, false);
 }