[This is preliminary documentation and is subject to change.]
The Schema FieldDef type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| Schema FieldDef(SerializationInfo, StreamingContext) | Initializes a new instance of the Schema FieldDef class | |
| Schema FieldDef(String, Type, FieldAttribute) | Initializes a new instance of the Schema FieldDef class | |
| Schema FieldDef(String, Type, QuerySource ColumnDef) | Initializes a new instance of the Schema FieldDef class | |
| Schema FieldDef(String, Type, IEnumerable FieldAttribute ) | Initializes a new instance of the Schema FieldDef class | |
| Schema FieldDef(String, Int32, Type, IEnumerable FieldAttribute , PropertyInfo) | Initializes a new instance of the Schema FieldDef class |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Overrides | |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetBackendNameForTarget(String) |
Returns the name of the field in backend that was possibly overriden for a particular target
| |
| GetBackendNameForTarget(String, FieldAttribute ) |
Returns the name of the field in backend that was possibly overriden for a particular target
along with store flag
| |
| GetHashCode | (Overrides | |
| GetObjectData | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| ToString | (Overrides | |
| ValueDescription |
For fields with ValueList returns value's description per specified schema
| |
| WriteAsJSON |
Writes fielddef as JSON. Do not call this method directly, instead call rowset.ToJSON() or use JSONWriter class
|
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| m_Order |
Properties
| Name | Description | |
|---|---|---|
| AnyTargetKey |
Returns true when this field is attributed as being a key field in an attribute that targets ANY_TARGET
| |
| AnyVisible |
Returns true when this field is attributed as being a visible in any of the targeted attribute
| |
| Attrs |
Returns field attributes
| |
| Description |
Returns description from field attribute or parses it from field name
| |
| Item |
Returns a FieldAttribute that matches the supplied targetName, or if one was not defined then
returns FieldAttribute which matches any target or null
| |
| MemberInfo |
For TypedRow-descendants returns a PropertyInfo object for the underlying property
| |
| Name |
Returns the name of the field
| |
| NonNullableType |
For nullable value types returns the field type regardless of nullability, it is the type argument of Nullable struct;
For reference types returns the same type as Type property
| |
| NonUI |
Returns true when at least one attribute was marked as NonUI - meaning that this field must not be serialized-to/deserialized-from client UI
| |
| Order |
Gets absolute field order index in a row
| |
| Type |
Returns the field type
|
See Also