Show / Hide Table of Contents

    Class SerializedData

    Serialized data

    Inheritance
    Object
    SerializedData
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: XData
    Assembly: XData.docfx.dll
    Syntax
    [DataContract]
    [Serializable]
    public class SerializedData

    Constructors

    | Improve this Doc View Source

    SerializedData(IRepository, IDataObject)

    Serialized data constructor

    Declaration
    public SerializedData(IRepository repository, IDataObject obj)
    Parameters
    Type Name Description
    IRepository repository

    Repository

    IDataObject obj

    Data object to serialize

    Properties

    | Improve this Doc View Source

    Data

    Serialized data

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

    ObjectType

    Object type

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

    State

    DataObject state

    Declaration
    [DataMember]
    public DataObjectState State { get; set; }
    Property Value
    Type Description
    DataObjectState

    Methods

    | Improve this Doc View Source

    GetFieldValue(Type, String)

    Returns field value

    Declaration
    public object GetFieldValue(Type type, string fieldName)
    Parameters
    Type Name Description
    Type type

    Field type

    String fieldName

    Field name

    Returns
    Type Description
    Object

    Field value

    Exceptions
    Type Condition
    XDataRuntimeException

    serialized data has not contains requested field.

    | Improve this Doc View Source

    HasFieldValue(String)

    Serialized data has field value

    Declaration
    public bool HasFieldValue(string fieldName)
    Parameters
    Type Name Description
    String fieldName

    Field name

    Returns
    Type Description
    Boolean

    Field value found

    | Improve this Doc View Source

    IsFieldNull(String)

    Serialized data field value is null

    Declaration
    public bool IsFieldNull(string fieldName)
    Parameters
    Type Name Description
    String fieldName

    Field name

    Returns
    Type Description
    Boolean

    Field value is null

    | Improve this Doc View Source

    ToString()

    Returns a String that represents the current Object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    A String that represents the current Object.

    Overrides
    Object.ToString()

    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