예제 #1
0
        public ResourcePointConfigurator <TEntity, TFilterableEntity, TKey> UseFilterableEntityOperation <TFilterableOperation>(Action <EntityContextFilterOperationParameters> config)
            where TFilterableOperation : EntityContextFilterOperation <TEntity, TFilterableEntity, TKey>
        {
            var parameters = new EntityContextFilterOperationParameters();

            config(parameters);
            _filterableEntityOperationParameters = parameters;

            _filterableEntityOperation = typeof(TFilterableOperation);
            return(this);
        }
 /// <summary>Initializes a new instance of the <see cref="T:System.Object" /> class.</summary>
 public EntityContextFilterOperation(IMapper mapper, EntityFilterOperationParameters parameters)
 {
     _mapper     = mapper;
     _parameters = (EntityContextFilterOperationParameters)parameters;
 }