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

Activities of "luqc1985"

Question

hi,

My project is based on MVC+JQuery When I add an Area based on the original, access via URL, as long as it is the first access to the Area, the loading time is very long, need special configuration?

Thanks

Thank you. That solved it...

If I need to use the SettingManager when I use ICustomValidate validation in inputDto, what do I need to do?

@michelmk2 I didn't notice , that I just tried it, it is also 404. Back to my account also needs to modify the corresponding link. There is no tenant information in the abp object, only appPath is found.

Hi, I have two properties A and B. I want to verify the rules of B when A is true. What should I do in my entity class? Thanks,

@ismcagdas Thanks, But the way you said this is to directly extend the properties. I want to get two tables for employees and customers. The basic data uses user data, and the newly added two tables store the extended attributes.

Question

Hello,

I need to divide users into employees and customers. Employees and customers need to expand some attributes. How should my entity be defined? Can you share your experience in this area?

Thanks in advance.

Thank you, I already understand the logic inside.

public class Form : FullAuditedEntity
{
    public virtual List<FlowUnit> FlowUnitList { get; set; }
}

If I add a navigation property to the Form, FlowUnitList, how should the query be written to get the list?

public class Form : FullAuditedEntity
{
}
[Table("Flows")]
public class FlowUnit : FullAuditedEntity
{
    public virtual long FormId { get; set; }

    [ForeignKey("FormId")]
    public virtual FormUnit FlowForm { get; set; }
}

I have such two tables, there is a primary foreign key relationship, after the data is migrated, when using Repository.GetAsync query, flowUnit.FlowForm is null, I am using EntityFrameworkCore.SqlServer, the previous EntityFramework version does not seem to Question, how can I make the flowUnit.FlowForm have a corresponding value? Can anyone help me for this ? <span class="colour" style="color: rgb(0, 0, 0);">Thanks in advance for any advice given.</span>

Showing 1 to 10 of 22 entries