SetFile sets the "file" edge to the File entity.
(f *File)
| 91 | |
| 92 | // SetFile sets the "file" edge to the File entity. |
| 93 | func (dlc *DirectLinkCreate) SetFile(f *File) *DirectLinkCreate { |
| 94 | return dlc.SetFileID(f.ID) |
| 95 | } |
| 96 | |
| 97 | // Mutation returns the DirectLinkMutation object of the builder. |
| 98 | func (dlc *DirectLinkCreate) Mutation() *DirectLinkMutation { |