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": ""
}
]
}
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!