renamed cascade_type enums

This commit is contained in:
Sascha Kühl
2026-02-04 15:18:46 +01:00
parent 11bba90ded
commit 018e27a22a
3 changed files with 13 additions and 14 deletions
+3 -3
View File
@@ -24,14 +24,14 @@ public:
[[nodiscard]] fetch_type fetch() const;
private:
cascade_type cascade_{cascade_type::NONE};
cascade_type cascade_{cascade_type::None};
fetch_type fetch_{fetch_type::Lazy};
};
const foreign_attributes CascadeNoneFetchLazy {};
const foreign_attributes CascadeNoneFetchEager {fetch_type::Eager};
const foreign_attributes CascadeAllFetchLazy {cascade_type::ALL, fetch_type::Lazy};
const foreign_attributes CascadeAllFetchEager {cascade_type::ALL, fetch_type::Eager};
const foreign_attributes CascadeAllFetchLazy {cascade_type::All, fetch_type::Lazy};
const foreign_attributes CascadeAllFetchEager {cascade_type::All, fetch_type::Eager};
}