/// <summary> /// Initializes the <see cref="Guild"/> class. /// </summary> static Guild() { var dbController = DbControllerBase.GetInstance(); _countGuildFoundersQuery = dbController.GetQuery<CountGuildFoundersQuery>(); _deleteGuildQuery = dbController.GetQuery<DeleteGuildQuery>(); _updateGuildNameQuery = dbController.GetQuery<UpdateGuildNameQuery>(); _updateGuildTagQuery = dbController.GetQuery<UpdateGuildTagQuery>(); _selectGuildMembersListQuery = dbController.GetQuery<SelectGuildMembersListQuery>(); _updateGuildQuery = dbController.GetQuery<UpdateGuildQuery>(); _selectGuildEventsQuery = dbController.GetQuery<SelectGuildEventsQuery>(); }
/// <summary> /// Initializes the <see cref="Guild"/> class. /// </summary> static Guild() { var dbController = DbControllerBase.GetInstance(); _countGuildFoundersQuery = dbController.GetQuery <CountGuildFoundersQuery>(); _deleteGuildQuery = dbController.GetQuery <DeleteGuildQuery>(); _updateGuildNameQuery = dbController.GetQuery <UpdateGuildNameQuery>(); _updateGuildTagQuery = dbController.GetQuery <UpdateGuildTagQuery>(); _selectGuildMembersListQuery = dbController.GetQuery <SelectGuildMembersListQuery>(); _updateGuildQuery = dbController.GetQuery <UpdateGuildQuery>(); _selectGuildEventsQuery = dbController.GetQuery <SelectGuildEventsQuery>(); }