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

More...

Inheritance diagram for Ext.Net.FieldReference:
Ext.Net.BaseItem Ext.Net.IXObject Ext.Net.IBase

Classes

class  Builder
 
class  Config
 

Public Member Functions

 FieldReference ()
 
FieldReference.Builder ToBuilder ()
 
override IControlBuilder ToNativeBuilder ()
 
 FieldReference (Config config)
 
- Public Member Functions inherited from Ext.Net.BaseItem
virtual bool HasExplicitValue (string name)
 
void EnsureDataBind ()
 
virtual void Call (string name)
 
virtual void Call (string name, params object[] args)
 
virtual void AddScript (string script)
 
virtual void AddScript (string script, params object[] args)
 
virtual bool IsEmptyObject ()
 
Apply< T > (IApply config)
 
BaseItem Apply (object config)
 
virtual void LoadViewState (object state)
 
virtual object SaveViewState ()
 
virtual void TrackViewState ()
 
void SetDirty ()
 
virtual void DataBind ()
 

Static Public Member Functions

static implicit operator FieldReference (FieldReference.Config config)
 

Properties

virtual string Type [get, set]
 The type which this field references. This is the value set by the string form of reference. If the referenced entity has an ownership relationship this field should be omitted and reference.parent or reference.child should be specified instead. More...
 
virtual string Association [get, set]
 The name of the association. By default, the name of the assocation is the capitalized inverse plus "By" plus the capitalized role. More...
 
virtual string Child [get, set]
 Set this property instead of reference.type to indicate that the referenced entity is an owned child of this entity. That is, the reference entity should be deleted when this entity is deleted. More...
 
virtual string Parent [get, set]
 Set this property instead of reference.type to indicate that the referenced entity is the owning parent of this entity. That is, this entity should be deleted when the reference entity is deleted. More...
 
virtual string Role [get, set]
 The name of the role played by the referenced entity. By default, this is the field name (minus its "Id" suffix if present). More...
 
virtual string Inverse [get, set]
 The name of the inverse role (of this entity with respect to the reference entity). By default, this is the pluralized name of this entity, unless this reference is unique, in which case the default name is the singularized name of this entity. More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.BaseItem
virtual string InstanceOf [get]
 
ItemState State [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
virtual bool DesignMode [get]
 
bool AutoDataBind [get, set]
 
ResourceManager ResourceManager [get]
 
virtual Control Owner [get, set]
 The Owner Control for this Listener. More...
 
virtual bool IsDefault [get]
 Does this object currently represent it's default state. More...
 
bool IsTrackingViewState [get]
 
EventHandlerList Events [get]
 
EventHandler DataBinding
 
Control?? BindingContainer [get]
 
virtual ConfigItemCollection?? CustomConfig [get]
 Collection of custom js config More...
 
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
System.Web.Mvc.HtmlHelper?? HtmlHelper [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from Ext.Net.BaseItem
 BaseItem (Control owner)
 
 BaseItem ()
 
virtual void OwnerUpdate (Control owner)
 
virtual void OnDataBinding (EventArgs e)
 

Detailed Description

Constructor & Destructor Documentation

◆ FieldReference() [1/2]

Ext.Net.FieldReference.FieldReference ( )
inline

◆ FieldReference() [2/2]

Ext.Net.FieldReference.FieldReference ( Config  config)
inline

Member Function Documentation

◆ operator FieldReference()

static implicit Ext.Net.FieldReference.operator FieldReference ( FieldReference.Config  config)
inlinestatic

◆ ToBuilder()

FieldReference.Builder Ext.Net.FieldReference.ToBuilder ( )
inline

◆ ToNativeBuilder()

override IControlBuilder Ext.Net.FieldReference.ToNativeBuilder ( )
inlinevirtual

Reimplemented from Ext.Net.BaseItem.

Property Documentation

◆ Association

virtual string Ext.Net.FieldReference.Association
getset

The name of the association. By default, the name of the assocation is the capitalized inverse plus "By" plus the capitalized role.

◆ Child

virtual string Ext.Net.FieldReference.Child
getset

Set this property instead of reference.type to indicate that the referenced entity is an owned child of this entity. That is, the reference entity should be deleted when this entity is deleted.

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.FieldReference.ConfigOptions
get

◆ Inverse

virtual string Ext.Net.FieldReference.Inverse
getset

The name of the inverse role (of this entity with respect to the reference entity). By default, this is the pluralized name of this entity, unless this reference is unique, in which case the default name is the singularized name of this entity.

◆ Parent

virtual string Ext.Net.FieldReference.Parent
getset

Set this property instead of reference.type to indicate that the referenced entity is the owning parent of this entity. That is, this entity should be deleted when the reference entity is deleted.

◆ Role

virtual string Ext.Net.FieldReference.Role
getset

The name of the role played by the referenced entity. By default, this is the field name (minus its "Id" suffix if present).

◆ Type

virtual string Ext.Net.FieldReference.Type
getset

The type which this field references. This is the value set by the string form of reference. If the referenced entity has an ownership relationship this field should be omitted and reference.parent or reference.child should be specified instead.


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