Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.HasManyAssociation.Config Class Reference

More...

Inheritance diagram for Ext.Net.HasManyAssociation.Config:
Ext.Net.AbstractAssociation.Config Ext.Net.BaseItem.Config Ext.Net.IApply

Static Public Member Functions

static implicit operator HasManyAssociation.Builder (HasManyAssociation.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseItem.Config
static Config Deserialize (string config)
 
static TConfig Deserialize< TConfig > (string config)
 

Properties

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...
 
- Properties inherited from Ext.Net.AbstractAssociation.Config
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...
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseItem.Config
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
new Type GetType ()
 
object ApplyIf (object obj)
 
Apply< T > (object obj)
 
object Apply (object obj)
 
virtual string Serialize ()
 

Detailed Description

Member Function Documentation

◆ operator HasManyAssociation.Builder()

static implicit Ext.Net.HasManyAssociation.Config.operator HasManyAssociation.Builder ( HasManyAssociation.Config  config)
inlinestatic

Property Documentation

◆ 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: