internal QBSession(QBSessionFactory sessionFactory, string qbXmlVersion, string ticket) { _log.InfoFormat("Opening Session Ticket {0}", ticket); _sessionFactory = sessionFactory; _qbXmlVersion = qbXmlVersion; _ticket = ticket; IsOpen = true; Query = new Queries(this); Report = new Reports.Reports(this); Add = new Additions(this); Modify = new Modifications(this); }
internal QBSession(QBSessionFactory sessionFactory, string qbXmlVersion, string ticket) { _log.InfoFormat("Opening Session Ticket {0}", ticket); _sessionFactory = sessionFactory; _qbXmlVersion = qbXmlVersion; _ticket = ticket; IsOpen = true; Query = new Queries(this); Report = new Reports.Reports(this); Add = new Additions(this); Modify = new Modifications(this); }
protected override void Initialize(object parameter) { _modifications = parameter as IModifications; if (_modifications == null) { return; } ModificationItems = new ObservableCollection <IModification>(_modifications.Items); this.NotifyPropertyChanged("ModificationItems"); this.ErrorDescription = _modifications.ErrorDescription; this.TotalCount = _modifications.TotalCount; this.CurrentPage = _modifications.CurrentPage; }