Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public NonGenericCharacterDatabaseContextAdapter(RPGCharacterDatabaseContext <TCustomizableSlotType, TColorStructureType, TProportionSlotType, TProportionStructureType, TRaceType, TClassType, TSkillType, TStatType> context)
 {
     _Context = context ?? throw new ArgumentNullException(nameof(context));
 }
Exemplo n.º 3
0
 public DefaultRPGCharacterAppearanceRepository(RPGCharacterDatabaseContext <TCustomizableSlotType, TColorStructureType, TProportionSlotType, TProportionStructureType, TRaceType, TClassType, TSkillType, TStatType> context)
 {
     Context = context ?? throw new ArgumentNullException(nameof(context));
 }