public WorkflowProcessTimer()
 {
     DbTableName = TableName;
     DbColumns.AddRange(new[] {
         new ColumnInfo()
         {
             Name = "Id", IsKey = true, Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "ProcessId", Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "Name"
         },
         new ColumnInfo()
         {
             Name = "NextExecutionDateTime", Type = SqlDbType.DateTime
         },
         new ColumnInfo()
         {
             Name = "Ignore", Type = SqlDbType.Bit
         },
     });
 }
 public WorkflowProcessInstance()
 {
     DbTableName = "WorkflowProcessInstance";
     DbColumns.AddRange(new[]
     {
         new ColumnInfo()
         {
             Name = "Id", IsKey = true, Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "ActivityName"
         },
         new ColumnInfo()
         {
             Name = "IsDeterminingParametersChanged", Type = SqlDbType.Bit
         },
         new ColumnInfo()
         {
             Name = "PreviousActivity"
         },
         new ColumnInfo()
         {
             Name = "PreviousActivityForDirect"
         },
         new ColumnInfo()
         {
             Name = "PreviousActivityForReverse"
         },
         new ColumnInfo()
         {
             Name = "PreviousState"
         },
         new ColumnInfo()
         {
             Name = "PreviousStateForDirect"
         },
         new ColumnInfo()
         {
             Name = "PreviousStateForReverse"
         },
         new ColumnInfo()
         {
             Name = "SchemeId", Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "StateName"
         },
         new ColumnInfo()
         {
             Name = "ParentProcessId", Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "RootProcessId", Type = SqlDbType.UniqueIdentifier
         },
     });
 }
 public WorkflowProcessTransitionHistory()
 {
     DbTableName = TableName;
     DbColumns.AddRange(new[] {
         new ColumnInfo()
         {
             Name = "Id", IsKey = true, Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "ActorIdentityId"
         },
         new ColumnInfo()
         {
             Name = "ExecutorIdentityId"
         },
         new ColumnInfo()
         {
             Name = "FromActivityName"
         },
         new ColumnInfo()
         {
             Name = "FromStateName"
         },
         new ColumnInfo()
         {
             Name = "IsFinalised", Type = SqlDbType.Bit
         },
         new ColumnInfo()
         {
             Name = "ProcessId", Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "ToActivityName"
         },
         new ColumnInfo()
         {
             Name = "ToStateName"
         },
         new ColumnInfo()
         {
             Name = "TransitionClassifier"
         },
         new ColumnInfo()
         {
             Name = "TransitionTime", Type = SqlDbType.DateTime
         },
         new ColumnInfo()
         {
             Name = "TriggerName"
         }
     });
 }
Ejemplo n.º 4
0
 public WorkflowScheme()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Code", IsKey = true
         },
         new ColumnInfo {
             Name = "Scheme", Size = -1
         }
     });
 }
Ejemplo n.º 5
0
 static WorkflowProcessInstanceStatus()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "Status", Type = typeof(byte)
         }
     });
 }
 public WorkflowProcessInstanceStatus()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo {
             Name = "Lock", Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo {
             Name = "Status", Type = SqlDbType.TinyInt
         }
     });
 }
Ejemplo n.º 7
0
 public WorkflowProcessScheme()
 {
     DbTableName = TableName;
     DbColumns.AddRange(new[] {
         new ColumnInfo()
         {
             Name = "Id", IsKey = true, Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "DefiningParameters"
         },
         new ColumnInfo()
         {
             Name = "DefiningParametersHash"
         },
         new ColumnInfo()
         {
             Name = "IsObsolete", Type = SqlDbType.Bit
         },
         new ColumnInfo()
         {
             Name = "SchemeCode"
         },
         new ColumnInfo()
         {
             Name = "Scheme", Type = SqlDbType.NVarChar, Size = -1
         },
         new ColumnInfo()
         {
             Name = "RootSchemeId", Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo()
         {
             Name = "RootSchemeCode"
         },
         new ColumnInfo()
         {
             Name = "AllowedActivities"
         },
         new ColumnInfo()
         {
             Name = "StartingTransition"
         }
     });
 }
 static WorkflowProcessInstance()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "ActivityName"
         },
         new ColumnInfo {
             Name = "IsDeterminingParametersChanged", Type = typeof(bool)
         },
         new ColumnInfo {
             Name = "PreviousActivity"
         },
         new ColumnInfo {
             Name = "PreviousActivityForDirect"
         },
         new ColumnInfo {
             Name = "PreviousActivityForReverse"
         },
         new ColumnInfo {
             Name = "PreviousState"
         },
         new ColumnInfo {
             Name = "PreviousStateForDirect"
         },
         new ColumnInfo {
             Name = "PreviousStateForReverse"
         },
         new ColumnInfo {
             Name = "SchemeId", Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "StateName"
         },
         new ColumnInfo {
             Name = "ParentProcessId", Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "RootProcessId", Type = typeof(Guid)
         }
     });
 }
