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

Activities of "pmagentur2"

Answer

Sure here it is:

{
    "IsRegenerate": false,
    "MenuPosition": "main",
    "RelativeNamespace": "Customers",
    "EntityName": "Customer",
    "EntityNamePlural": "Customers",
    "TableName": "Customers",
    "PrimaryKeyType": "int",
    "BaseClass": "Entity",
    "EntityHistory": false,
    "AutoMigration": true,
    "UpdateDatabase": true,
    "CreateUserInterface": true,
    "CreateViewOnly": true,
    "CreateExcelExport": true,
    "PagePermission": {
         "Host": true,
         "Tenant": true
    },
    "Properties": [
              {
                "Name": "Name",
                "Type": "string",
                "MaxLength": 25,
                "MinLength": 2,
                "Required": true,
                "Nullable": false,
                "Regex": ""

              }

    ]

  }
Answer

I tried it with Zero 8.4 and 8.5, both throuigh an exception during generating.

Hi @ismcagdas,

sure I installed your extension on visual studio 2019. Then I went Tools->Asp.Net Zero-> Create Entity Here is the generated Test json file:

{
  "IsRegenerate": true,
  "MenuPosition": "main",
  "RelativeNamespace": "Clients",
  "EntityName": "Client",
  "EntityNamePlural": "Clients",
  "TableName": "Clients",
  "PrimaryKeyType": "int",
  "BaseClass": "FullAuditedEntity",
  "EntityHistory": true,
  "AutoMigration": true,
  "UpdateDatabase": true,
  "CreateUserInterface": false,
  "CreateViewOnly": true,
  "CreateExcelExport": false,
  "PagePermission": {
    "Host": true,
    "Tenant": true
  },
  "Properties": [
    {
      "Name": "Name",
      "Type": "string",
      "MaxLength": 100,
      "MinLength": 1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0,
        "MaximumValue": 0
      },
      "Required": true,
      "Nullable": false,
      "Regex": "",
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      }
    }
  ],
  "NavigationProperties": [],
  "EnumDefinitions": [],
  "DbContext": null
}

Thanks!

Showing 1 to 3 of 3 entries