public ScheduleWF(IOrganizationService service, new_incidentservice target, new_incidentserviceparameter paramters, new_flightoccurrence orginalFlightOccurrence, IEmailTemplate iEmailTemplate) : base(service, target, paramters, orginalFlightOccurrence, iEmailTemplate) { }
public CashierWF(IOrganizationService service, new_incidentservice target, new_incidentserviceparameter paramters, new_flightoccurrence orginalFlightOccurrence, IEmailTemplate iEmailTemplate) : base(service, target, paramters, orginalFlightOccurrence, iEmailTemplate) { }
public Observer(IOrganizationService service, new_incidentservice target, new_incidentserviceparameter paramters, new_flightoccurrence orginalFlightOccurrence, IEmailTemplate configEmailTemplate) { _service = service; _target = target; _paramters = paramters; _orginalFlightOccurrence = orginalFlightOccurrence; _emailTemplate = configEmailTemplate; }
public OpenClosedCalculator(IOrganizationService service, new_incidentservice target, new_incidentservice preImage, new_incidentserviceparameter paramters) { _calcs = new List <ParticipantOnCalculator>(); _service = service; _target = target; _preImage = preImage; _paramters = paramters; _callCenterHelper = new CallCenterHelper(_paramters); _cashierHelper = new CashierHelper(_paramters); }
public OpenClosedCalculator(IOrganizationService service, new_incidentservice target, new_incidentservice preImage, new_incidentserviceparameter paramters) { _calcs = new List<ParticipantOnCalculator>(); _service = service; _target = target; _preImage = preImage; _paramters = paramters; _callCenterHelper = new CallCenterHelper(_paramters); _cashierHelper = new CashierHelper(_paramters); }
public new_incidentserviceparameter GetParamters() { if (_paramters == null) { var fetchXml = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'> <entity name='new_incidentserviceparameter'><attribute name='new_name' /> <attribute name='new_israelstationteam' /> <attribute name='new_callcenterteam' /> <attribute name='new_cashierteam' /> <attribute name='new_groundoperationsteam' /> <attribute name='new_foodandprovisionsteam' /> <attribute name='new_customerrelationsteam' /> <attribute name='new_scheduleteam' /> <attribute name='new_placingteamsteam' /> <attribute name='new_cargoteam' /><attribute name='new_sundorteam' /> <filter type='and'><condition attribute='statecode' operator='eq' value='0' /></filter></entity></fetch>"; EntityCollection col = this._service.RetrieveMultiple(new FetchExpression(fetchXml)); var result = col.Entities.FirstOrDefault(); if (result != null) _paramters = result.ToEntity<new_incidentserviceparameter>(); } return _paramters; }
new_incidentserviceparameter GetParamters() { if (_paramters == null) { using (var service = new XrmServiceContext(_service)) { _paramters = (from pa in service.new_incidentserviceparameterSet where pa.statecode.Value == 0 select pa).FirstOrDefault(); } } return(_paramters); }
public new_incidentserviceparameter GetParamters() { if (_paramters == null) { var fetchXml = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'> <entity name='new_incidentserviceparameter'><attribute name='new_name' /> <attribute name='new_israelstationteam' /> <attribute name='new_callcenterteam' /> <attribute name='new_cashierteam' /> <attribute name='new_groundoperationsteam' /> <attribute name='new_foodandprovisionsteam' /> <attribute name='new_customerrelationsteam' /> <attribute name='new_scheduleteam' /> <attribute name='new_placingteamsteam' /> <attribute name='new_cargoteam' /><attribute name='new_sundorteam' /> <filter type='and'><condition attribute='statecode' operator='eq' value='0' /></filter></entity></fetch>"; EntityCollection col = this._service.RetrieveMultiple(new FetchExpression(fetchXml)); var result = col.Entities.FirstOrDefault(); if (result != null) { _paramters = result.ToEntity <new_incidentserviceparameter>(); } } return(_paramters); }
public CalcService(IOrganizationService service, new_incidentservice target, new_incidentservice preImage, new_incidentserviceparameter paramters) : base(service, target, preImage, paramters) { }
public CallCenterHelper(new_incidentserviceparameter paramters) { _paramters = paramters; Load(); }
public CashierHelper(new_incidentserviceparameter paramters) { _paramters = paramters; Load(); }
new_incidentserviceparameter GetParamters() { if (_paramters == null) { using (var service = new XrmServiceContext(_service)) { _paramters = (from pa in service.new_incidentserviceparameterSet where pa.statecode.Value == 0 select pa).FirstOrDefault(); } } return _paramters; }