xpo-devexpress-dot-xpo-dot-metadata-dot-xpclassinfo-a7fff7e6.md
Gets a collection of XPMemberInfo objects that are owned by the current persistent class metadata information and all its ancestors.
Namespace : DevExpress.Xpo.Metadata
Assembly : DevExpress.Xpo.v25.2.dll
NuGet Package : DevExpress.Xpo
public ICollection<XPMemberInfo> Members { get; }
Public ReadOnly Property Members As ICollection(Of XPMemberInfo)
| Type | Description |
|---|---|
| ICollection<XPMemberInfo> |
An array of XPMemberInfo objects that are owned by the current persistent class metadata information and all its ancestors.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Members 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-implement-odata4-service-with-xpo-netcore/CS/ODataService/Models/SingletonEdmModel.cs#L67
if(classInfo.KeyProperty is ReflectionFieldInfo) {
foreach(XPMemberInfo mi in classInfo.Members) {
if(mi.IsAliased) {
XPO_how-to-implement-odata4-service-with-xpo/CS/ODataService/App_Start/WebApiConfig.cs#L80
if(classInfo.KeyProperty is ReflectionFieldInfo) {
foreach(XPMemberInfo mi in classInfo.Members) {
if(mi.IsAliased) {
xpo-json-serialization/CS/XpoSerialization/JsonConverters.cs#L22
writer.WriteStartObject();
foreach(XPMemberInfo member in classInfo.Members) {
if(CanSerialize(member)) {
See Also