Show / Hide Table of Contents

Class DataRelationship

Describes the relationships among logical records in the dataset. Date Relationship is needed to create the appropriate link between the logical record and the physical storage description.

Inheritance
Object
NotificationObject
IdentifiableBase
VersionableBase
DescribableBase
DataRelationship
Implements
INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IDescribable
IVisitable
Inherited Members
DescribableBase.ItemName
DescribableBase.Label
DescribableBase.Description
DescribableBase.DisplayLabel
VersionableBase.Accept(IVersionableVisitor)
VersionableBase.IsDirty
VersionableBase.IsPublished
VersionableBase.ChildrenDereferenced
VersionableBase.IsPopulated
VersionableBase.Version
VersionableBase.VersionDate
VersionableBase.VersionResponsibility
VersionableBase.VersionRationale
VersionableBase.CompositeId
VersionableBase.CustomFields
VersionableBase.UserAttributes
VersionableBase.OtherMaterials
VersionableBase.BasedOn
VersionableBase.Attachments
VersionableBase.ThumbnailImageUri
VersionableBase.BannerImageUri
VersionableBase.ManagedCollections
VersionableBase.ManageCollection(INotifyCollectionChanged, String)
VersionableBase.RemoveChild(IVersionable, IList[])
VersionableBase.RemoveChild(IdentifierTriple, IList[])
VersionableBase.AddChild(IVersionable)
VersionableBase.ChildTypesAccepted
VersionableBase.TryReplaceChild<T>(Func<T>, Action<T>, IdentifierTriple, IVersionable)
VersionableBase.ToString()
IdentifiableBase.DefaultAgencyId
IdentifiableBase.AgencyId
IdentifiableBase.Identifier
IdentifiableBase.UserIds
IdentifiableBase.GetUserIdValue(String)
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(String)
NotificationObject.RaisePropertyChanged(String[])
NotificationObject.RaisePropertyChanged<T>(Expression<Func<T>>)
NotificationObject.OnPropertyChanged(String)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, String)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class DataRelationship : DescribableBase, INotifyPropertyChanged, IVersionable, IIdentifiable, IHasCustomFields, IDescribable, IVisitable

Constructors

DataRelationship()

Initializes a new instance of the DataRelationship class.

Declaration
public DataRelationship()

Properties

ItemType

Gets the universally unique identifier representing the item's type.

Declaration
public override Guid ItemType { get; }
Property Value
Type Description
Guid

The identifier representing the item's type.

Overrides
VersionableBase.ItemType

LogicalRecords

Gets the logical records that are part of this DataRelationship.

Declaration
public ObservableCollection<LogicalRecord> LogicalRecords { get; }
Property Value
Type Description
ObservableCollection<LogicalRecord>

RecordRelationships

Gets the relationships among LogicalRecords.

Declaration
public ObservableCollection<RecordRelationship> RecordRelationships { get; }
Property Value
Type Description
ObservableCollection<RecordRelationship>

Methods

GetChildren()

Gets the identifiers of the item's children.

Declaration
public override ChildItemCollection GetChildren()
Returns
Type Description
ChildItemCollection

The identifiers of the item's children.

Overrides
VersionableBase.GetChildren()

RemoveChild(IdentifierTriple)

Removes the specified child.

Declaration
public override int RemoveChild(IdentifierTriple child)
Parameters
Type Name Description
IdentifierTriple child

The child to be removed.

Returns
Type Description
Int32

The number of children removed from the item.

Overrides
VersionableBase.RemoveChild(IdentifierTriple)
Exceptions
Type Condition
ArgumentNullException

child

ReplaceChild(IdentifierTriple, IVersionable)

Replaces the child with the specified identifier with the provided item.

Declaration
public override int ReplaceChild(IdentifierTriple toReplace, IVersionable child)
Parameters
Type Name Description
IdentifierTriple toReplace

The identifier of the child to replace.

IVersionable child

The new child.

Returns
Type Description
Int32

The number of children replaced.

Overrides
VersionableBase.ReplaceChild(IdentifierTriple, IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

Implements

System.ComponentModel.INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IDescribable
IVisitable

Extension Methods

VersionableExtensions.GetMetadata(IVersionable)
VersionableExtensions.GetHeader(IVersionable)
VersionableExtensions.SetUserAttribute(IVersionable, String, String)
VersionableExtensions.GetUserAttribute(IVersionable, String)
VersionableExtensions.GetUserAttributeInt(IVersionable, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, String, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, String)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, String, IVersionable)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, IVersionable)
VersionableCustomFieldExtensions.GetCustomFieldStringValue(IHasCustomFields, String)
VersionableCustomFieldExtensions.GetCustomFieldUriValue(IHasCustomFields, String)
VersionableCustomFieldExtensions.GetCustomFieldMultilingualStringValue(IHasCustomFields, String)
VersionableUserIdExtensions.SetUserId(IVersionable, String, String)
Extensions.GetMultilingualStrings(IVersionable)
Extensions.GetDdiFragmentRepresentation(IVersionable, DDIWorkflowSerializer, XmlDocument)
Extensions.GetDdi32FragmentRepresentation(IVersionable, Ddi32Serializer)
Extensions.GetDdi33FragmentRepresentation(IVersionable, Ddi33Serializer)
NamingHelper.GetBaseFileNameForItem(IVersionable)
In This Article
Back to top Generated by DocFX