Summary

Class:FakeXrmEasy.XrmFakedWorkflowContext
Assembly:FakeXrmEasy
File(s):C:\code\jordimontana82\fake-xrm-easy\FakeXrmEasy.Shared\XrmFakedWorkflowContext.cs
Covered lines:11
Uncovered lines:18
Coverable lines:29
Total lines:69
Line coverage:37.9%

File(s)

C:\code\jordimontana82\fake-xrm-easy\FakeXrmEasy.Shared\XrmFakedWorkflowContext.cs

#LineLine coverage
 1using Microsoft.Xrm.Sdk;
 2using Microsoft.Xrm.Sdk.Workflow;
 3using System;
 4
 5namespace FakeXrmEasy
 6{
 7    public class XrmFakedWorkflowContext : IWorkflowContext
 8    {
 429        public Guid BusinessUnitId { get; set; }
 10
 011        public Guid CorrelationId { get; set; }
 12
 4213        public int Depth { get; set; }
 14
 4215        public Guid InitiatingUserId { get; set; }
 16
 4217        public ParameterCollection InputParameters { get; set; }
 18
 4219        public bool IsExecutingOffline { get; set; }
 20
 021        public bool IsInTransaction { get; set; }
 22
 023        public bool IsOfflinePlayback { get; set; }
 24
 025        public int IsolationMode { get; set; }
 26
 5427        public string MessageName { get; set; }
 28
 029        public int Mode { get; set; }
 30
 031        public DateTime OperationCreatedOn { get; set; }
 32
 033        public Guid OperationId { get; set; }
 34
 035        public Guid OrganizationId { get; set; }
 36
 037        public string OrganizationName { get; set; }
 38
 4239        public ParameterCollection OutputParameters { get; set; }
 40
 041        public EntityReference OwningExtension { get; set; }
 42
 043        public IWorkflowContext ParentContext { get; set; }
 44
 4245        public EntityImageCollection PostEntityImages { get; set; }
 46
 4247        public EntityImageCollection PreEntityImages { get; set; }
 48
 049        public Guid PrimaryEntityId { get; set; }
 50
 051        public string PrimaryEntityName { get; set; }
 52
 053        public Guid? RequestId { get; set; }
 54
 055        public string SecondaryEntityName { get; set; }
 56
 4257        public ParameterCollection SharedVariables { get; set; }
 58
 059        public string StageName { get; set; }
 60
 7861        public Guid UserId { get; set; }
 62
 063        public int WorkflowCategory { get; set; }
 64
 65#if FAKE_XRM_EASY_2013 || FAKE_XRM_EASY_2015 || FAKE_XRM_EASY_2016 || FAKE_XRM_EASY_365 || FAKE_XRM_EASY_9
 066        public int WorkflowMode { get; set; }
 67#endif
 68    }
 69}