Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
多対多の関係には、アイテムを削除するためのメソッドが必要です: Delete と Remove。これら2つの違いは何ですか?
質問で提供された情報から:
Remove は、子オブジェクトを存在させたまま、親オブジェクトと子オブジェクトの間の関係を削除します。
削除は、親オブジェクトと子オブジェクトの関係を削除し、子オブジェクトを削除します。
更新: 最初に投稿したとき、質問が CoolStorage に言及していたことを知りませんでした