Starts in:
2 DAYS
11 HRS
24 MIN
10 SEC
Starts in:
2 D
11 H
24 M
10 S

Activities of "isteer"

How I can share logs as I can not attach log txt file and can not copy logs text as it is not allowing me to post big logs text.

hi

please share the logs of these three websites.

Hello Please find attached logs here

Hi,

This looks like a common query form, we have an easy-crm example that covers this: https://easycrm.abp.io/

You can download the complete source code from https://abp.io/api/download/samples/easy-crm

Here the thing is I have two databases Database one is connected to Mainapp and database2 is connected with Module know in Module I am getting the data of my Mainapp through API I am fetching the users based on role in the module I have one entity named called as Candidate and I have full crud page for that here I want to add another one dropdown while creating the Candidate in dropdown I want to show the data which is coming from the API and i want to Store the Selected Value through Dropdown in Candidate Table in database

@liangshiwei thanks for your replay This is the Major things where we have stucked through That API Approach, I am able to create API and get the user Data through API Know I have One Candidate Table and I have created a CRUD page for that. The Data I am getting I want to show in the Candidate Table in the form of a Dropdown And the selected Value of the Dropdown I want to store in the Database is in Candidate Table Can you help me with this thing... can you update this thing in https://github.com/realLiangshiwei/Qa4516 this project only.

@liangshiwei Can you Please Help me with this

@liangshiwei thanks for your replay through That API Approach, I am able to create API and get the user Data through API Know I have One Candidate Table and I have created a CRUD page for that. The Data I am getting I want to show in the Candidate Table in the form of a Dropdown And the selected Value of the Dropdown I want to store in the Database are in Candidate Table Can you help me with this thing... can you update this thing in https://github.com/realLiangshiwei/Qa4516 this project only.

@liangshiwei thanks for your replay This is the Major things where we have stucked through That API Approach, I am able to create API and get the user Data through API Know I have One Candidate Table and I have created a CRUD page for that. The Data I am getting I want to show in the Candidate Table in the form of a Dropdown And the selected Value of the Dropdown I want to store in the Database is in Candidate Table Can you help me with this thing... can you update this thing in https://github.com/realLiangshiwei/Qa4516 this project only.

@liangshiwei thanks for your replay through That API Approach, I am able to create API and get the user Data through API Know I have One Candidate Table and I have created a CRUD page for that. The Data I am getting I want to show in the Candidate Table in the form of a Dropdown And the selected Value of the Dropdown I want to store in the Database are in Candidate Table Can you help me with this thing... can you update this thing in https://github.com/realLiangshiwei/Qa4516 this project only.

Hi,

You can check it: https://support.abp.io/QA/Questions/4483/After-login-It-is-not-redirecting-to-swagger-page#answer-0dac1928-15ab-ea7a-ad93-3a093a97493f

but I am running this application in local system my laptop

Hi,

See: https://docs.abp.io/en/commercial/latest/abp-suite/generating-crud-page#navigation-properties

ABP Suite allows you to create a navigation property for 1-to-many (1:N) and many-to-many (N:N) relationships.

You can't do it with the ABP suite, but it's easy to do yourself:

public class MyEntity1 : AggregateRoot<Guid> 
{ 
    public MyEntity1(Guid id) 
    { 
        Id = id; 
    } 
 
    public string Name { get; set; } 
 
    public Guid MyEntity2Id { get; set; } 
    public virtual MyEntity2 MyEntity2 { get; set; } 
} 
 
public class MyEntity2 : AggregateRoot<Guid> 
{ 
    public MyEntity2(Guid id) 
    { 
        Id = id; 
    } 
 
 
    public string Name { get; set; } 
 
    public Guid MyEntity1Id { get; set; } 
    public virtual MyEntity1 MyEntity1 { get; set; } 
} 
 
public DbSet<MyEntity1> MyEntityTest { get; set; } 
public DbSet<MyEntity2> MyEntityTest2 { get; set; } 
 
builder.Entity<MyEntity1>(b => 
{ 
    b.HasOne(x => x.MyEntity2) 
        .WithOne(x => x.MyEntity1) 
        .HasForeignKey<MyEntity2>(x => x.MyEntity1Id) 
        .OnDelete(DeleteBehavior.Cascade); 
}); 
public class TestAppService : QaAppService 
{ 
    private readonly IRepository<MyEntity1> _myEntity1Repository; 
 
    public TestAppService(IRepository<MyEntity1> myEntity1Repository) 
    { 
        _myEntity1Repository = myEntity1Repository; 
    } 
 
    public async Task CreateAsync() 
    { 
        var entity1Id = GuidGenerator.Create(); 
        var entity2Id = GuidGenerator.Create(); 
        var entity = new MyEntity1(entity1Id) 
        { 
            Name = "test", 
            MyEntity2Id = entity2Id, 
            MyEntity2 = new MyEntity2(entity2Id) 
            { 
                MyEntity1Id = entity1Id, 
                Name = "test2" 
            } 
        }; 
 
        await _myEntity1Repository.InsertAsync(entity); 
    } 
 
    public async Task DeleteAsync() 
    { 
        var entity = await (await _myEntity1Repository.GetQueryableAsync()).Include(x=>x.MyEntity2).FirstOrDefaultAsync(); 
 
        await _myEntity1Repository.DeleteAsync(entity); 
    } 
} 

Deleting a Myentity1 will also delete the Myentity2, but, of course, not the other way around

Note: Only deleting the principal entity will cascade delete the dependent entity. Vice-versa is not possible.

If you want to delete any entity, the records of other tables will be deleted. You need to delete them manually.

@liangshiwei thanks for your replay

Actually, when I am running my application I am getting this exception please help me with This

The code is running fine with my other team but when I am trying to run the application i am getting this error

@liangshiwei Thanks For your replay Can you provide a solution for this, please? Actually, 1 four tables in one database I want to create the one is to one relationship between their tables each table is interconnected to each other if I delete one record of one table It should delete the respected records of another table I want to generate the crud page for all this table. want each and every table to connect one on one with the Table of Candidates. this is the main table I want all the tables to connect one on one to the Candidates' table. In the ABP suite, there is the only option of 1-N and N-N but how can I do 1-1 please help me with this... Thanks

Showing 71 to 80 of 85 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06