public CampaighnOperations(IEntityDb <Campaighn> campaighnContext, IEntityDb <CampaighnRace> campaighnRaceContext) { _campaighnContext = campaighnContext; _campaighnRaceContext = campaighnRaceContext; _campaighnRaceContext.SetSession(_campaighnContext.GetSession()); }
public AttribureOperations(IEntityDb <DictionaryAttributeType> dictionaryAttrTypeContext, IEntityDb <DictionaryAttribute> dictionaryAttrContext) { _dictionaryAttrTypeContext = dictionaryAttrTypeContext; _dictionaryAttrContext = dictionaryAttrContext; _dictionaryAttrContext.SetSession(_dictionaryAttrTypeContext.GetSession()); }
public DictionaryOperations(IEntityDb <Race> raceContext, IEntityDb <Subrace> subraceContext, IEntityDb <ItemType> itemTypeContext, IEntityDb <RaceAttribute> raceAttributeContext) { _raceContext = raceContext; _subraceContext = subraceContext; _itemTypeContext = itemTypeContext; _raceAttributeContext = raceAttributeContext; _subraceContext.SetSession(_raceContext.GetSession()); _itemTypeContext.SetSession(_raceContext.GetSession()); _raceAttributeContext.SetSession(_raceContext.GetSession()); }