Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.AbstractAssociation.Builder< TAbstractAssociation, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.AbstractAssociation.Builder< TAbstractAssociation, TBuilder >:
Ext.Net.BaseItem.Builder< TAbstractAssociation, TBuilder >

Public Member Functions

 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...
 
- Public Member Functions inherited from Ext.Net.BaseItem.Builder< TAbstractAssociation, TBuilder >
 Builder (TItem item)
 
virtual TItem ToComponent ()
 Get the instance of the underlying StateManagedItem. More...
 
virtual TBuilder CustomConfig (Action< ConfigItemCollection > action)
 Collection of custom js config More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Ext.Net.BaseItem.Builder< TAbstractAssociation, TBuilder >
static implicit operator TItem (BaseItem.Builder< TItem, TBuilder > builder)
 Implicit conversion of a TItem object directly into a TComponent. More...
 
- Protected Attributes inherited from Ext.Net.BaseItem.Builder< TAbstractAssociation, TBuilder >
TItem item
 

Detailed Description

Type Constraints
TAbstractAssociation :AbstractAssociation 
TBuilder :Builder 
TBuilder :TAbstractAssociation 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder()

Ext.Net.AbstractAssociation.Builder< TAbstractAssociation, TBuilder >.Builder ( TAbstractAssociation  component)
inline

Member Function Documentation

◆ AssociationKey()

virtual TBuilder Ext.Net.AbstractAssociation.Builder< TAbstractAssociation, TBuilder >.AssociationKey ( string  associationKey)
inlinevirtual

The name of the property in the data to read the association from. Defaults to the name of the associated model.

◆ Model()

virtual TBuilder Ext.Net.AbstractAssociation.Builder< TAbstractAssociation, TBuilder >.Model ( string  model)
inlinevirtual

The string name of the model that is being associated with. Required

◆ PrimaryKey()

virtual TBuilder Ext.Net.AbstractAssociation.Builder< TAbstractAssociation, TBuilder >.PrimaryKey ( string  primaryKey)
inlinevirtual

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'

◆ Reader()

virtual TBuilder Ext.Net.AbstractAssociation.Builder< TAbstractAssociation, TBuilder >.Reader ( Action< ReaderCollection action)
inlinevirtual

A special reader to read associated data

Parameters
actionThe action delegate
Returns
An instance of TBuilder

The documentation for this class was generated from the following file: