The ToClientSideConfigElement type exposes the following members.

Properties

  NameDescription
ClientSideNamespaceOfTypes

Gets a configuration element collection containing the client side namespace names for some cso-ready types.

If a non-null value is passed to the clientSideNamespace parameter of the CsoGeneratedTypeAttribute attribute (see ca.metaobjects.csogateway.CsoGeneratedTypeAttribute.ClientSideNamespace) it overrides what is specified here.

This configuration setting element is not required and can be omitted.

DefaultNamespace

Gets or sets the name of the namespace that cso-generated types will be placed in if the value of the CsoGeneratedTypeAttribute.ClientSideNamespace property is not specified and if the namespace name for this type is not declared in the ClientSideNamespaceOfTypes element.

This configuration setting is not required and if it is not set, it defaults to "UserDefinedTypes"

ExceptionOnPrecisionLossDecimal

Gets or sets a boolean value indicating whether to throw an exception when the Object Gateway encouters a Decimal value that has too many effective precision bits to be represented exactly by a javascript value of type Number.

This configuration setting is not required and if it is not set, defaults to true.

ExceptionOnPrecisionLossInt64

Gets or sets a boolean value indicating whether to throw an exception when the Object Gateway encouters a Int64 value that is too small or too large to be exactly represented by a javascript value of type Number.

This configuration setting is not required and if it is not set, defaults to true.

ExceptionOnPrecisionLossUInt64

Gets or sets a boolean value indicating whether to throw an exception when the Object Gateway encouters a UInt64 value that is too large to be represented exactly by a javascript value of type Number.

This configuration setting is not required and if it is not set, defaults to true.

ExtensionUrls

Gets a configuration element collection containing the extension URLs of the extension javascript files for some cso-ready types.

If a non-null value is passed to the extensionUrl parameter of the CsoGeneratedTypeAttribute attribute (see ca.metaobjects.csogateway.CsoGeneratedTypeAttribute.ExtensionUrl) it overrides what is specified here.

This configuration setting element is not required and can be omitted.

IgnoreBaseClass

Gets or sets a boolean value indicating whether the Type Morpher should take into account the properties declared in ancestor classes when creating a cso-generated class for a cso-ready class. The value of the CsoGeneratedTypeAttribute.IgnoreBaseClass> property has priority over this configuration setting.

This configuration setting is not required and if it is not set, defaults to false.

See Also