Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "kworkme"

Thank you, I already fixed it manually. I will wait for next version of tool.

ASP.NET Zero Power Tools: 4.2.0 Visual Studio IDE: Community 2022 (64-bit) Version 17.9.0 AppVersion: Upgrading from 10.3.0 -> 13.1.0

There is an error of TEntity when I did generate an entity. How can I fix it? For now, I can fix by add datatype (Guid) to code like below, but I have to do that everytime do generation. Is there other way better to fix? IRepository<Project> repository, -> IRepository<Project, Guid> repository,

{
  "IsRegenerate": true,
  "MenuPosition": "main",
  "RelativeNamespace": "Bots",
  "EntityName": "ScheduleDay",
  "EntityNamePlural": "ScheduleDaySet",
  "TableName": "ScheduleDaySet",
  "PrimaryKeyType": "Guid",
  "BaseClass": "FullAuditedEntity",
  "EntityHistory": false,
  "AutoMigration": true,
  "UpdateDatabase": true,
  "CreateUserInterface": true,
  "CreateViewOnly": true,
  "CreateExcelExport": true,
  "CreateExcelImport": true,
  "IsNonModalCRUDPage": true,
  "IsMasterDetailPage": false,
  "GenerateOverridableEntity": false,
  "GenerateUnitTest": false,
  "GenerateUiTest": false,
  "PagePermission": {
    "Host": true,
    "Tenant": true
  },
  "Properties": [
    {
      "Name": "WeekDay",
      "Type": "int",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "TimeStart1",
      "Type": "DateTime",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "TimeStop1",
      "Type": "DateTime",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "TimeStart2",
      "Type": "DateTime",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "TimeStop2",
      "Type": "DateTime",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    }
  ],
  "NavigationProperties": [
    {
      "Namespace": "Kw.BA.Bots",
      "ForeignEntityName": "Schedule",
      "ForeignEntityNamePlural": "Schedules",
      "IdType": "Guid",
      "IsNullable": false,
      "PropertyName": "ScheduleId",
      "DuplicationNumber": 0,
      "RelationType": "single",
      "ViewType": "LookupTable",
      "DisplayPropertyNameInfos": {
        "MergeFormat": "{0}",
        "DisplayPropertyNames": [
          "Name"
        ]
      }
    }
  ],
  "NavigationPropertyOneToManyTables": [],
  "EnumDefinitions": [],
  "DbContext": null
}
{
  "IsRegenerate": true,
  "MenuPosition": "main",
  "RelativeNamespace": "Bots",
  "EntityName": "AIReply",
  "EntityNamePlural": "AIReplySet",
  "TableName": "AIReplySet",
  "PrimaryKeyType": "Guid",
  "BaseClass": "FullAuditedEntity",
  "EntityHistory": true,
  "AutoMigration": true,
  "UpdateDatabase": true,
  "CreateUserInterface": true,
  "CreateViewOnly": true,
  "CreateExcelExport": true,
  "CreateExcelImport": true,
  "IsNonModalCRUDPage": true,
  "IsMasterDetailPage": false,
  "GenerateOverridableEntity": false,
  "GenerateUnitTest": false,
  "GenerateUiTest": false,
  "PagePermission": {
    "Host": true,
    "Tenant": true
  },
  "Properties": [
    {
      "Name": "Code",
      "Type": "string",
      "MaxLength": 50,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "Comment",
      "Type": "string",
      "MaxLength": 900,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "MinLoopCount",
      "Type": "int",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "Text",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "Name",
      "Type": "string",
      "MaxLength": 250,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "Command",
      "Type": "string",
      "MaxLength": 100,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "DelayAfter",
      "Type": "int",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "VariableName",
      "Type": "string",
      "MaxLength": 250,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "RegexPatternForVariable",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": false,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "NoOfVariableChecking",
      "Type": "int",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": false,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "SkipMessageIfVariableFilled",
      "Type": "bool",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": false,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "EnableAIEditing",
      "Type": "bool",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    }
  ],
  "NavigationProperties": [
    {
      "Namespace": "Kw.BA.Bots",
      "ForeignEntityName": "UseCase",
      "ForeignEntityNamePlural": "UseCases",
      "IdType": "Guid",
      "IsNullable": false,
      "PropertyName": "UseCaseId",
      "DuplicationNumber": 0,
      "RelationType": "single",
      "ViewType": "LookupTable",
      "DisplayPropertyNameInfos": {
        "MergeFormat": "{0}",
        "DisplayPropertyNames": [
          "Name"
        ]
      }
    },
    {
      "Namespace": "Kw.BA.Bots",
      "ForeignEntityName": "AIReplyTranslation",
      "ForeignEntityNamePlural": "AIReplyTranslations",
      "IdType": "Guid",
      "IsNullable": true,
      "PropertyName": "AIReplyTranslationId",
      "DuplicationNumber": 0,
      "RelationType": "single",
      "ViewType": "LookupTable",
      "DisplayPropertyNameInfos": {
        "MergeFormat": "{0}",
        "DisplayPropertyNames": [
          "Text"
        ]
      }
    }
  ],
  "NavigationPropertyOneToManyTables": [],
  "EnumDefinitions": [],
  "DbContext": null
}

ASP.NET Zero Power Tools: 4.2.0 Visual Studio IDE: Community 2022 (64-bit) Version 17.9.0 AppVersion: Upgrading from 10.3.0 -> 13.1.0

There are some error when I try to regenerate some entities with Multi-lingual

Navigation Properties: The class is unable to find, but it is stil on partial class of entity where I put class xxxTranslation When I click ok to open generator and go to tab Navigate Properties. It doesn't show the Display Property. It is happen almost on Translation classes, sometimes it happen with classes doesn't have string field too,

Sometimes, it show error when generate entity

Another issue:

How can we fix it? I want to attach json file so you can check it, but I dont find button to attach json

I am using AbpSession.UserId inside EF Core filter. However, I am trying to use impersonation with AbpSession.Use, but with no luck.

My current understanding is that EF Core filters are created at start of session. UserId gets read and stored in the filter at that time. When I use AbpSession.Use(2,2) method, I can see AbpSession.UserId is updated. However, it would seem EF Core filter does not re-retrieve the UserId.

How can I make EF Core filters update with the most recent UserId?

Hi,

Is there a way to make default tenant settings, or "seed" tenant settings when creating a new one. Especially anything in the administration menu: roles, permissions, visual styles, general settings.

Even better would be if there would be a way to transfer some of these administrated by the host and not the tenant - for example, visual settings would be an important such.

Showing 11 to 17 of 17 entries