/// <summary>
 /// Refs the add single cross ref outer joins.
 /// <author>unknown</author>
 /// </summary>
 /// <param name="joinsString">The joins string.</param>
 /// <param name="tableAliases">The table aliases.</param>
 /// <param name="joinField">The join field.</param>
 /// <param name="path">The path.</param>
 /// <param name="field">The field.</param>
 /// <exception cref="System.NotImplementedException"></exception>
 protected override void RefAddSingleCrossRefOuterJoins(
     StringBuilder joinsString,
     TableAliasCollection tableAliases,
     ReferenceJoinFieldDefinition joinField,
     string path = "",
     ReferenceFieldDefinition field = null)
 {
     throw new NotImplementedException();
 }
示例#2
0
        public static string GetJoinTableName(ReferenceJoinFieldDefinition joinField)
        {
            if (joinField == null)
            {
                return null;
            }

            if (joinField.ColumnType == ColumnTypes.MultiReference && joinField.ReferenceField == null)
            {
                return GetMultiCrossReferenceJoinTableName(joinField.DefinedIn.SystemName, joinField.SystemName, joinField.ReferencedProcess.SystemName);
            }

            if (joinField.ColumnType == ColumnTypes.Checklist)
            {
                return GetChecklistJoinTableName(joinField.DefinedIn.SystemName, joinField.SystemName);
            }

            throw new InvalidOperationException("Invalid field type.");
        }