Ejemplo n.º 1
0
        public void TestInitialize()
        {
            var settings = new List <CommonMapperProfileResolutionSettings>
            {
                new CommonMapperProfileResolutionSettings
                {
                    AssemblyName = Assembly.GetAssembly(typeof(OrderProfile)).GetName().Name,
                    Namespace    = new List <string> {
                        typeof(OrderProfile).Namespace
                    }
                }
            };

            _commonMapper = new CommonMapper(settings);

            _iAndOrderEntities = new ANDP_Order_Entities(BootStrapper.AndpEntitiesBootstrapper().ToString(), "test");
            _iOrderRepository  = new OrderRepository(_iAndOrderEntities);
        }
Ejemplo n.º 2
0
 public OrderRepository(IANDP_Order_Entities iandpOrderEntities)
 {
     _iandpOrderEntities = iandpOrderEntities;
 }