コード例 #1
0
 public AttributeTypeRepository(IConnectionProvider connectionProvider, IDataTypeConverter dataTypeConverter,
                                IEntityAttributeTypeRepository entityAttributeTypeRepository)
 {
     _connectionProvider = connectionProvider;
     _dataTypeConverter = dataTypeConverter;
     _entityAttributeTypeRepository = entityAttributeTypeRepository;
 }
コード例 #2
0
 public CourseAttributeServices(
     IEntityAttributeTypeRepository entityAttributeTypeRepository,
     IEntityAttributeRepository entityAttributeRepository,
     IMediator mediator,
     IHttpContextAccessor httpContextAccessor,
     IUserRepository userRepository,
     UserManager <ApplicationUser> userManager
     ) : base(mediator, httpContextAccessor, userRepository, userManager)
 {
     _entityAttributeTypeRepository = entityAttributeTypeRepository;
     _entityAttributeRepository     = entityAttributeRepository;
 }
コード例 #3
0
ファイル: SqlRepository.cs プロジェクト: Hoejsgaard/Hsc.Core
 public SqlRepository(IConnectionProvider connectionProvider,
                      ISqlEntityTypeRepository entityTypeRepository,
                      ISqlAttributeTypeRepository attributeTypeRepository,
                      IEntityAttributeTypeRepository entityAttributeTypeRepository,
                      IEntityRepository entityRepository)
 {
     _connectionProvider = connectionProvider;
     _entityTypeRepository = entityTypeRepository;
     _attributeTypeRepository = attributeTypeRepository;
     _entityAttributeTypeRepository = entityAttributeTypeRepository;
     _entityRepository = entityRepository;
     EntityTypes = entityTypeRepository;
     Entities = entityRepository;
 }