JoinTableInformation Constructor (CatalogJoinType, String, String, String)
Initializes a new instance of the JoinTableInformation class with the specified external join type, target table name, and join keys for the source catalog and target table.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub New ( _
joinType As CatalogJoinType, _
targetTableName As String, _
sourceJoinKey As String, _
targetJoinKey As String _
)
'Usage
Dim joinType As CatalogJoinType
Dim targetTableName As String
Dim sourceJoinKey As String
Dim targetJoinKey As String
Dim instance As New JoinTableInformation(joinType, _
targetTableName, sourceJoinKey, _
targetJoinKey)
public JoinTableInformation(
CatalogJoinType joinType,
string targetTableName,
string sourceJoinKey,
string targetJoinKey
)
public:
JoinTableInformation(
CatalogJoinType joinType,
String^ targetTableName,
String^ sourceJoinKey,
String^ targetJoinKey
)
public function JoinTableInformation(
joinType : CatalogJoinType,
targetTableName : String,
sourceJoinKey : String,
targetJoinKey : String
)
Parameters
- joinType
Type: Microsoft.CommerceServer.Catalog..::.CatalogJoinType
A CatalogJoinType that contains the external SQL Server join type.
- targetTableName
Type: System..::.String
The name of the target (external) table.
- sourceJoinKey
Type: System..::.String
The join key in the source catalog.
- targetJoinKey
Type: System..::.String
The join key in the target table.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The JoinTableInformation is nullNothingnullptra null reference (Nothing in Visual Basic). |
Remarks
The join table stores join information about an external data table or view that is joined to the catalog system. The information is for joining product/variant records. The join information is in effect for the lifetime of the CatalogContext object.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.