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

More...

Inheritance diagram for Ext.Net.Model.Config:
Ext.Net.Observable.Config Ext.Net.BaseControl.Config Ext.Net.IApply

Static Public Member Functions

static implicit operator Model.Builder (Model.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseControl.Config
static Config ToConfig (string config)
 
static TConfig ToConfig< TConfig > (string config)
 

Properties

virtual bool ConvertOnSet [get, set]
 Set to false to prevent any converters from being called during a set operation. Defaults to true. More...
 
virtual string Name [get, set]
 The model name. Required More...
 
virtual string BelongsTo [get, set]
 One or more BelongsTo associationa for this model. More...
 
virtual string HasMany [get, set]
 One or more HasMany associations for this model. More...
 
virtual string HasOne [get, set]
 One or more HasOne associations for this model. More...
 
virtual string ClientIdProperty [get, set]
 The name of a property that is used for submitting this Model's unique client-side identifier to the server when multiple phantom records are saved More...
 
virtual string ChildType [get, set]
 
virtual string Extend [get, set]
 
ModelFieldCollection Fields [get]
 An array of fields definition objects More...
 
virtual string IDProperty [get, set]
 The name of the field treated as this Model's unique id (defaults to 'id'). More...
 
ProxyCollection Proxy [get]
 The Proxy object which provides access to a data object. More...
 
ProxyCollection DefaultProxy [get]
 The default proxy to use for instances of this Model when no proxy is configured on the instance. When specified, the model will use this proxy instead of requesting one from the Session. More...
 
virtual string DefaultProxyType [get, set]
 The default proxy to use for instances of this Model when no proxy is configured on the instance. When specified, the model will use this proxy instead of requesting one from the Session. More...
 
AssociationCollection Associations [get]
 Models associations More...
 
virtual object Summary [get, set]
 Summary fields are a special kind of field that is used to assist in creating an aggregation for this model. More...
 
ValidatorCollection Validators [get]
 
ModelIdGeneratorCollection Identifier [get]
 The id generator to use for this model. The default id generator does not generate values for the idProperty. More...
 
virtual string ValidationSeparator [get, set]
 If specified this property is used to concatenate multiple errors for each field as reported by the validators. Defaults to: null More...
 
virtual string VersionProperty [get, set]
 If specified, this is the name of the property that contains the entity "version". The version property is used to manage a long-running transaction and allows the detection of simultaneous modification. More...
 
- Properties inherited from Ext.Net.Observable.Config
ConfigItemCollection CustomConfig [get]
 Collection of custom js config More...
 
MessageBusListeners MessageBusListeners [get]
 
MessageBusDirectEvents MessageBusDirectEvents [get]
 
- Properties inherited from Ext.Net.BaseControl.Config
virtual string ItemID [get, set]
 An itemId can be used as an alternative way to get a reference to a component when no object reference is available. More...
 
virtual bool Disabled [get, set]
 
virtual short TabIndex [get, set]
 
virtual bool IsInForm [get, set]
 
virtual Unit Height [get, set]
 
virtual Unit Width [get, set]
 
virtual string ToolTip [get, set]
 
virtual bool RegisterAllResources [get, set]
 
virtual bool AutoDataBind [get, set]
 
virtual IDMode IDMode [get, set]
 
virtual LazyMode LazyMode [get, set]
 
virtual string Namespace [get, set]
 
List< ClientResourceItemResourceItems [get]
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseControl.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 ToScript ()
 

Detailed Description

Member Function Documentation

◆ operator Model.Builder()

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

Property Documentation

◆ Associations

AssociationCollection Ext.Net.Model.Config.Associations
get

Models associations

◆ BelongsTo

virtual string Ext.Net.Model.Config.BelongsTo
getset

One or more BelongsTo associationa for this model.

◆ ChildType

virtual string Ext.Net.Model.Config.ChildType
getset

◆ ClientIdProperty

virtual string Ext.Net.Model.Config.ClientIdProperty
getset

The name of a property that is used for submitting this Model's unique client-side identifier to the server when multiple phantom records are saved

◆ ConvertOnSet

virtual bool Ext.Net.Model.Config.ConvertOnSet
getset

Set to false to prevent any converters from being called during a set operation. Defaults to true.

◆ DefaultProxy

ProxyCollection Ext.Net.Model.Config.DefaultProxy
get

The default proxy to use for instances of this Model when no proxy is configured on the instance. When specified, the model will use this proxy instead of requesting one from the Session.

◆ DefaultProxyType

virtual string Ext.Net.Model.Config.DefaultProxyType
getset

The default proxy to use for instances of this Model when no proxy is configured on the instance. When specified, the model will use this proxy instead of requesting one from the Session.

Don't use together with DefaultProxy.

◆ Extend

virtual string Ext.Net.Model.Config.Extend
getset

◆ Fields

ModelFieldCollection Ext.Net.Model.Config.Fields
get

An array of fields definition objects

◆ HasMany

virtual string Ext.Net.Model.Config.HasMany
getset

One or more HasMany associations for this model.

◆ HasOne

virtual string Ext.Net.Model.Config.HasOne
getset

One or more HasOne associations for this model.

◆ Identifier

ModelIdGeneratorCollection Ext.Net.Model.Config.Identifier
get

The id generator to use for this model. The default id generator does not generate values for the idProperty.

◆ IDProperty

virtual string Ext.Net.Model.Config.IDProperty
getset

The name of the field treated as this Model's unique id (defaults to 'id').

◆ Name

virtual string Ext.Net.Model.Config.Name
getset

The model name. Required

◆ Proxy

ProxyCollection Ext.Net.Model.Config.Proxy
get

The Proxy object which provides access to a data object.

◆ Summary

virtual object Ext.Net.Model.Config.Summary
getset

Summary fields are a special kind of field that is used to assist in creating an aggregation for this model.

◆ ValidationSeparator

virtual string Ext.Net.Model.Config.ValidationSeparator
getset

If specified this property is used to concatenate multiple errors for each field as reported by the validators. Defaults to: null

◆ Validators

ValidatorCollection Ext.Net.Model.Config.Validators
get

◆ VersionProperty

virtual string Ext.Net.Model.Config.VersionProperty
getset

If specified, this is the name of the property that contains the entity "version". The version property is used to manage a long-running transaction and allows the detection of simultaneous modification.


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