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

Activities of "gryphon644"

Hello, i've used the RAD tool to generate a new entity (Group.json)

here is my Json file

{
    "IsRegenerate": false,
    "MenuPosition": "main",
    "RelativeNamespace": "Groups",
    "EntityName": "Group",
    "EntityNamePlural": "Groups",
    "TableName": "Groups",
    "PrimaryKeyType": "int",
    "BaseClass": "Entity",
    "EntityHistory": false,
    "AutoMigration": false,
    "UpdateDatabase": false,
    "CreateUserInterface": true,
    "CreateViewOnly": true,
    "CreateExcelExport": true,
    "PagePermission": {
        "Host": true,
        "Tenant": true
    },
    "Properties": [{
            "Name": "GroupName",
            "Type": "string",
            "MaxLength": 35,
            "MinLength": 2,
            "Range": {
                "IsRangeSet": false,
                "MinimumValue": 0,
                "MaximumValue": 0
            },
            "Required": true,
            "Nullable": false,
            "Regex": "",
            "UserInterface": {
                "List": true,
                "AdvancedFilter": true,
                "CreateOrUpdate": true
            }
        },
        {
            "Name": "GroupeType",
            "Type": "grouptype",
            "MaxLength": 35,
            "MinLength": 2,
            "Range": {
                "IsRangeSet": false,
                "MinimumValue": 0,
                "MaximumValue": 0
            },
            "Required": false,
            "Nullable": false,
            "Regex": "",
            "UserInterface": {
                "List": true,
                "AdvancedFilter": true,
                "CreateOrUpdate": true
            }
        },
        {
            "Name": "ServicingAgent",
            "Type": "string",
            "MaxLength": 35,
            "MinLength": 2,
            "Range": {
                "IsRangeSet": false,
                "MinimumValue": 0,
                "MaximumValue": 0
            },
            "Required": false,
            "Nullable": false,
            "Regex": "",
            "UserInterface": {
                "List": true,
                "AdvancedFilter": true,
                "CreateOrUpdate": true
            }
        },
        {
            "Name": "FedTaxID",
            "Type": "string",
            "MaxLength": 35,
            "MinLength": 2,
            "Range": {
                "IsRangeSet": false,
                "MinimumValue": 0,
                "MaximumValue": 0
            },
            "Required": false,
            "Nullable": false,
            "Regex": "",
            "UserInterface": {
                "List": true,
                "AdvancedFilter": true,
                "CreateOrUpdate": true
            }
        }
    ],
    "NavigationProperties": [{
        "Namespace": "A365.Authorization.Users",
        "ForeignEntityName": "User",
        "IdType": "long",
        "IsNullable": true,
        "PropertyName": "UserId",
        "DisplayPropertyName": "Name",
        "DuplicationNumber": 0,
        "RelationType": "single"
    }],
    "EnumDefinitions": [{
        "Name": "grouptype",
        "Namespace": "A365",
        "EnumProperties": [{
                "Name": "Prospect",
                "Value": 1
            },
            {
                "Name": "Client",
                "Value": 2
            },
            {
                "Name": "X-Client",
                "Value": 3
            },
            {
                "Name": "X-Prospect",
                "Value": 4
            },
            {
                "Name": "Agency",
                "Value": 5
            }
        ]
    }]
}

The Generation went well then i tried to run my Web.Host project but VS showed this issue! From what i've seen, the code doesn't see the enum (GroupType) and i wonder why? Can anybody help please?

Worked. Thanks

Hello, I'm using Mac OSX and following this doc https://docs.aspnetzero.com/documents/aspnet-core-angular/latest/Getting-Started-MacOSX to run the application on my mac but facing this issue when i run 'dotnet ef database update'. Can you help me figure out whats really wrong?

Showing 31 to 33 of 33 entries