IMemoryRelationshipClassName Interface

Provides access to members that define a memory relationship class name.

Members

Name Description
Read/write property BackwardPathLabel The back label of the relationship.
Read/write property DestinationName The name object of the destination class of the memory relationship.
Read/write property ForwardPathLabel The forward label of the relationship.
Read/write property OriginForeignKey Origin foreign key field name.
Read/write property OriginName The name object for the origin table of the memory relationship.
Read/write property OriginPrimaryKey Origin primary key field name.

IMemoryRelationshipClassName.BackwardPathLabel Property

The back label of the relationship.

Public Property BackwardPathLabel As String
public string BackwardPathLabel {get; set;}

IMemoryRelationshipClassName.DestinationName Property

The name object of the destination class of the memory relationship.

Public Property DestinationName As IName
public IName DestinationName {get; set;}

IMemoryRelationshipClassName.ForwardPathLabel Property

The forward label of the relationship.

Public Property ForwardPathLabel As String
public string ForwardPathLabel {get; set;}

IMemoryRelationshipClassName.OriginForeignKey Property

Origin foreign key field name.

Public Property OriginForeignKey As String
public string OriginForeignKey {get; set;}

Remarks

This is the name of the field from the table referenced by the DestinationName property.

IMemoryRelationshipClassName.OriginName Property

The name object for the origin table of the memory relationship.

Public Property OriginName As IName
public IName OriginName {get; set;}

IMemoryRelationshipClassName.OriginPrimaryKey Property

Origin primary key field name.

Public Property OriginPrimaryKey As String
public string OriginPrimaryKey {get; set;}

Remarks

This is the name of the field from the table referenced by the OriginName property.

Classes that implement IMemoryRelationshipClassName

Classes Description
MemoryRelationshipClassName A name class that represents as in memory relationship class.

Remarks

The IMemoryRelationshipClassNameinterface contains properties that correspond to the parameters used with the IMemoryRelationshipClassFactory::Openmethod. These include the Originand Destinationtables, the fields and the forward and backward path names.

The only parameters from the IMemoryRelationshipClassFactory::Open method that don't have a corresponding property in IMemoryRelationshipClassName**are the name and the cardinality. The name can be set using the IDatasetNameinterface and the cardinality can be set using theIRelationshipClassNameinterface. Both of these interfaces are inherited by MemoryRelationshipClassName**.

The diagram below describes the associations that define a MemoryRelationshipClass .

Since a MemoryRelationshipClass**implements IDataset, you can use the IDataset::FullName**property to get a MemoryRelationshipClassName object that corresponds to an existing MemoryRelationshipClass.

See the IName interface topic for more information on Name objects in general.

The example below creates a new MemoryRelationshipClass using name objects.
The example below creates a new MemoryRelationshipClass using name objects.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.