Class RelQueryTableNameClass

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("DAB3EE10-0F92-455D-8AA2-3D4ADE5B2F7D")]
public class RelQueryTableNameClass : RelQueryTableName, IName, IDatasetName, IRelQueryTableName, IRelQueryTableName2, IPersistStream, IPersist
Inheritance
RelQueryTableNameClass
Implements
Inherited Members

Constructors

RelQueryTableNameClass()

public RelQueryTableNameClass()

Explicit Interface Implementations

Category

The category of the dataset.

virtual string Category { get; set; }

Returns

string

DoNotPushJoinToDB

Indicates if the join is processed on the client.

virtual bool DoNotPushJoinToDB { get; set; }

Returns

bool

Remarks

If DoNotPushJoinToDB is True, the join is always processed on the client; otherwise, it is processed on the server (if possible). If all tables involved are stored in the same geodatabase, the processing can be performed by the server, which is normally faster. The LeftOuterJoin property must also be set to False in order for processing to occur on the server. In any other case, processing occurs on the client regardless of how this parameter is set.

FireRowChangedEvents

Indicates if Fire row changed events.

virtual bool FireRowChangedEvents { get; set; }

Returns

bool

ForwardDirection

Indicates if the originPrimaryClass of the RelationshipClass is the SourceTable.

virtual bool ForwardDirection { get; set; }

Returns

bool

Remarks

If ForwardDirection is True, the origin table in the RelationshipClassName is the source in the RelQueryTable, otherwise the destination table in the RelationshipClassName becomes the source. If the cardinality is many to one, you can define your relationship as one-to-many and set this parameter to false in order to make the many side the source. It's necessary to do this to get every joined row, since you can't set the cardinality to many-to-one for a RelationshipClass.

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

IPersistStream_GetClassID(out Guid)

virtual void IPersistStream_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IRelQueryTableName2_DoNotPushJoinToDB

Indicates if the join is processed on the client.

virtual bool IRelQueryTableName2_DoNotPushJoinToDB { get; set; }

Returns

bool

IRelQueryTableName2_ForwardDirection

Indicates if the originPrimaryClass of the RelationshipClass is the SourceTable.

virtual bool IRelQueryTableName2_ForwardDirection { get; set; }

Returns

bool

IRelQueryTableName2_LeftOuterJoin

Indicates if the type of join will be a left outer join.

virtual bool IRelQueryTableName2_LeftOuterJoin { get; set; }

Returns

bool

IRelQueryTableName2_RelationshipClassName

The name object for the RelationshipClass that defines the RelQueryTable.

virtual IName IRelQueryTableName2_RelationshipClassName { get; set; }

Returns

IName

Remarks

<FONT face=Verdana size=2>A <STRONG>RelationshipClassName</STRONG> identifies and locates a relationship class in a workspace and supports obtaining some key properties of the feature class without having to open (instantiate) it.</FONT> <P></P>

IRelQueryTableName2_SrcQueryFilter

A QueryFilter applied to a cursor opened from the RelQueryTable.

virtual IQueryFilter IRelQueryTableName2_SrcQueryFilter { get; set; }

Returns

IQueryFilter

IRelQueryTableName2_SrcSelectionSet

A SelectionSet applied to a cursor opened from the RelQueryTable.

virtual ISelectionSet IRelQueryTableName2_SrcSelectionSet { get; set; }

Returns

ISelectionSet

IRelQueryTableName2_TargetColumns

The destination dataset columns available in a cursor opened from the RelTableTable.

virtual string IRelQueryTableName2_TargetColumns { get; set; }

Returns

string

IsDirty()

virtual void IsDirty()

LeftOuterJoin

Indicates if the type of join will be a left outer join.

virtual bool LeftOuterJoin { get; set; }

Returns

bool

Remarks

A left outer join is performed if LeftOuterJoin is set to True, otherwise a left inner join is performed. See IRelQueryTableInfo::JoinType for more information.

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

Name

The name of the dataset.

virtual string Name { get; set; }

Returns

string

NameString

The name string of the object.

virtual string NameString { get; set; }

Returns

string

Remarks

The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.

Open()

Opens the object referred to by this name.

virtual object Open()

Returns

object

Remarks

The Open method lets you instantiate the actual object given the name object.

Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.

RelationshipClassName

The name object for the RelationshipClass that defines the RelQueryTable.

virtual IName RelationshipClassName { get; set; }

Returns

IName

Remarks

<FONT face=Verdana size=2>A <STRONG>RelationshipClassName</STRONG> identifies and locates a relationship class in a workspace and supports obtaining some key properties of the feature class without having to open (instantiate) it.</FONT> <P></P>

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

SrcQueryFilter

A QueryFilter applied to a cursor opened from the RelQueryTable.

virtual IQueryFilter SrcQueryFilter { get; set; }

Returns

IQueryFilter

Remarks

You can further define the data that will be returned by a RelQueryTable by applying a QueryFilter. The WhereClause of SrcQueryFilter is added to the WhereClause of the QueryFilter specified when you use the ITable::Search method using the and operator. The SubFields of SrcQueryFilter define which fields will include data when a cursor is opened. The other fields are included but will be empty.

SrcSelectionSet

A SelectionSet applied to a cursor opened from the RelQueryTable.

virtual ISelectionSet SrcSelectionSet { get; set; }

Returns

ISelectionSet

Remarks

This property is not implemented, and should not be set.

SubsetNames

Subset names contained within this dataset name.

virtual IEnumDatasetName SubsetNames { get; }

Returns

IEnumDatasetName

TargetColumns

The destination dataset columns available in a cursor opened from the RelTableTable.

virtual string TargetColumns { get; set; }

Returns

string

Remarks

This is a comma delimited string that defines the fields returned from the destination table. This is different from the SubFields of SrcQueryFilter since in this case, fields not included in TargetColumns are not included at all in a cursor.

Type

The type of the dataset.

virtual esriDatasetType Type { get; }

Returns

esriDatasetType

WorkspaceName

The WorkspaceName of the DatasetName.

virtual IWorkspaceName WorkspaceName { get; set; }

Returns

IWorkspaceName

Remarks

<P><FONT face=Verdana size=2>A workspace name specifies a workspace object and can be used to instantiate it. The workspace is specified using the connection properties for the workspace.  </FONT><FONT face=Verdana size=2>A workspace name is a key component of any dataset name for datasets in the workspace.</FONT></P> <P></P>