Table of Contents

Class XPObjectType

Namespace
DevExpress.Xpo
Assembly
DevExpress.Xpo.v24.1.dll

Provides object type information for a complex inheritance hierarchy. XPO automatically updates the information on the object types declared in your object model.

[Persistent]
[MemberDesignTimeVisibility(false)]
public sealed class XPObjectType : IXPOServiceClass
Inheritance
XPObjectType
Implements
Inherited Members

Constructors

XPObjectType(XPDictionary, string, string)

Initializes a new instance of the XPObjectType class with the specified dictionary and type-specific settings.

public XPObjectType(XPDictionary dictionary, string assemblyName, string typeName)

Parameters

dictionary XPDictionary

An XPDictionary descendant that provides metadata information.

assemblyName string

A string value which specifies the assembly name. This value is assigned to the XPObjectType.AssemblyName property.

typeName string

A string value which specifies the type name. This value is assigned to the XPObjectType.TypeName property.

XPObjectType(Session)

Initializes a new instance of the XPObjectType class with the specified session.

public XPObjectType(Session session)

Parameters

session Session

A Session object.

XPObjectType(Session, string, string)

Initializes a new instance of the XPObjectType class with the specified session and type-specific settings.

public XPObjectType(Session session, string assemblyName, string typeName)

Parameters

session Session

A Session object.

assemblyName string

A string value which specifies the assembly name. This value is assigned to the XPObjectType.AssemblyName property.

typeName string

A string value which specifies the type name. This value is assigned to the XPObjectType.TypeName property.

Fields

ObjectTypePropertyName

This member supports the internal infrastructure and is not intended to be used directly from your code.

public const string ObjectTypePropertyName = "ObjectType"

Field Value

string

Oid

This member supports the internal infrastructure and is not intended to be used directly from your code.

[Persistent("OID")]
[Key(AutoGenerate = true)]
public int Oid

Field Value

int

Properties

AssemblyName

This member supports the internal infrastructure and is not intended to be used directly from your code.

[Size(254)]
public string AssemblyName { get; set; }

Property Value

string

A string value which specifies the assembly name.

Fields

Gets an object that contains field identifiers for Simplified Criteria Syntax.

public static XPObjectType.FieldsClass Fields { get; }

Property Value

XPObjectType.FieldsClass

The FieldsClass object that can contain field identifiers.

IsValidType

This member supports the internal infrastructure and is not intended to be used directly from your code.

[Browsable(false)]
public bool IsValidType { get; }

Property Value

bool

A boolean value.

SystemType

This member supports the internal infrastructure and is not intended to be used directly from your code.

[Browsable(false)]
public Type SystemType { get; }

Property Value

Type

A string value which specifies the system type.

TypeClassInfo

This member supports the internal infrastructure and is not intended to be used directly from your code.

[Browsable(false)]
public XPClassInfo TypeClassInfo { get; }

Property Value

XPClassInfo

An XPClassInfo object.

TypeName

This member supports the internal infrastructure and is not intended to be used directly from your code.

[Size(254)]
[Indexed(Unique = true)]
public string TypeName { get; set; }

Property Value

string

A string value which specifies the type name.

Methods

GetClassInfo()

Returns the persistent class metadata information for the current type.

public XPClassInfo GetClassInfo()

Returns

XPClassInfo

The XPClassInfo for the specified class type.