func AddPollsLinkHook(hookPoint boil.HookPoint, pollsLinkHook PollsLinkHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		pollsLinkBeforeInsertHooks = append(pollsLinkBeforeInsertHooks, pollsLinkHook)
	case boil.BeforeUpdateHook:
		pollsLinkBeforeUpdateHooks = append(pollsLinkBeforeUpdateHooks, pollsLinkHook)
	case boil.BeforeDeleteHook:
		pollsLinkBeforeDeleteHooks = append(pollsLinkBeforeDeleteHooks, pollsLinkHook)
	case boil.BeforeUpsertHook:
		pollsLinkBeforeUpsertHooks = append(pollsLinkBeforeUpsertHooks, pollsLinkHook)
	case boil.AfterInsertHook:
		pollsLinkAfterInsertHooks = append(pollsLinkAfterInsertHooks, pollsLinkHook)
	case boil.AfterSelectHook:
		pollsLinkAfterSelectHooks = append(pollsLinkAfterSelectHooks, pollsLinkHook)
	case boil.AfterUpdateHook:
		pollsLinkAfterUpdateHooks = append(pollsLinkAfterUpdateHooks, pollsLinkHook)
	case boil.AfterDeleteHook:
		pollsLinkAfterDeleteHooks = append(pollsLinkAfterDeleteHooks, pollsLinkHook)
	case boil.AfterUpsertHook:
		pollsLinkAfterUpsertHooks = append(pollsLinkAfterUpsertHooks, pollsLinkHook)
	}
}
// AddPollsLinkHook registers your hook function for all future operations.
AddPollsLinkHook registers your hook function for all future operations.
// AddPollsLinkHook registers your hook function for all future operations .
func AddPollsLinkHook(hookPoint boil.HookPoint, pollsLinkHook PollsLinkHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		pollsLinkBeforeInsertHooks = append(pollsLinkBeforeInsertHooks, pollsLinkHook)
	case boil.BeforeUpdateHook:
		pollsLinkBeforeUpdateHooks = append(pollsLinkBeforeUpdateHooks, pollsLinkHook)
	case boil.BeforeDeleteHook:
		pollsLinkBeforeDeleteHooks = append(pollsLinkBeforeDeleteHooks, pollsLinkHook)
	case boil.BeforeUpsertHook:
		pollsLinkBeforeUpsertHooks = append(pollsLinkBeforeUpsertHooks, pollsLinkHook)
	case boil.AfterInsertHook:
		pollsLinkAfterInsertHooks = append(pollsLinkAfterInsertHooks, pollsLinkHook)
	case boil.AfterSelectHook:
		pollsLinkAfterSelectHooks = append(pollsLinkAfterSelectHooks, pollsLinkHook)
	case boil.AfterUpdateHook:
		pollsLinkAfterUpdateHooks = append(pollsLinkAfterUpdateHooks, pollsLinkHook)
	case boil.AfterDeleteHook:
		pollsLinkAfterDeleteHooks = append(pollsLinkAfterDeleteHooks, pollsLinkHook)
	case boil.AfterUpsertHook:
		pollsLinkAfterUpsertHooks = append(pollsLinkAfterUpsertHooks, pollsLinkHook)
	}
}
func AddPollsLinkHook ( hookPoint boil . HookPoint , pollsLinkHook PollsLinkHook ) { switch hookPoint { case boil . BeforeInsertHook : pollsLinkBeforeInsertHooks = append ( pollsLinkBeforeInsertHooks , pollsLinkHook ) case boil . BeforeUpdateHook : pollsLinkBeforeUpdateHooks = append ( pollsLinkBeforeUpdateHooks , pollsLinkHook ) case boil . BeforeDeleteHook : pollsLinkBeforeDeleteHooks = append ( pollsLinkBeforeDeleteHooks , pollsLinkHook ) case boil . BeforeUpsertHook : pollsLinkBeforeUpsertHooks = append ( pollsLinkBeforeUpsertHooks , pollsLinkHook ) case boil . AfterInsertHook : pollsLinkAfterInsertHooks = append ( pollsLinkAfterInsertHooks , pollsLinkHook ) case boil . AfterSelectHook : pollsLinkAfterSelectHooks = append ( pollsLinkAfterSelectHooks , pollsLinkHook ) case boil . AfterUpdateHook : pollsLinkAfterUpdateHooks = append ( pollsLinkAfterUpdateHooks , pollsLinkHook ) case boil . AfterDeleteHook : pollsLinkAfterDeleteHooks = append ( pollsLinkAfterDeleteHooks , pollsLinkHook ) case boil . AfterUpsertHook : pollsLinkAfterUpsertHooks = append ( pollsLinkAfterUpsertHooks , pollsLinkHook ) } }
AddPollsLinkHook registers your hook function for all future operations.
AddPollsLinkHook registers your hook function for all future operations .