More...
|
virtual bool | AutoLoad [get, set] |
| True to automatically load the related store from a remote source when instantiated. Defaults to false. More...
|
|
virtual string | FilterProperty [get, set] |
| Optionally overrides the default filter that is set up on the associated Store. If this is not set, a filter is automatically created which filters the association based on the configured foreignKey. See intro docs for more details. Defaults to undefined More...
|
|
virtual string | ForeignKey [get, set] |
| The name of the foreign key on the associated model that links it to the owner model. Defaults to the lowercased name of the owner model plus "_id", e.g. an association with a where a model called Group hasMany Users would create 'group_id' as the foreign key. More...
|
|
virtual string | Name [get, set] |
| The name of the function to create on the owner model to retrieve the child store. If not specified, the pluralized name of the child model is used. More...
|
|
Store | StoreConfig [get] |
| Optional configuration object that will be passed to the generated Store. Defaults to undefined. More...
|
|
virtual string | AssociationKey [get, set] |
| The name of the property in the data to read the association from. Defaults to the name of the associated model. More...
|
|
virtual string | PrimaryKey [get, set] |
| The name of the primary key on the associated model. In general this will be the Ext.data.Model.idProperty of the Model. Defaults to 'id' More...
|
|
virtual string | Model [get, set] |
| The string name of the model that is being associated with. Required More...
|
|
ReaderCollection | Reader [get] |
| A special reader to read associated data More...
|
|
◆ operator HasManyAssociation.Builder()
◆ AutoLoad
virtual bool Ext.Net.HasManyAssociation.Config.AutoLoad |
|
getset |
True to automatically load the related store from a remote source when instantiated. Defaults to false.
◆ FilterProperty
virtual string Ext.Net.HasManyAssociation.Config.FilterProperty |
|
getset |
Optionally overrides the default filter that is set up on the associated Store. If this is not set, a filter is automatically created which filters the association based on the configured foreignKey. See intro docs for more details. Defaults to undefined
◆ ForeignKey
virtual string Ext.Net.HasManyAssociation.Config.ForeignKey |
|
getset |
The name of the foreign key on the associated model that links it to the owner model. Defaults to the lowercased name of the owner model plus "_id", e.g. an association with a where a model called Group hasMany Users would create 'group_id' as the foreign key.
◆ Name
virtual string Ext.Net.HasManyAssociation.Config.Name |
|
getset |
The name of the function to create on the owner model to retrieve the child store. If not specified, the pluralized name of the child model is used.
◆ StoreConfig
Store Ext.Net.HasManyAssociation.Config.StoreConfig |
|
get |
Optional configuration object that will be passed to the generated Store. Defaults to undefined.
The documentation for this class was generated from the following file:
- HasManyAssociationConfig.cs