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

More...

Inheritance diagram for Ext.Net.FieldReference.Config:
Ext.Net.BaseItem.Config Ext.Net.IApply

Static Public Member Functions

static implicit operator FieldReference.Builder (FieldReference.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 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...
 

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 FieldReference.Builder()

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

Property Documentation

◆ Association

virtual string Ext.Net.FieldReference.Config.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.Config.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.

◆ Inverse

virtual string Ext.Net.FieldReference.Config.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.Config.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.Config.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.Config.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 file: