Back to Devexpress

XPClassInfo.FullName Property

xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-b7219c3a.md

latest4.2 KB
Original Source

XPClassInfo.FullName Property

When implemented in a derived class, returns the full name of the class.

Namespace : DevExpress.Xpo.Metadata

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public abstract string FullName { get; }
vb
Public MustOverride ReadOnly Property FullName As String

Property Value

TypeDescription
String

A String value which specifies the full name of the class.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the FullName property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

XPO_how-to-generate-a-sequential-number-for-a-business-object-within-a-database-transaction-e2620/CS/ExplicitUnitOfWorkDemo/SequenceGenerator.cs#L25

csharp
if(seq == null) {
    seq = euow.GetObjectByKey<Sequence>(classInfo.FullName, true);
    if(seq == null) {

XAF_generate-a-sequential-number-for-a-persistent-object-within-a-database-transaction/CS/XPO/SequenceGenerator/SequenceGenerator.Module/SequenceClasses/SequenceGenerator.cs#L146

csharp
}
    return ci.FullName;
}

XPO_how-to-track-changes-made-to-persistent-objects-and-write-them-into-a-separate-table-e2419/CS/Q149895/Northwind.cs#L15

csharp
audit.Date = DateTime.Now;
audit.AuditedRecord = string.Format("{0}({1})", ClassInfo.FullName, Session.GetKeyValue(this));
audit.User = Environment.UserName;

XPO_how-to-generate-a-sequential-number-for-a-business-object-within-a-database-transaction-e2620/VB/ExplicitUnitOfWorkDemo/SequenceGenerator.vb#L27

vb
If seq Is Nothing Then
    seq = euow.GetObjectByKey(Of Sequence)(classInfo.FullName, True)
    If seq Is Nothing Then

XPO_how-to-track-changes-made-to-persistent-objects-and-write-them-into-a-separate-table-e2419/VB/Q149895/Northwind.vb#L19

vb
audit.Date = DateTime.Now
audit.AuditedRecord = String.Format("{0}({1})", ClassInfo.FullName, Session.GetKeyValue(Me))
audit.User = Environment.UserName

See Also

AssemblyName

TableName

XPClassInfo Class

XPClassInfo Members

DevExpress.Xpo.Metadata Namespace