Пример #1
0
        public void SetUp()
        {
            base.SetUp();

            inOutApplicationService = ApplicationContext.Current["inOutApplicationService"] as IInOutApplicationService;
        }
Пример #2
0
 public static IEnumerable <IInOutState> GetByProperty <TPropertyType>(this IInOutApplicationService applicationService,
                                                                       System.Linq.Expressions.Expression <Func <IInOutState, TPropertyType> > propertySelector,
                                                                       TPropertyType propertyValue, IList <string> orders = null, int firstResult = 0, int maxResults = int.MaxValue)
 {
     return(applicationService.GetByProperty(ReflectUtils.GetPropertyName <IInOutState, TPropertyType>(propertySelector), propertyValue, orders, firstResult, maxResults));
 }