[ CCode ( has_construct_function = false , type = "DeeModel*" ) ]
public SharedModel (string name)
Create a new empty shared model without any column schema associated.
The column schema will be set in one of two ways: firstly you may set it manually with set_schema or secondly it will be set once the first rows are exchanged with a peer model.
A SharedModel with a schema manually set has to be created before creating more
SharedModel with the same name
.
A shared model created with this constructor will store row data in a suitably picked memory backed model.
name |
A well known name to publish this model under. Models sharing this name will synchronize with each other |
a new SharedModel |