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

More...

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

Static Public Member Functions

static implicit operator HasOneAssociation.Builder (HasOneAssociation.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 string ForeignKey [get, set]
 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" More...
 
virtual string GetterName [get, set]
 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. getAddress More...
 
virtual string SetterName [get, set]
 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. setAddress 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 HasOneAssociation.Builder()

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

Property Documentation

◆ ForeignKey

virtual string Ext.Net.HasOneAssociation.Config.ForeignKey
getset

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"

◆ GetterName

virtual string Ext.Net.HasOneAssociation.Config.GetterName
getset

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. getAddress

◆ SetterName

virtual string Ext.Net.HasOneAssociation.Config.SetterName
getset

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. setAddress


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