<cite>ryancyq: </cite>
<cite>luqc1985: </cite> I want to implement modular development based on .net core. Like the sample code, I am not sure how to define it based on the configuration of IDesignTimeDbContextFactory. I am now adding a Factory class, and then directly specify the link string, I think like the sample code, without this class, directly by the configuration file?
Thanks
I assumed that you are referring to configuration for assembly definition in the config file? I could't find the config file you mentioned In the link provided, do you mean app.config?
What I really want is that the Blog in the example implements modular development in the form of abp. core, and the Factory in the class library Abp. Samples. Blog. EntityFramework uses configuration files. I'm not sure how to configure it. I'm adding a class library to do this. But I still hope it can be done only through configuration.
In addition, when I migrate, I want to migrate only my new tables, not the underlying tables in AbpZeroDbContext.
Can you help me look at it? Is there any solution?
Thanks
<cite>luqc1985: </cite>
<cite>luqc1985: </cite> I want to implement modular development based on .net core. Like the sample code, I am not sure how to define it based on the configuration of IDesignTimeDbContextFactory. I am now adding a Factory class, and then directly specify the link string, I think like the sample code, without this class, directly by the configuration file?
Thanks
In addition, when I am modularizing, I will add the infrastructure in AbpZeroDbContext. Because this is a separate module, can I just add the table migration I need?
In the example, the migration file is only the newly added table when it is initialized, or is it all files when it is initialized, and then manually deleted?
<cite>luqc1985: </cite> I want to implement modular development based on .net core. Like the sample code, I am not sure how to define it based on the configuration of IDesignTimeDbContextFactory. I am now adding a Factory class, and then directly specify the link string, I think like the sample code, without this class, directly by the configuration file?
Thanks
In addition, when I am modularizing, I will add the infrastructure in AbpZeroDbContext. Because this is a separate module, can I just add the table migration I need?
I want to implement modular development based on .net core. Like the sample code, I am not sure how to define it based on the configuration of IDesignTimeDbContextFactory. I am now adding a Factory class, and then directly specify the link string, I think like the sample code, without this class, directly by the configuration file?
Thanks