Beispiel #1
0
 public ContactRepository(NOGContext context)
     : base(context)
 {
     Contact = _mongoContext.Db.GetCollection <Contact>("Contact");
 }
Beispiel #2
0
 public CollaboratorRepository(NOGContext context)
     : base(context)
 {
     Collaborator = _mongoContext.Db.GetCollection <Collaborator>("Collaborator");
 }
Beispiel #3
0
 public MenuRepository(NOGContext context)
     : base(context)
 {
     Menu = _mongoContext.Db.GetCollection <Menu>("Menu");
 }
Beispiel #4
0
 public PostgresRepository(NOGContext context)
 {
     Db    = context;
     DbSet = Db.Set <TEntity>();
 }
Beispiel #5
0
 public HomeRepository(NOGContext context)
     : base(context)
 {
     Home = _mongoContext.Db.GetCollection <Home>("Home");
 }
Beispiel #6
0
 public WhoAreWeRepository(NOGContext context)
     : base(context)
 {
     WhoAreWe = _mongoContext.Db.GetCollection <WhoAreWe>("WhoAreWe");
 }
 public CollaboratorAddressRepository(NOGContext context)
     : base(context)
 {
 }
Beispiel #8
0
 public UnitOfWork(NOGContext context)
 {
     _context = context;
 }
Beispiel #9
0
 public MongoRepository(NOGContext mongoContext)
 {
     _mongoContext = mongoContext;
 }
Beispiel #10
0
 public UserRepository(NOGContext context)
     : base(context)
 {
 }
 public InstitutionRepository(NOGContext context)
     : base(context)
 {
 }
 public VolunteerPhoneRepository(NOGContext context)
     : base(context)
 {
 }
Beispiel #13
0
 public VolunteerRepository(NOGContext context)
     : base(context)
 {
     Volunteer = _mongoContext.Db.GetCollection <Volunteer>("Volunteer");
 }
Beispiel #14
0
 public LanguageRepository(NOGContext context)
     : base(context)
 {
 }
Beispiel #15
0
 public LogoRepository(NOGContext context)
     : base(context)
 {
     Logo = _mongoContext.Db.GetCollection <Logo>("Logo");
 }
 public HowToHelpRepository(NOGContext context)
     : base(context)
 {
     HowToHelp = _mongoContext.Db.GetCollection <HowToHelp>("HowToHelp");
 }
Beispiel #17
0
 public CollaboratorPhoneRepository(NOGContext context)
     : base(context)
 {
 }
Beispiel #18
0
 public VolunteerAddressRepository(NOGContext context)
     : base(context)
 {
 }