func AddEthnicGroupCountryHook(hookPoint boil.HookPoint, ethnicGroupCountryHook EthnicGroupCountryHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		ethnicGroupCountryBeforeInsertHooks = append(ethnicGroupCountryBeforeInsertHooks, ethnicGroupCountryHook)
	case boil.BeforeUpdateHook:
		ethnicGroupCountryBeforeUpdateHooks = append(ethnicGroupCountryBeforeUpdateHooks, ethnicGroupCountryHook)
	case boil.BeforeDeleteHook:
		ethnicGroupCountryBeforeDeleteHooks = append(ethnicGroupCountryBeforeDeleteHooks, ethnicGroupCountryHook)
	case boil.BeforeUpsertHook:
		ethnicGroupCountryBeforeUpsertHooks = append(ethnicGroupCountryBeforeUpsertHooks, ethnicGroupCountryHook)
	case boil.AfterInsertHook:
		ethnicGroupCountryAfterInsertHooks = append(ethnicGroupCountryAfterInsertHooks, ethnicGroupCountryHook)
	case boil.AfterSelectHook:
		ethnicGroupCountryAfterSelectHooks = append(ethnicGroupCountryAfterSelectHooks, ethnicGroupCountryHook)
	case boil.AfterUpdateHook:
		ethnicGroupCountryAfterUpdateHooks = append(ethnicGroupCountryAfterUpdateHooks, ethnicGroupCountryHook)
	case boil.AfterDeleteHook:
		ethnicGroupCountryAfterDeleteHooks = append(ethnicGroupCountryAfterDeleteHooks, ethnicGroupCountryHook)
	case boil.AfterUpsertHook:
		ethnicGroupCountryAfterUpsertHooks = append(ethnicGroupCountryAfterUpsertHooks, ethnicGroupCountryHook)
	}
}
// AddEthnicGroupCountryHook registers your hook function for all future operations.
AddEthnicGroupCountryHook registers your hook function for all future operations.
// AddEthnicGroupCountryHook registers your hook function for all future operations .
func AddEthnicGroupCountryHook(hookPoint boil.HookPoint, ethnicGroupCountryHook EthnicGroupCountryHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		ethnicGroupCountryBeforeInsertHooks = append(ethnicGroupCountryBeforeInsertHooks, ethnicGroupCountryHook)
	case boil.BeforeUpdateHook:
		ethnicGroupCountryBeforeUpdateHooks = append(ethnicGroupCountryBeforeUpdateHooks, ethnicGroupCountryHook)
	case boil.BeforeDeleteHook:
		ethnicGroupCountryBeforeDeleteHooks = append(ethnicGroupCountryBeforeDeleteHooks, ethnicGroupCountryHook)
	case boil.BeforeUpsertHook:
		ethnicGroupCountryBeforeUpsertHooks = append(ethnicGroupCountryBeforeUpsertHooks, ethnicGroupCountryHook)
	case boil.AfterInsertHook:
		ethnicGroupCountryAfterInsertHooks = append(ethnicGroupCountryAfterInsertHooks, ethnicGroupCountryHook)
	case boil.AfterSelectHook:
		ethnicGroupCountryAfterSelectHooks = append(ethnicGroupCountryAfterSelectHooks, ethnicGroupCountryHook)
	case boil.AfterUpdateHook:
		ethnicGroupCountryAfterUpdateHooks = append(ethnicGroupCountryAfterUpdateHooks, ethnicGroupCountryHook)
	case boil.AfterDeleteHook:
		ethnicGroupCountryAfterDeleteHooks = append(ethnicGroupCountryAfterDeleteHooks, ethnicGroupCountryHook)
	case boil.AfterUpsertHook:
		ethnicGroupCountryAfterUpsertHooks = append(ethnicGroupCountryAfterUpsertHooks, ethnicGroupCountryHook)
	}
}
func AddEthnicGroupCountryHook ( hookPoint boil . HookPoint , ethnicGroupCountryHook EthnicGroupCountryHook ) { switch hookPoint { case boil . BeforeInsertHook : ethnicGroupCountryBeforeInsertHooks = append ( ethnicGroupCountryBeforeInsertHooks , ethnicGroupCountryHook ) case boil . BeforeUpdateHook : ethnicGroupCountryBeforeUpdateHooks = append ( ethnicGroupCountryBeforeUpdateHooks , ethnicGroupCountryHook ) case boil . BeforeDeleteHook : ethnicGroupCountryBeforeDeleteHooks = append ( ethnicGroupCountryBeforeDeleteHooks , ethnicGroupCountryHook ) case boil . BeforeUpsertHook : ethnicGroupCountryBeforeUpsertHooks = append ( ethnicGroupCountryBeforeUpsertHooks , ethnicGroupCountryHook ) case boil . AfterInsertHook : ethnicGroupCountryAfterInsertHooks = append ( ethnicGroupCountryAfterInsertHooks , ethnicGroupCountryHook ) case boil . AfterSelectHook : ethnicGroupCountryAfterSelectHooks = append ( ethnicGroupCountryAfterSelectHooks , ethnicGroupCountryHook ) case boil . AfterUpdateHook : ethnicGroupCountryAfterUpdateHooks = append ( ethnicGroupCountryAfterUpdateHooks , ethnicGroupCountryHook ) case boil . AfterDeleteHook : ethnicGroupCountryAfterDeleteHooks = append ( ethnicGroupCountryAfterDeleteHooks , ethnicGroupCountryHook ) case boil . AfterUpsertHook : ethnicGroupCountryAfterUpsertHooks = append ( ethnicGroupCountryAfterUpsertHooks , ethnicGroupCountryHook ) } }
AddEthnicGroupCountryHook registers your hook function for all future operations.
AddEthnicGroupCountryHook registers your hook function for all future operations .