func AddCountyHook(hookPoint boil.HookPoint, countyHook CountyHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		countyBeforeInsertHooks = append(countyBeforeInsertHooks, countyHook)
	case boil.BeforeUpdateHook:
		countyBeforeUpdateHooks = append(countyBeforeUpdateHooks, countyHook)
	case boil.BeforeDeleteHook:
		countyBeforeDeleteHooks = append(countyBeforeDeleteHooks, countyHook)
	case boil.BeforeUpsertHook:
		countyBeforeUpsertHooks = append(countyBeforeUpsertHooks, countyHook)
	case boil.AfterInsertHook:
		countyAfterInsertHooks = append(countyAfterInsertHooks, countyHook)
	case boil.AfterSelectHook:
		countyAfterSelectHooks = append(countyAfterSelectHooks, countyHook)
	case boil.AfterUpdateHook:
		countyAfterUpdateHooks = append(countyAfterUpdateHooks, countyHook)
	case boil.AfterDeleteHook:
		countyAfterDeleteHooks = append(countyAfterDeleteHooks, countyHook)
	case boil.AfterUpsertHook:
		countyAfterUpsertHooks = append(countyAfterUpsertHooks, countyHook)
	}
}
// AddCountyHook registers your hook function for all future operations.
AddCountyHook registers your hook function for all future operations.
// AddCountyHook registers your hook function for all future operations .
func AddCountyHook(hookPoint boil.HookPoint, countyHook CountyHook) {
	switch hookPoint {
	case boil.BeforeInsertHook:
		countyBeforeInsertHooks = append(countyBeforeInsertHooks, countyHook)
	case boil.BeforeUpdateHook:
		countyBeforeUpdateHooks = append(countyBeforeUpdateHooks, countyHook)
	case boil.BeforeDeleteHook:
		countyBeforeDeleteHooks = append(countyBeforeDeleteHooks, countyHook)
	case boil.BeforeUpsertHook:
		countyBeforeUpsertHooks = append(countyBeforeUpsertHooks, countyHook)
	case boil.AfterInsertHook:
		countyAfterInsertHooks = append(countyAfterInsertHooks, countyHook)
	case boil.AfterSelectHook:
		countyAfterSelectHooks = append(countyAfterSelectHooks, countyHook)
	case boil.AfterUpdateHook:
		countyAfterUpdateHooks = append(countyAfterUpdateHooks, countyHook)
	case boil.AfterDeleteHook:
		countyAfterDeleteHooks = append(countyAfterDeleteHooks, countyHook)
	case boil.AfterUpsertHook:
		countyAfterUpsertHooks = append(countyAfterUpsertHooks, countyHook)
	}
}
func AddCountyHook ( hookPoint boil . HookPoint , countyHook CountyHook ) { switch hookPoint { case boil . BeforeInsertHook : countyBeforeInsertHooks = append ( countyBeforeInsertHooks , countyHook ) case boil . BeforeUpdateHook : countyBeforeUpdateHooks = append ( countyBeforeUpdateHooks , countyHook ) case boil . BeforeDeleteHook : countyBeforeDeleteHooks = append ( countyBeforeDeleteHooks , countyHook ) case boil . BeforeUpsertHook : countyBeforeUpsertHooks = append ( countyBeforeUpsertHooks , countyHook ) case boil . AfterInsertHook : countyAfterInsertHooks = append ( countyAfterInsertHooks , countyHook ) case boil . AfterSelectHook : countyAfterSelectHooks = append ( countyAfterSelectHooks , countyHook ) case boil . AfterUpdateHook : countyAfterUpdateHooks = append ( countyAfterUpdateHooks , countyHook ) case boil . AfterDeleteHook : countyAfterDeleteHooks = append ( countyAfterDeleteHooks , countyHook ) case boil . AfterUpsertHook : countyAfterUpsertHooks = append ( countyAfterUpsertHooks , countyHook ) } }
AddCountyHook registers your hook function for all future operations.
AddCountyHook registers your hook function for all future operations .