public DefaultRPGCharacterRepository(IDBContextAdapter <RPGCharacterDatabaseContext <TRaceType, TClassType> > contextAdapter) : base(contextAdapter.Context.Set <DBRPGCharacter>(), contextAdapter.Context) { if (contextAdapter == null) { throw new ArgumentNullException(nameof(contextAdapter)); } Context = contextAdapter.Context; }
public NonGenericCharacterDatabaseContextAdapter(RPGCharacterDatabaseContext <TCustomizableSlotType, TColorStructureType, TProportionSlotType, TProportionStructureType, TRaceType, TClassType, TSkillType, TStatType> context) { _Context = context ?? throw new ArgumentNullException(nameof(context)); }
public DefaultRPGCharacterAppearanceRepository(RPGCharacterDatabaseContext <TCustomizableSlotType, TColorStructureType, TProportionSlotType, TProportionStructureType, TRaceType, TClassType, TSkillType, TStatType> context) { Context = context ?? throw new ArgumentNullException(nameof(context)); }