Ejemplo n.º 9
0
 public WorkflowProcessInstancePersistence()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo {
             Name = "ProcessId", Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo {
             Name = "ParameterName"
         },
         new ColumnInfo {
             Name = "Value", Type = SqlDbType.NVarChar, Size = -1
         }
     });
 }
Ejemplo n.º 10
0
 public WorkflowScheme()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Code", IsKey = true
         },
         new ColumnInfo {
             Name = "Scheme", Size = -1
         },
         new ColumnInfo {
             Name = nameof(CanBeInlined), Type = SqlDbType.Bit
         },
         new ColumnInfo {
             Name = nameof(InlinedSchemes)
         }
     });
 }
 static WorkflowGlobalParameter()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "Type"
         },
         new ColumnInfo {
             Name = "Name"
         },
         new ColumnInfo {
             Name = "Value"
         }
     });
 }
 public WorkflowGlobalParameter()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = SqlDbType.UniqueIdentifier
         },
         new ColumnInfo {
             Name = "Type"
         },
         new ColumnInfo {
             Name = "Name"
         },
         new ColumnInfo {
             Name = "Value"
         }
     });
 }
Ejemplo n.º 13
0
 static WorkflowProcessTransitionHistory()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "ActorIdentityId"
         },
         new ColumnInfo {
             Name = "ExecutorIdentityId"
         },
         new ColumnInfo {
             Name = "FromActivityName"
         },
         new ColumnInfo {
             Name = "FromStateName"
         },
         new ColumnInfo {
             Name = "IsFinalised", Type = typeof(bool)
         },
         new ColumnInfo {
             Name = "ProcessId", Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "ToActivityName"
         },
         new ColumnInfo {
             Name = "ToStateName"
         },
         new ColumnInfo {
             Name = "TransitionClassifier"
         },
         new ColumnInfo {
             Name = "TransitionTime", Type = typeof(DateTime)
         },
         new ColumnInfo {
             Name = "TriggerName"
         }
     });
 }
Ejemplo n.º 14
0
 static WorkflowProcessTimer()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "ProcessId", Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "Name"
         },
         new ColumnInfo {
             Name = "NextExecutionDateTime", Type = typeof(DateTime)
         },
         new ColumnInfo {
             Name = "Ignore", Type = typeof(bool)
         }
     });
 }
Ejemplo n.º 15
0
 static WorkflowProcessScheme()
 {
     DbColumns.AddRange(new[]
     {
         new ColumnInfo {
             Name = "Id", IsKey = true, Type = typeof(Guid)
         },
         new ColumnInfo {
             Name = "DefiningParameters"
         },
         new ColumnInfo {
             Name = "DefiningParametersHash"
         },
         new ColumnInfo {
             Name = "IsObsolete", Type = typeof(bool)
         },
         new ColumnInfo {
             Name = "SchemeCode"
         },
         new ColumnInfo {
             Name = "Scheme"
         },
         new ColumnInfo {
             Name = "RootSchemeId"
         },
         new ColumnInfo {
             Name = "RootSchemeCode"
         },
         new ColumnInfo {
             Name = "AllowedActivities"
         },
         new ColumnInfo {
             Name = "StartingTransition"
         }
     });
 }