More...
|
| Builder (TBelongsToAssociation component) |
|
virtual TBuilder | ForeignKey (string foreignKey) |
| The name of the foreign key on the owner model that links it to the associated model. Defaults to the lowercased name of the associated model plus "_id", e.g. an association with a model called Product would set up a product_id foreign key. More...
|
|
virtual TBuilder | GetterName (string getterName) |
| The name of the getter function that will be added to the local model's prototype. Defaults to 'get' + the name of the foreign model, e.g. getCategory More...
|
|
virtual TBuilder | SetterName (string setterName) |
| The name of the setter function that will be added to the local model's prototype. Defaults to 'set' + the name of the foreign model, e.g. setCategory More...
|
|
| Builder () |
|
| Builder (BelongsToAssociation component) |
|
| Builder (BelongsToAssociation.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]
◆ ForeignKey()
The name of the foreign key on the owner model that links it to the associated model. Defaults to the lowercased name of the associated model plus "_id", e.g. an association with a model called Product would set up a product_id foreign key.
◆ GetterName()
The name of the getter function that will be added to the local model's prototype. Defaults to 'get' + the name of the foreign model, e.g. getCategory
◆ operator Builder()
◆ SetterName()
The name of the setter function that will be added to the local model's prototype. Defaults to 'set' + the name of the foreign model, e.g. setCategory
The documentation for this class was generated from the following file:
- BelongsToAssociationBuilder.cs