Show / Hide Table of Contents

    Class Field

    Field object

    Inheritance
    Object
    Field
    Implements
    IField
    ICloneable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: XData.DataSource.Structure
    Assembly: XData.docfx.dll
    Syntax
    [Serializable]
    [DataContract]
    public class Field : IField, ICloneable

    Properties

    | Improve this Doc View Source

    DefaultFeature

    Always use the default value (also when updating)

    Declaration
    [DataMember]
    public DefaultFeature DefaultFeature { get; set; }
    Property Value
    Type Description
    DefaultFeature
    | Improve this Doc View Source

    DefaultType

    Default source

    Declaration
    [DataMember]
    public DefaultType DefaultType { get; set; }
    Property Value
    Type Description
    DefaultType
    | Improve this Doc View Source

    DefaultValue

    Default value

    Declaration
    [DataMember]
    public object DefaultValue { get; set; }
    Property Value
    Type Description
    Object
    | Improve this Doc View Source

    EnumValues

    Enumeration values

    Declaration
    [DataMember]
    public KeyValuePair<long, string>[] EnumValues { get; set; }
    Property Value
    Type Description
    KeyValuePair<Int64, String>[]
    | Improve this Doc View Source

    Exists

    Exists operation

    Declaration
    [DataMember]
    public ExistsOperation Exists { get; set; }
    Property Value
    Type Description
    ExistsOperation
    | Improve this Doc View Source

    ExprScale

    Expression scale

    Declaration
    [DataMember]
    public int ExprScale { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    ExprSize

    Expression size

    Declaration
    [DataMember]
    public int ExprSize { get; set; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    ExprText

    Expression text

    Declaration
    [DataMember]
    public string ExprText { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    ExprType

    Expression type

    Declaration
    [DataMember]
    public DataExpressionType ExprType { get; set; }
    Property Value
    Type Description
    DataExpressionType
    | Improve this Doc View Source

    FieldName

    Field name

    Declaration
    [DataMember]
    public string FieldName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Flags

    Flags

    Declaration
    [DataMember]
    public DataPropertyFlag Flags { get; set; }
    Property Value
    Type Description
    DataPropertyFlag
    | Improve this Doc View Source

    IsArray

    User defined type (UDT) collection is VARARRAY for field

    Declaration
    public bool IsArray { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsAutoIncrement

    Autoincrement field flag

    Declaration
    [DataMember]
    public bool IsAutoIncrement { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsSelectable

    Selectable flag

    Declaration
    [DataMember]
    public bool IsSelectable { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    IsTablePk

    Table primary key flag

    Declaration
    [DataMember]
    public bool IsTablePk { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Name

    Property name

    Declaration
    [DataMember]
    public string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    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!

    | Improve this Doc View Source

    SqlType

    Sql type

    Declaration
    [DataMember]
    public DbType SqlType { get; set; }
    Property Value
    Type Description
    DbType
    | Improve this Doc View Source

    UdtElementTypeName

    User defined type (UDT) element type name for field

    Declaration
    [DataMember]
    public string UdtElementTypeName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    UdtMappedType

    User defined type (UDT) mapped type for field

    Declaration
    [DataMember]
    public Type UdtMappedType { get; set; }
    Property Value
    Type Description
    Type
    | Improve this Doc View Source

    UdtTypeName

    User defined type (UDT) name for field

    Declaration
    [DataMember]
    public string UdtTypeName { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    UpdateWithExprText

    Update source expression text

    Declaration
    [DataMember]
    public string UpdateWithExprText { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    UpdateWithExprType

    Update source expression type

    Declaration
    [DataMember]
    public DataExpressionType UpdateWithExprType { get; set; }
    Property Value
    Type Description
    DataExpressionType
    | Improve this Doc View Source

    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 Source

    Clone()

    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.

    Implements

    IField
    System.ICloneable

    Extension Methods

    SerializationExtensions.ToXml<T>(T)
    CollectionsExtensions.SetValue<TKey, T>(TKey, T)
    CollectionsExtensions.AsEnum<T>(T)
    DataObjectQueryableExtensions.CompareVariable(Object, FilterOperation, String)
    Processing.Do<T>(T, Action<IProcess<T>>[])
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>)
    TypeExtensions.TryConvert<T, TResult>(T, Func<T, TResult>, TResult)
    TypeExtensions.ChangeType<T>(Object)
    TypeExtensions.ChangeType(Object, Type)
    TypeExtensions.InvokeMethod<TRet>(Object, Type[], Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Type[], Expression<Action>, BindingFlags)
    TypeExtensions.InvokeMethod<TRet>(Object, Expression<Func<TRet>>, BindingFlags)
    TypeExtensions.InvokeMethod(Object, Expression<Action>, BindingFlags)
    SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)
    QueryDescriptionExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IQueryStructureAdapter, TResult>>)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX