Click or drag to resize

ModelAttachmentsField Class

Specifies an attachments form field for use with a ModelDataAdapter. This field can be used to store a file as binary data in a database table.
Inheritance Hierarchy

Namespace:  Colygon.MatchPoint.EntityModel
Assembly:  Colygon.MatchPoint (in Colygon.MatchPoint.dll) Version: 2019.2.1.0
Syntax
C#
[SerializableAttribute]
public class ModelAttachmentsField : AttachmentsField

The ModelAttachmentsField type exposes the following members.

Constructors
  NameDescription
Public methodModelAttachmentsField
Initializes a new instance of the ModelAttachmentsField class
Top
Properties
  NameDescription
Public propertyDescription
Specifies a description for the field.
(Inherited from FormDataField.)
Public propertyIsHtmlDescription
Specifies whether the description contains HTML markup tags.
(Inherited from FormDataField.)
Public propertyName
Specifies the relation name of the attachments.
(Overrides AttachmentsFieldName.)
Public propertyReadOnlyExpression
Specifies whether the field is rendered in read-only mode. The expression is expected to return a Boolean value. The field will be read-only if the expression evaluates to 'true'.
(Inherited from FormDataField.)
Public propertyRequired
Specifies whether this column is required to contain information.
(Inherited from FormDataField.)
Public propertyTitle
Specifies the title of the field.
(Inherited from AttachmentsField.)
Public propertyVisibilityCondition
Specifies whether this field is visible. An expression can be used to determine the visibility dynamically. This expression is expected to return a Boolean value.
(Inherited from FormField.)
Public propertyWriteMode
Specifies whether the value of this field should be written on the data record. Use 'UseDefaultIfHidden' to write the field's default value if the field is hidden.
(Inherited from FormDataField.)
Top
Methods
  NameDescription
Public methodCreateControl(FieldsForm)
Creates a control for thin data field within the specified form.
(Inherited from FormDataField.)
Public methodCreateControl(FieldsForm, Boolean) (Overrides AttachmentsFieldCreateControl(FieldsForm, Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDefaultValue (Overrides AttachmentsFieldGetDefaultValue.)
Public methodGetETag (Inherited from AttachmentsField.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLastModified (Inherited from AttachmentsField.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue (Overrides AttachmentsFieldGetValue(IUpdatable).)
Protected methodIsEmpty (Inherited from AttachmentsField.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodProcessElement (Inherited from FormField.)
Public methodSetValue (Overrides AttachmentsFieldSetValue(IUpdatable, Object).)
Public methodToString (Inherited from FormDataField.)
Protected methodValidate (Inherited from FormDataField.)
Top
Fields
  NameDescription
Public fieldFileContentColumn
Specifies the name of the column where the binary data of the file is stored.
Public fieldFileExtensionColumn
Specifies the name of the column where the file extension is stored.
Public fieldFileNameColumn
Specifies the name of the column where the file name is stored.
Public fieldId (Inherited from BaseField.)
Top
Remarks
This is a MatchPoint configuration class.
See Also