public MappingManagerV2() { //注意 只能 查询不能有修改操作 _userAccountRepository = ServiceLocator.Current.Resolve<IUserAccountRepository>(); _vUserRoleRepository = ServiceLocator.Current.Resolve<IVUserRoleRepository>(); _promotionBrandRelationRepository = ServiceLocator.Current.Resolve<IPromotionBrandRelationRepository>(); _likeRepository = ServiceLocator.Current.Resolve<ILikeRepository>(); _couponRepository = ServiceLocator.Current.Resolve<ICouponRepository>(); _favoriteRepository = ServiceLocator.Current.Resolve<IFavoriteRepository>(); _pointRepository = ServiceLocator.Current.Resolve<IPointRepository>(); }
public MappingManagerV2() { //注意 只能 查询不能有修改操作 CustomerRepository = ServiceLocator.Current.Resolve<ICustomerRepository>(); _userAccountRepository = ServiceLocator.Current.Resolve<IUserAccountRepository>(); _vUserRoleRepository = ServiceLocator.Current.Resolve<IVUserRoleRepository>(); }