id
can.Model.id
{String}
The name of the id field. Defaults to 'id'
. Change this if it is something different.
{String}
The name of the id field. Defaults to 'id'
. Change this if it is something different.
For example, it's common in .NET to use
'Id'
. Your model might look like: