| | | 1 | | using Microsoft.Xrm.Sdk; |
| | | 2 | | using Microsoft.Xrm.Sdk.Workflow; |
| | | 3 | | using System; |
| | | 4 | | |
| | | 5 | | namespace FakeXrmEasy |
| | | 6 | | { |
| | | 7 | | public class XrmFakedWorkflowContext : IWorkflowContext |
| | | 8 | | { |
| | 42 | 9 | | public Guid BusinessUnitId { get; set; } |
| | | 10 | | |
| | 0 | 11 | | public Guid CorrelationId { get; set; } |
| | | 12 | | |
| | 42 | 13 | | public int Depth { get; set; } |
| | | 14 | | |
| | 42 | 15 | | public Guid InitiatingUserId { get; set; } |
| | | 16 | | |
| | 42 | 17 | | public ParameterCollection InputParameters { get; set; } |
| | | 18 | | |
| | 42 | 19 | | public bool IsExecutingOffline { get; set; } |
| | | 20 | | |
| | 0 | 21 | | public bool IsInTransaction { get; set; } |
| | | 22 | | |
| | 0 | 23 | | public bool IsOfflinePlayback { get; set; } |
| | | 24 | | |
| | 0 | 25 | | public int IsolationMode { get; set; } |
| | | 26 | | |
| | 54 | 27 | | public string MessageName { get; set; } |
| | | 28 | | |
| | 0 | 29 | | public int Mode { get; set; } |
| | | 30 | | |
| | 0 | 31 | | public DateTime OperationCreatedOn { get; set; } |
| | | 32 | | |
| | 0 | 33 | | public Guid OperationId { get; set; } |
| | | 34 | | |
| | 0 | 35 | | public Guid OrganizationId { get; set; } |
| | | 36 | | |
| | 0 | 37 | | public string OrganizationName { get; set; } |
| | | 38 | | |
| | 42 | 39 | | public ParameterCollection OutputParameters { get; set; } |
| | | 40 | | |
| | 0 | 41 | | public EntityReference OwningExtension { get; set; } |
| | | 42 | | |
| | 0 | 43 | | public IWorkflowContext ParentContext { get; set; } |
| | | 44 | | |
| | 42 | 45 | | public EntityImageCollection PostEntityImages { get; set; } |
| | | 46 | | |
| | 42 | 47 | | public EntityImageCollection PreEntityImages { get; set; } |
| | | 48 | | |
| | 0 | 49 | | public Guid PrimaryEntityId { get; set; } |
| | | 50 | | |
| | 0 | 51 | | public string PrimaryEntityName { get; set; } |
| | | 52 | | |
| | 0 | 53 | | public Guid? RequestId { get; set; } |
| | | 54 | | |
| | 0 | 55 | | public string SecondaryEntityName { get; set; } |
| | | 56 | | |
| | 42 | 57 | | public ParameterCollection SharedVariables { get; set; } |
| | | 58 | | |
| | 0 | 59 | | public string StageName { get; set; } |
| | | 60 | | |
| | 78 | 61 | | public Guid UserId { get; set; } |
| | | 62 | | |
| | 0 | 63 | | 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 |
| | 0 | 66 | | public int WorkflowMode { get; set; } |
| | | 67 | | #endif |
| | | 68 | | } |
| | | 69 | | } |