func AddPollsTownHook(hookPoint boil.HookPoint, pollsTownHook PollsTownHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		pollsTownBeforeInsertHooks = append(pollsTownBeforeInsertHooks, pollsTownHook)
	case boil.BeforeUpdateHook:
		pollsTownBeforeUpdateHooks = append(pollsTownBeforeUpdateHooks, pollsTownHook)
	case boil.BeforeDeleteHook:
		pollsTownBeforeDeleteHooks = append(pollsTownBeforeDeleteHooks, pollsTownHook)
	case boil.BeforeUpsertHook:
		pollsTownBeforeUpsertHooks = append(pollsTownBeforeUpsertHooks, pollsTownHook)
	case boil.AfterInsertHook:
		pollsTownAfterInsertHooks = append(pollsTownAfterInsertHooks, pollsTownHook)
	case boil.AfterSelectHook:
		pollsTownAfterSelectHooks = append(pollsTownAfterSelectHooks, pollsTownHook)
	case boil.AfterUpdateHook:
		pollsTownAfterUpdateHooks = append(pollsTownAfterUpdateHooks, pollsTownHook)
	case boil.AfterDeleteHook:
		pollsTownAfterDeleteHooks = append(pollsTownAfterDeleteHooks, pollsTownHook)
	case boil.AfterUpsertHook:
		pollsTownAfterUpsertHooks = append(pollsTownAfterUpsertHooks, pollsTownHook)
	}
}
// AddPollsTownHook registers your hook function for all future operations.
AddPollsTownHook registers your hook function for all future operations.
// AddPollsTownHook registers your hook function for all future operations .
func AddPollsTownHook(hookPoint boil.HookPoint, pollsTownHook PollsTownHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		pollsTownBeforeInsertHooks = append(pollsTownBeforeInsertHooks, pollsTownHook)
	case boil.BeforeUpdateHook:
		pollsTownBeforeUpdateHooks = append(pollsTownBeforeUpdateHooks, pollsTownHook)
	case boil.BeforeDeleteHook:
		pollsTownBeforeDeleteHooks = append(pollsTownBeforeDeleteHooks, pollsTownHook)
	case boil.BeforeUpsertHook:
		pollsTownBeforeUpsertHooks = append(pollsTownBeforeUpsertHooks, pollsTownHook)
	case boil.AfterInsertHook:
		pollsTownAfterInsertHooks = append(pollsTownAfterInsertHooks, pollsTownHook)
	case boil.AfterSelectHook:
		pollsTownAfterSelectHooks = append(pollsTownAfterSelectHooks, pollsTownHook)
	case boil.AfterUpdateHook:
		pollsTownAfterUpdateHooks = append(pollsTownAfterUpdateHooks, pollsTownHook)
	case boil.AfterDeleteHook:
		pollsTownAfterDeleteHooks = append(pollsTownAfterDeleteHooks, pollsTownHook)
	case boil.AfterUpsertHook:
		pollsTownAfterUpsertHooks = append(pollsTownAfterUpsertHooks, pollsTownHook)
	}
}
func AddPollsTownHook ( hookPoint boil . HookPoint , pollsTownHook PollsTownHook ) { switch hookPoint { case boil . BeforeInsertHook : pollsTownBeforeInsertHooks = append ( pollsTownBeforeInsertHooks , pollsTownHook ) case boil . BeforeUpdateHook : pollsTownBeforeUpdateHooks = append ( pollsTownBeforeUpdateHooks , pollsTownHook ) case boil . BeforeDeleteHook : pollsTownBeforeDeleteHooks = append ( pollsTownBeforeDeleteHooks , pollsTownHook ) case boil . BeforeUpsertHook : pollsTownBeforeUpsertHooks = append ( pollsTownBeforeUpsertHooks , pollsTownHook ) case boil . AfterInsertHook : pollsTownAfterInsertHooks = append ( pollsTownAfterInsertHooks , pollsTownHook ) case boil . AfterSelectHook : pollsTownAfterSelectHooks = append ( pollsTownAfterSelectHooks , pollsTownHook ) case boil . AfterUpdateHook : pollsTownAfterUpdateHooks = append ( pollsTownAfterUpdateHooks , pollsTownHook ) case boil . AfterDeleteHook : pollsTownAfterDeleteHooks = append ( pollsTownAfterDeleteHooks , pollsTownHook ) case boil . AfterUpsertHook : pollsTownAfterUpsertHooks = append ( pollsTownAfterUpsertHooks , pollsTownHook ) } }
AddPollsTownHook registers your hook function for all future operations.
AddPollsTownHook registers your hook function for all future operations .