Class Field
Field object
Inherited Members
Namespace: XData.DataSource.Structure
Assembly: XData.docfx.dll
Syntax
[Serializable]
[DataContract]
public class Field : IField, ICloneable
Properties
| Improve this Doc View SourceDefaultFeature
Always use the default value (also when updating)
Declaration
[DataMember]
public DefaultFeature DefaultFeature { get; set; }
Property Value
Type | Description |
---|---|
DefaultFeature |
DefaultType
Default source
Declaration
[DataMember]
public DefaultType DefaultType { get; set; }
Property Value
Type | Description |
---|---|
DefaultType |
DefaultValue
Default value
Declaration
[DataMember]
public object DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
Object |
EnumValues
Enumeration values
Declaration
[DataMember]
public KeyValuePair<long, string>[] EnumValues { get; set; }
Property Value
Type | Description |
---|---|
KeyValuePair<Int64, String>[] |
Exists
Exists operation
Declaration
[DataMember]
public ExistsOperation Exists { get; set; }
Property Value
Type | Description |
---|---|
ExistsOperation |
ExprScale
Expression scale
Declaration
[DataMember]
public int ExprScale { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ExprSize
Expression size
Declaration
[DataMember]
public int ExprSize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ExprText
Expression text
Declaration
[DataMember]
public string ExprText { get; set; }
Property Value
Type | Description |
---|---|
String |
ExprType
Expression type
Declaration
[DataMember]
public DataExpressionType ExprType { get; set; }
Property Value
Type | Description |
---|---|
DataExpressionType |
FieldName
Field name
Declaration
[DataMember]
public string FieldName { get; set; }
Property Value
Type | Description |
---|---|
String |
Flags
Flags
Declaration
[DataMember]
public DataPropertyFlag Flags { get; set; }
Property Value
Type | Description |
---|---|
DataPropertyFlag |
IsArray
User defined type (UDT) collection is VARARRAY for field
Declaration
public bool IsArray { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsAutoIncrement
Autoincrement field flag
Declaration
[DataMember]
public bool IsAutoIncrement { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsSelectable
Selectable flag
Declaration
[DataMember]
public bool IsSelectable { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IsTablePk
Table primary key flag
Declaration
[DataMember]
public bool IsTablePk { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Name
Property name
Declaration
[DataMember]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
NativeSqlType
Native SQL type name
Declaration
[DataMember]
public string NativeSqlType { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Used to specify native SQL column type when conflicted with default type mapping
WARNING! May be not supported by database adapter!
SqlType
Sql type
Declaration
[DataMember]
public DbType SqlType { get; set; }
Property Value
Type | Description |
---|---|
DbType |
UdtElementTypeName
User defined type (UDT) element type name for field
Declaration
[DataMember]
public string UdtElementTypeName { get; set; }
Property Value
Type | Description |
---|---|
String |
UdtMappedType
User defined type (UDT) mapped type for field
Declaration
[DataMember]
public Type UdtMappedType { get; set; }
Property Value
Type | Description |
---|---|
Type |
UdtTypeName
User defined type (UDT) name for field
Declaration
[DataMember]
public string UdtTypeName { get; set; }
Property Value
Type | Description |
---|---|
String |
UpdateWithExprText
Update source expression text
Declaration
[DataMember]
public string UpdateWithExprText { get; set; }
Property Value
Type | Description |
---|---|
String |
UpdateWithExprType
Update source expression type
Declaration
[DataMember]
public DataExpressionType UpdateWithExprType { get; set; }
Property Value
Type | Description |
---|---|
DataExpressionType |
XPath
XML field value XPath
Declaration
[DataMember]
public string XPath { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
Used to specify native SQL column type when conflicted with default type mapping
WARNING! May be not supported by database adapter!
Methods
| Improve this Doc View SourceClone()
Creates a new object that is a copy of the current instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
Object | A new object that is a copy of this instance. |