public SmartObjectDefinition GetDefinition()
        {
            #region App Stage Action
            List<SmartObjectProperty> AppStageActionProperties = new List<SmartObjectProperty>();
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("9a59b76c-76da-4bf0-a4a6-3f57708c9afc"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("1d167f7a-f8e3-4344-beec-e30b8f9758db"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("9ed1a320-767b-4c55-b13b-3be9c68d0ca1"),
                SystemName = "Description",
                DisplayName = "Description",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Description",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("19e42ec5-8708-4e41-82cd-194c59c8cae5"),
                SystemName = "App Stage ID",
                DisplayName = "App Stage ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "App Stage ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("27146894-9d62-45bd-82f0-1e58fe313fec"),
                SystemName = "Icon ID",
                DisplayName = "Icon ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "Icon ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("ee0dc06f-c4ed-4327-955c-8495d8d9cf7d"),
                SystemName = "Action Form",
                DisplayName = "Action Form",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Icon",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("6d0ce4d3-ac1b-426a-8c81-33bb15940b20"),
                SystemName = "Is Important",
                DisplayName = "Is Important",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Important",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("e6e05070-c28c-4935-9e2f-bb450ca97806"),
                SystemName = "Created On",
                DisplayName = "Created On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("3174aede-a2dc-4dc2-b989-6790bf629cd9"),
                SystemName = "Created By",
                DisplayName = "Created By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("bb0c5688-9e62-4e4a-8a46-5b5ee82b04a9"),
                SystemName = "Modified On",
                DisplayName = "Modified On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("43a4ce1a-8631-4e0f-a714-77edd2981549"),
                SystemName = "Modified By",
                DisplayName = "Modified By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("e35de7be-6485-43b3-a1a2-0ede44dce446"),
                SystemName = "Is Active",
                DisplayName = "Is Active",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Active",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("aed87276-08aa-4c06-9f82-4b644cde9ea0"),
                SystemName = "Is Deleted",
                DisplayName = "Is Deleted",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Deleted",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("a00fac4c-38ab-4ea3-b747-1a549d8f7727"),
                SystemName = "Sort Order",
                DisplayName = "Sort Order",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Sort Order",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppStageAction = new SmartObjectDefinition()
            {
                Id = new Guid("e9de772e-3ab7-417a-b07d-3acf862fbddd"),
                SystemName = "K2App_Core_SMO_AppStageAction",
                DisplayName = "K2 App Core App Stage Action",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppStageActionProperties
            };

            #endregion App Stage Action

            return AppStageAction;
        }
        public SmartObjectDefinition GetDefinition()
        {
            #region App Type Action
            List<SmartObjectProperty> AppTypeActionProperties = new List<SmartObjectProperty>();
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{33584F58-FBAA-49E2-AFAF-1AFF17C4E3C9}"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{9BF2D650-D523-4B14-9B70-AC26C99B209D}"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{70276D72-34BF-4F0C-A98D-6B52BC46AB4B}"),
                SystemName = "Description",
                DisplayName = "Description",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Description",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{8A3D1F5C-CD1A-4979-A8F9-1AA4AF60A9F3}"),
                SystemName = "App Type ID",
                DisplayName = "App Type ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "App Type ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{C7F3992F-8274-4C7D-874B-D86E9BB598CB}"),
                SystemName = "Icon ID",
                DisplayName = "Icon ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "Icon",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{0B0619A4-81A4-4370-B20D-BA105DB9238F}"),
                SystemName = "Action Form",
                DisplayName = "Action Form",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Icon",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{B07122D9-82C8-4C8E-96BB-1B977ACBCFA9}"),
                SystemName = "Is Important",
                DisplayName = "Is Important",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Important",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{756B60A6-9D8D-4DC9-BE37-F810D70820E2}"),
                SystemName = "Created On",
                DisplayName = "Created On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{C5350449-9E01-4348-823E-65A8FA94EC52}"),
                SystemName = "Created By",
                DisplayName = "Created By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{6F26A498-C30A-4D5A-B4C7-2D2F4F2D9245}"),
                SystemName = "Modified On",
                DisplayName = "Modified On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{2DBF8A78-366F-4338-93CA-F67B30A7766D}"),
                SystemName = "Modified By",
                DisplayName = "Modified By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{3A4CDD31-1270-4024-B392-18CF2B3F9786}"),
                SystemName = "Is Active",
                DisplayName = "Is Active",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Active",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{FD13C80F-6B65-4D3A-A402-082206B11540}"),
                SystemName = "Is Deleted",
                DisplayName = "Is Deleted",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Deleted",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeActionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("{7C55D04A-5204-4EA2-86FE-277FB3ECD1FB}"),
                SystemName = "Sort Order",
                DisplayName = "Sort Order",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Sort Order",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppTypeAction = new SmartObjectDefinition()
            {
                Id = new Guid("{1C4B0B36-DAC8-44D3-892F-737291FD3EA4}"),
                SystemName = "K2App_Core_SMO_AppTypeAction",
                DisplayName = "K2 App Core App Type Action",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppTypeActionProperties
            };

            #endregion App Type Action

            return AppTypeAction;
        }
