コード例 #1
0
        protected override StandardsApplicableReviews CreateInternal(StandardsApplicableReviews review)
        {
            var val = _crmDatastore
                      .Create(Converter.FromApi(review));

            return(Converter.StandardsApplicableReviewsFromCrm(val));
        }
        protected override StandardsApplicable CreateInternal(StandardsApplicable claim)
        {
            var val = _crmDatastore
                      .Create(Converter.FromApi(claim));

            return(Converter.FromCrm(val));
        }
コード例 #3
0
        protected override CapabilitiesImplemented CreateInternal(CapabilitiesImplemented claim)
        {
            var val = _crmDatastore
                      .Create(Converter.FromApi(claim));

            return(Converter.FromCrm(val));
        }
        protected override CapabilitiesImplementedEvidence CreateInternal(CapabilitiesImplementedEvidence evidence)
        {
            var val = _crmDatastore
                      .Create(Converter.FromApi(evidence));

            return(Converter.FromCrm(val));
        }
        protected override CapabilitiesImplementedReviews CreateInternal(CapabilitiesImplementedReviews review)
        {
            var val = _crmDatastore
                      .Create(Converter.FromApi(review));

            return(Converter.CapabilitiesImplementedReviewsFromCrm(val));
        }
        public void Update(TechnicalContacts techCont)
        {
            GetInternal(() =>
            {
                _crmDatastore.Update(Converter.FromApi(techCont));

                return(0);
            });
        }
コード例 #7
0
        public void Delete(Solutions solution)
        {
            GetInternal(() =>
            {
                _crmDatastore.Delete(Converter.FromApi(solution));
                ExpireCache(solution);

                return(0);
            });
        }
        public TechnicalContacts Create(TechnicalContacts techCont)
        {
            return(GetInternal(() =>
            {
                techCont.Id = UpdateId(techCont.Id);

                var val = _crmDatastore.Create(Converter.FromApi(techCont));

                return Converter.FromCrm(val);
            }));
        }
コード例 #9
0
        public Solutions Create(Solutions solution)
        {
            return(GetInternal(() =>
            {
                solution.Id = UpdateId(solution.Id);

                var val = _crmDatastore
                          .Create(Converter.FromApi(solution));
                ExpireCache(solution);

                return Converter.FromCrm(val);
            }));
        }
コード例 #10
0
 protected override void DeleteInternal(StandardsApplicableReviews review)
 {
     _crmDatastore
     .Delete(Converter.FromApi(review));
 }
 protected override void UpdateInternal(StandardsApplicable claim)
 {
     _crmDatastore.Update(Converter.FromApi(claim));
 }
コード例 #12
0
 protected override void UpdateInternal(CapabilitiesImplemented claim)
 {
     _crmDatastore.Update(Converter.FromApi(claim));
 }
 protected override void DeleteInternal(CapabilitiesImplementedReviews review)
 {
     _crmDatastore
     .Delete(Converter.FromApi(review));
 }