More...
|
| Builder (THasManyAssociation component) |
|
virtual TBuilder | AutoLoad (bool autoLoad) |
| True to automatically load the related store from a remote source when instantiated. Defaults to false. More...
|
|
virtual TBuilder | FilterProperty (string filterProperty) |
| 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 TBuilder | ForeignKey (string foreignKey) |
| 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 TBuilder | Name (string name) |
| 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...
|
|
virtual TBuilder | StoreConfig (Action< Store > action) |
| Optional configuration object that will be passed to the generated Store. Defaults to undefined. More...
|
|
| Builder () |
|
| Builder (HasManyAssociation component) |
|
| Builder (HasManyAssociation.Config config) |
|
| Builder (TAbstractAssociation component) |
|
virtual TBuilder | AssociationKey (string associationKey) |
| The name of the property in the data to read the association from. Defaults to the name of the associated model. More...
|
|
virtual TBuilder | PrimaryKey (string primaryKey) |
| 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 TBuilder | Model (string model) |
| The string name of the model that is being associated with. Required More...
|
|
virtual TBuilder | Reader (Action< ReaderCollection > action) |
| A special reader to read associated data More...
|
|
◆ Builder() [1/4]
◆ Builder() [2/4]
◆ Builder() [3/4]
◆ Builder() [4/4]
◆ AutoLoad()
True to automatically load the related store from a remote source when instantiated. Defaults to false.
◆ FilterProperty()
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()
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()
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.
◆ operator Builder()
◆ StoreConfig()
Optional configuration object that will be passed to the generated Store. Defaults to undefined.
- Parameters
-
action | The action delegate |
- Returns
- An instance of TBuilder
The documentation for this class was generated from the following file:
- HasManyAssociationBuilder.cs