예제 #3
0
        public SmartObjectDefinition GetDefinition()
        {
            #region App Type
            List<SmartObjectProperty> AppTypeProperties = new List<SmartObjectProperty>();
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("80171a5b-0252-4a6c-99c4-437b0cc22291"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("3343bc27-11f5-45a9-aeb5-d4ec1db24bf3"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("06a714e5-7968-46f1-ae98-cd8f4655cd94"),
                SystemName = "Description",
                DisplayName = "Description",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Description",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("b1e95c0c-8137-4ec2-b5a2-b8541e9e260d"),
                SystemName = "Prefix",
                DisplayName = "Prefix",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Prefix",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("69113266-1BBE-4FEF-AEA3-5C45E8847A99"),
                SystemName = "Icon ID",
                DisplayName = "Icon ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "Icon ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("735CCBBF-83E2-43BF-BD7B-96673B4C0DDD"),
                SystemName = "Default Stage Id",
                DisplayName = "Default Stage Id",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Default Stage Id",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("0c628ec3-ad6b-4a32-a43f-babbde402b3a"),
                SystemName = "Default Status Id",
                DisplayName = "Default Status Id",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Default Status Id",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("5f2f0cd4-9d0b-4698-be5e-cadaeb0d0031"),
                SystemName = "Default KPI Id",
                DisplayName = "Default KPI Id",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "Default KPI Id",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("caa7a92f-d5b8-42bd-835f-988d6d05a206"),
                SystemName = "Default Priority Id",
                DisplayName = "Default Priority Id",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "Default Priority Id",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("42ba7e34-27f1-4ed0-b929-13fa0e458ce6"),
                SystemName = "Start Form",
                DisplayName = "Start Form",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Start Form",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("8744e514-4130-496e-aa82-df64738bd84f"),
                SystemName = "Update Form",
                DisplayName = "Update Form",
                DataType = SmODataType.Memo,
                Description = "Update Form",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("E35DB339-8262-4B81-A610-C89A391193E6"),
                SystemName = "View Form",
                DisplayName = "View Form",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "View Form",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("031e6acd-56ce-4e5b-a9a3-4c011f4e2859"),
                SystemName = "Management Form",
                DisplayName = "Management Form",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Management Form",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("73276fa9-d0c2-4589-ae65-5f428409c046"),
                SystemName = "Expected Duration Minutes",
                DisplayName = "Expected Duration Minutes",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Expected Duration Minutes",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("51c5a3a0-99b1-46a7-8c50-502dc04256c8"),
                SystemName = "Created On",
                DisplayName = "Created On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("ee302f48-7164-4ac6-b4fd-192678c2eecd"),
                SystemName = "Created By",
                DisplayName = "Created By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("8c07d39a-26e2-44b8-a05a-180321829a39"),
                SystemName = "Modified On",
                DisplayName = "Modified On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("f011ad91-7508-410a-bb40-0b24fb1e3f0d"),
                SystemName = "Modified By",
                DisplayName = "Modified By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("4392e79e-3dde-44f4-80f4-5dd9a1939ead"),
                SystemName = "Is Active",
                DisplayName = "Is Active",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Active",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("4619e805-3dda-4041-b52b-54a0bae15046"),
                SystemName = "Is Deleted",
                DisplayName = "Is Deleted",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Deleted",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppTypeProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("16422f43-4761-42d6-abc5-06cb635c8f2a"),
                SystemName = "Sort Order",
                DisplayName = "Sort Order",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Sort Order",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppType = new SmartObjectDefinition()
            {
                Id = new Guid("5a82e2fc-cd5b-4346-b508-d01095a51de3"),
                SystemName = "K2App_Core_SMO_AppType",
                DisplayName = "K2 App Core App Type",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppTypeProperties
            };

            #endregion App Type

            return AppType;
        }
예제 #4
0
        public SmartObjectDefinition GetDefinition()
        {
            #region App KPI
            List<SmartObjectProperty> AppKPIProperties = new List<SmartObjectProperty>();
            AppKPIProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("868639c3-b7b0-4bd6-b3dc-101c80ce7b48"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppKPIProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("fcd6471e-e288-4ea5-ba9e-ba32d5695745"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppKPIProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("28a62585-80bd-45af-a61f-a2c561dbc48b"),
                SystemName = "Description",
                DisplayName = "Description",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Description",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppKPIProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("3DAF77E5-855A-4372-981C-E8313C71A348"),
                SystemName = "Sort Order",
                DisplayName = "Sort Order",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Sort Order",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppKPI = new SmartObjectDefinition()
            {
                Id = new Guid("c501ff73-20ef-44ac-a5fe-9e35fc92df79"),
                SystemName = "K2App_Core_SMO_AppKPI",
                DisplayName = "K2 App Core App KPI",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppKPIProperties
            };

            #endregion App KPI

            return AppKPI;
        }
        public SmartObjectDefinition GetDefinition()
        {
            #region App Business Audit
            List<SmartObjectProperty> AppBusinessAuditProperties = new List<SmartObjectProperty>();
            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("6784bc80-504b-454e-81c1-06c6d76c330d"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("96e61275-e815-4bfc-9fde-fefc672fd4be"),
                SystemName = "App Instance ID",
                DisplayName = "App Instance ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "App Instance ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("72301b5a-f2ff-4e59-a4c9-1383515cae5c"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("6be11228-9bdb-46e4-ad99-32cfb487ac9b"),
                SystemName = "Description",
                DisplayName = "Description",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Description",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("3dfb423b-0fb1-47bd-8644-fb89cb824085"),
                SystemName = "Type",
                DisplayName = "Type",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Type",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });

            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("72301b5a-f2ff-4e59-a4c9-1383515cae5c"),
                SystemName = "Source",
                DisplayName = "Source",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Source",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });

            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("20b9b65b-cf0a-4434-ad57-4907e4feeca0"),
                SystemName = "Created On",
                DisplayName = "Created On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("5438611e-08ed-44d8-8d83-4b21041b243a"),
                SystemName = "Created By",
                DisplayName = "Created By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppBusinessAuditProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("daa6b9d8-0994-4386-a1fc-2207a08079f7"),
                SystemName = "Created By FQN",
                DisplayName = "Created By FQN",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created By FQN",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppBusinessAudit = new SmartObjectDefinition()
            {
                Id = new Guid("5a3c77f1-731f-4930-a1ec-533dd8300ff3"),
                SystemName = "K2App_Core_SMO_AppBusinessAudit",
                DisplayName = "K2 App Core App Business Audit",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppBusinessAuditProperties
            };

            #endregion App Business Audit

            return AppBusinessAudit;
        }
        public SmartObjectDefinition GetDefinition()
        {
            #region App Exception
            List<SmartObjectProperty> AppExceptionProperties = new List<SmartObjectProperty>();
            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("7e42ee3b-2d8b-4ef9-8e30-c307eef8c118"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("3e7771d5-8eff-4570-b063-98b4ac80c131"),
                SystemName = "App Instance ID",
                DisplayName = "App Instance ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "App Instance ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("464e7bfe-9b93-474d-902c-4e78f3229206"),
                SystemName = "Message",
                DisplayName = "Message",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Message",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("71a66dc4-0c05-4047-a78e-113393afbe25"),
                SystemName = "Details",
                DisplayName = "Details",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Details",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("bc3c0c19-8854-4e4d-b867-f65dba0bbec7"),
                SystemName = "Type",
                DisplayName = "Type",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Type",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });

            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("b1eb076b-ea42-45d4-a3ea-0133b4c0fe69"),
                SystemName = "Source Type",
                DisplayName = "Source Type",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Source Type",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });

            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("7919b05e-7447-40af-8182-d8fb42bc2238"),
                SystemName = "Source ID",
                DisplayName = "Source ID",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Source ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("12f2203b-047a-49da-ae78-75e3480d9019"),
                SystemName = "Source Name",
                DisplayName = "Source Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Source Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });

            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("180f39c2-ebc2-4b22-bb01-134cdae838d9"),
                SystemName = "Status",
                DisplayName = "Status",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Status",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });

            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("18b9037d-d9d7-4471-bd41-2dccf32e15cf"),
                SystemName = "Notes",
                DisplayName = "Notes",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Notes",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            AppExceptionProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("a7f4148d-1aa2-436a-96a1-237248eeb42b"),
                SystemName = "Created On",
                DisplayName = "Created On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppException = new SmartObjectDefinition()
            {
                Id = new Guid("0c020fc7-8611-4826-9399-904ba5873100"),
                SystemName = "K2App_Core_SMO_AppException",
                DisplayName = "K2 App Core App Exception",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppExceptionProperties
            };

            #endregion App Exception

            return AppException;
        }
        public SmartObjectDefinition GetDefinition()
        {
            #region App Process
            List<SmartObjectProperty> AppProcessProperties = new List<SmartObjectProperty>();
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("278cc710-e6b5-4ea0-8c59-44614a0e2b5d"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("ad91fb25-8220-4584-a52c-523cb97a5754"),
                SystemName = "App Instance ID",
                DisplayName = "App Instance ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "App Instance ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("3f943ee8-e1ed-4012-ad8c-33d124cd5155"),
                SystemName = "Process Instance ID",
                DisplayName = "Process Instance ID",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Process Instance ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("89a97e98-f520-46d8-854a-261e404ed99f"),
                SystemName = "Process Name",
                DisplayName = "Process Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Process Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("8d4ce733-6049-492e-b352-873a9a2c4665"),
                SystemName = "Process Folder",
                DisplayName = "Process Folder",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Process Folder",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("495ddde5-2d68-4bee-988d-779410933135"),
                SystemName = "Folio",
                DisplayName = "Folio",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Folio",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("541478e6-3e2f-476e-bda9-84bc5df8910c"),
                SystemName = "Originator",
                DisplayName = "Originator",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Originator",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("072be15d-73ca-47b7-96d2-e939ca0e85b9"),
                SystemName = "Originator FQN",
                DisplayName = "Originator FQN",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Originator FQN",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("270ce6c1-93d9-42c7-bd89-00ca58cf8618"),
                SystemName = "View Flow Url",
                DisplayName = "View Flow Url",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "View Flow Url",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("61b4b488-351b-4427-84c1-3d4a406b6377"),
                SystemName = "KPI",
                DisplayName = "KPI",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "KPI",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("c8b2cf9f-b292-425d-a924-220851d5b430"),
                SystemName = "Priority",
                DisplayName = "Priority",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Priority",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("2a379df6-c7e2-4666-abdd-991526dd5ee6"),
                SystemName = "Due Date",
                DisplayName = "Due Date",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Due Date",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("6c532c38-19c7-45f0-93f3-bcca93236b9a"),
                SystemName = "Expected Duration Minutes",
                DisplayName = "Expected Duration Minutes",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Expected Duration Minutes",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("a3a8e2fa-8fcc-40ee-9ba0-934429c082e2"),
                SystemName = "Completed On",
                DisplayName = "Completed On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Completed On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("fb72d552-14d7-4a81-a0b1-37f2b06db9f1"),
                SystemName = "Final Activity",
                DisplayName = "Final Activity",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Final Activity",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("ac7e7357-0b02-4612-9210-94c5186328a4"),
                SystemName = "Created On",
                DisplayName = "Created On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("9d458c80-c419-45c2-9b2a-8382a62ce045"),
                SystemName = "Created By",
                DisplayName = "Created By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("532b58ce-a0c1-4e02-8aba-0ab6b0afb776"),
                SystemName = "Is Primary",
                DisplayName = "Is Primary",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Primary",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppProcessProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("ee7b097b-555d-4df3-aa01-87a69127963d"),
                SystemName = "Is Deleted",
                DisplayName = "Is Deleted",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Deleted",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppProcess = new SmartObjectDefinition()
            {
                Id = new Guid("2A2FED0D-3141-411C-96A7-2EC1CDD1E78E"),
                SystemName = "K2App_Core_SMO_AppProcess",
                DisplayName = "K2 App Core App Process",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppProcessProperties
            };

            #endregion App Process

            return AppProcess;
        }
예제 #8
0
        public SmartObjectDefinition GetDefinition()
        {
            #region App Image
            List<SmartObjectProperty> AppImageProperties = new List<SmartObjectProperty>();
            AppImageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("414371F7-D3F7-4F8B-AC99-9136F27BAD80"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppImageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("A5C7B114-823F-470E-8225-CA834030D7D3"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppImageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("04110DDA-CB56-452E-97B2-3A0754D54B9F"),
                SystemName = "Image",
                DisplayName = "Image",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Image",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppImageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("82d3db5b-13dc-46c5-97d1-f68b30b3c09f"),
                SystemName = "Width",
                DisplayName = "Width",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Width",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppImageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("C16B9C00-AA6F-4F7F-8A25-28924BCA02A1"),
                SystemName = "Height",
                DisplayName = "Height",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Height",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppImage = new SmartObjectDefinition()
            {
                Id = new Guid("2B6767B7-B2EA-4258-AF7C-420CC45BE68F"),
                SystemName = "K2App_Core_SMO_AppImage",
                DisplayName = "K2 App Core App Image",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppImageProperties
            };

            #endregion App Image

            return AppImage;
        }
예제 #9
0
        public SmartObjectDefinition GetDefinition()
        {
            #region App Stage
            List<SmartObjectProperty> AppStageProperties = new List<SmartObjectProperty>();
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("e40966e7-a543-44e9-8112-72d1949a3d01"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("5e842a88-c033-423f-bb48-540fa02bdbb3"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("9b232d25-b69b-47ba-aff4-34c8f05429bd"),
                SystemName = "Description",
                DisplayName = "Description",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Description",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("82d3db5b-13dc-46c5-97d1-f68b30b3c09f"),
                SystemName = "App Type ID",
                DisplayName = "App Type ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "App Type ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("b8ca9c32-ae37-4e11-90fb-676c5b2a2442"),
                SystemName = "Created On",
                DisplayName = "Created On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("c4e6be27-c5c3-46cf-b79f-dae6b82fea22"),
                SystemName = "Created By",
                DisplayName = "Created By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("1ce0d378-a221-4f68-ac3c-95d0f5f3726f"),
                SystemName = "Modified On",
                DisplayName = "Modified On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("6a0c05be-7fda-4d8c-8e0d-940bfeefbcda"),
                SystemName = "Modified By",
                DisplayName = "Modified By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("daf6d1ab-31b4-48a5-89cc-0ee101232f59"),
                SystemName = "Is Active",
                DisplayName = "Is Active",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Active",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("17bc2ed1-96a3-4a43-b26f-15944d60648b"),
                SystemName = "Is Deleted",
                DisplayName = "Is Deleted",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Deleted",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStageProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("41a91519-fe65-4285-8b92-8ae400fdaeb5"),
                SystemName = "Sort Order",
                DisplayName = "Sort Order",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Sort Order",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppStage = new SmartObjectDefinition()
            {
                Id = new Guid("6d8facc6-40da-4a74-b8cc-f9bec1b9cc25"),
                SystemName = "K2App_Core_SMO_AppStage",
                DisplayName = "K2 App Core App Stage",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppStageProperties
            };

            #endregion App Stage

            return AppStage;
        }
예제 #10
0
        public SmartObjectDefinition GetDefinition()
        {
            #region App Status
            List<SmartObjectProperty> AppStatusProperties = new List<SmartObjectProperty>();
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("848b95c5-8c19-4126-b2c6-607c74379acb"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("0b78f957-9c78-4a93-879b-f9eb5598cc97"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("8e4f908a-9167-4585-b53f-2a6004d2b487"),
                SystemName = "Description",
                DisplayName = "Description",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Description",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("c6f17c74-7082-499a-884b-85a7f88973b6"),
                SystemName = "App Type ID",
                DisplayName = "App Type ID",
                DataType = SmODataType.Guid,
                ExtendType = ExtendPropertyType.Default,
                Description = "App Type ID",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("b3c5f0a5-3963-4818-8ed2-2d5bdc1232b6"),
                SystemName = "Created On",
                DisplayName = "Created On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("f472c4e5-2156-4f4c-bf39-860ff690017f"),
                SystemName = "Created By",
                DisplayName = "Created By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Created By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("c89cb3fb-025e-4735-b686-4a53ffec075e"),
                SystemName = "Modified On",
                DisplayName = "Modified On",
                DataType = SmODataType.DateTime,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified On",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("8cccc872-b6a7-483b-abb0-5e451fceede5"),
                SystemName = "Modified By",
                DisplayName = "Modified By",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Modified By",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("5a8a2dce-4587-4ece-90cb-86a6ab81d46d"),
                SystemName = "Is Active",
                DisplayName = "Is Active",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Active",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("bb66578c-32dc-41c5-a4fa-b8701f5f1246"),
                SystemName = "Is Deleted",
                DisplayName = "Is Deleted",
                DataType = SmODataType.YesNo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Is Deleted",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppStatusProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("85973573-35fe-4e68-bd07-7e7fadc6d9ba"),
                SystemName = "Sort Order",
                DisplayName = "Sort Order",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Sort Order",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppStatus = new SmartObjectDefinition()
            {
                Id = new Guid("7d89eee6-cda0-4e74-b47c-296acd4959a7"),
                SystemName = "K2App_Core_SMO.AppStatus",
                DisplayName = "K2 App Core App Status",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppStatusProperties
            };

            #endregion App Status

            return AppStatus;
        }
        public SmartObjectDefinition GetDefinition()
        {
            #region App Priority
            List<SmartObjectProperty> AppPriorityProperties = new List<SmartObjectProperty>();
            AppPriorityProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("9ea784c1-d5af-45b4-bc45-750acc399a86"),
                SystemName = "ID",
                DisplayName = "ID",
                DataType = SmODataType.AutoGuid,
                ExtendType = ExtendPropertyType.UniqueIdAuto,
                Description = "ID",
                IsKey = true,
                IsRequired = true,
                IsUnique = true,
                IsSmartBox = true,
            });
            AppPriorityProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("72301b5a-f2ff-4e59-a4c9-1383515cae5c"),
                SystemName = "Name",
                DisplayName = "Name",
                DataType = SmODataType.Text,
                ExtendType = ExtendPropertyType.Default,
                Description = "Name",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
                MaxSize = 500
            });
            AppPriorityProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("99cdb9e1-e140-4b86-a2f9-e5174eb4c9c6"),
                SystemName = "Description",
                DisplayName = "Description",
                DataType = SmODataType.Memo,
                ExtendType = ExtendPropertyType.Default,
                Description = "Description",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });
            AppPriorityProperties.Add(new SmartObjectProperty()
            {
                Id = new Guid("58A881FF-0723-4FCC-93B5-A5A1A9638102"),
                SystemName = "Sort Order",
                DisplayName = "Sort Order",
                DataType = SmODataType.Number,
                ExtendType = ExtendPropertyType.Default,
                Description = "Sort Order",
                IsKey = false,
                IsRequired = false,
                IsUnique = false,
                IsSmartBox = true,
            });

            SmartObjectDefinition AppPriority = new SmartObjectDefinition()
            {
                Id = new Guid("74c9793e-e9cc-44b7-8f03-465b40abe117"),
                SystemName = "K2App_Core_SMO_AppPriority",
                DisplayName = "K2 App Core App Priority",
                ServiceInstanceId = new Guid(ServiceInstanceTypes.SmartBox),
                Properties = AppPriorityProperties
            };

            #endregion App Priority

            return AppPriority;
        }