add


Description:

[ CCode ( cname = "dmap_db_add" ) ]
public abstract uint add (Db db, DMAPRecord record)

Add a record to the database.

Parameters:

this

A media database.

record

A database record.

Returns:

The ID for the newly added record. A reference to the record will be retained by the database (if required; an adapter-type implementation may not want to retain a reference as the record data may be placed elsewhere). In all cases, the record should be unrefed by the calling code.