AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
(ids ...int)
| 226 | |
| 227 | // AddEntityIDs adds the "entities" edge to the Entity entity by IDs. |
| 228 | func (fc *FileCreate) AddEntityIDs(ids ...int) *FileCreate { |
| 229 | fc.mutation.AddEntityIDs(ids...) |
| 230 | return fc |
| 231 | } |
| 232 | |
| 233 | // AddEntities adds the "entities" edges to the Entity entity. |
| 234 | func (fc *FileCreate) AddEntities(e ...*Entity) *FileCreate { |