You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							594 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							594 B
						
					
					
				
								using Microsoft.Extensions.DependencyInjection;
							 | 
						|
								using Shentun.Peis.EntityFrameworkCore;
							 | 
						|
								using Volo.Abp.Modularity;
							 | 
						|
								
							 | 
						|
								namespace Shentun.Peis;
							 | 
						|
								
							 | 
						|
								[DependsOn(
							 | 
						|
								    typeof(PeisApplicationModule),
							 | 
						|
								    typeof(PeisDomainTestModule)
							 | 
						|
								    )]
							 | 
						|
								public class PeisApplicationTestModule : AbpModule
							 | 
						|
								{
							 | 
						|
								    public override void ConfigureServices(ServiceConfigurationContext context)
							 | 
						|
								    {
							 | 
						|
								
							 | 
						|
								        var services = context.Services;
							 | 
						|
								
							 | 
						|
								        services.AddAbpDbContext<PeisDbContext>(options =>
							 | 
						|
								        {
							 | 
						|
								            options.AddDefaultRepositories(true);
							 | 
						|
								        });
							 | 
						|
								
							 | 
						|
								        base.ConfigureServices(context);
							 | 
						|
								    }
							 | 
						|
								}
							 |