Returns a BindParam that binds "name" to the field named "name.
Returns a BindParam that contains a link to load and edit this entity
returns a string that represents the id, or <new> if the entity is a new entity.
Loads this entity into the snippet so it can be edited
This function is used as a snippet in the edit view to provide alternate text depending on whether an existing entity is being edited or a new one is being created.
If Some(string), will redirect to string on a successful save.
Delete the entity
Returns a BindParam that contains a link to delete this entity
This method checks whether the entity validates; if so it saves it, and if successful redirects to the location specified by redirectOnSave, if any.