Show / Hide Table of Contents

    Class Xml

    Xml field wrapper

    Inheritance
    Object
    Xml
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: XData.Mapping
    Assembly: XData.docfx.dll
    Syntax
    public abstract class Xml
    Examples
        // declaration
            [Property("source", "SR", Flags = DataPropertyFlag.OuterFlag)] 
            public Xml Source { get; set; }
        // using
            newInvoice.Source += new XDocument(new XElement("invoice", new XAttribute("number", number), new XAttribute("state", "CREATED")));
        // is the same as
            newInvoice.Source.Document = new XDocument(new XElement("invoice", new XAttribute("number", number), new XAttribute("state", "CREATED")));

    Properties

    | Improve this Doc View Source

    Assigned

    Xml is value is changed from null value

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

    Cleared

    Xml is value is cleared

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

    Document

    Xml document

    Declaration
    public abstract XDocument Document { get; set; }
    Property Value
    Type Description
    XDocument
    | Improve this Doc View Source

    EmptyKeys

    Xml table keys are empty

    Declaration
    public abstract bool EmptyKeys { get; }
    Property Value
    Type Description
    Boolean

    Methods

    | Improve this Doc View Source

    Extract(String, KeyValuePair<String, String>[])

    Extract value by xpath expression

    Declaration
    public abstract string Extract(string path, params KeyValuePair<string, string>[] namespaces)
    Parameters
    Type Name Description
    String path

    XPath expression

    KeyValuePair<String, String>[] namespaces

    Xml namespaces

    Returns
    Type Description
    String

    Value

    Operators

    | Improve this Doc View Source

    Addition(Xml, XDocument)

    Set Xml document

    Declaration
    public static Xml operator +(Xml xml, XDocument document)
    Parameters
    Type Name Description
    Xml xml

    Xml property

    XDocument document

    Xml document

    Returns
    Type Description
    Xml

    Updated xml property

    | Improve this Doc View Source

    Implicit(Xml to XDocument)

    Implicit Xml document conversion

    Declaration
    public static implicit operator XDocument(Xml xml)
    Parameters
    Type Name Description
    Xml xml

    Xml property

    Returns
    Type Description
    XDocument

    Xml document

    Extension Methods

    DataObjectExtensions.Modify(Xml, Action<XDocument>)
    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>>)

    See Also

    XData.Mapping.Xml.Value
    Addition(Xml, XDocument)
    Implicit(Xml to XDocument)
    Modify(Xml, Action<XDocument>)
    Assigned
    Cleared
    EmptyKeys
    Extract(String, KeyValuePair<String, String>[])
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX