Skip to content

Commit

Permalink
Merge branch 'release-4.0.1' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyCaney committed Jan 8, 2020
2 parents 8e56be8 + a717517 commit c7c9d33
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ INSERT
INTO @Existing_TopicIDs (
TopicId
)
SELECT Target_TopicID
SELECT Target_TopicId
FROM Relationships
WHERE Source_TopicID = @TopicID
WHERE Source_TopicId = @TopicID
AND RelationshipKey = @RelationshipKey

--------------------------------------------------------------------------------------------------------------------------------
Expand All @@ -41,8 +41,8 @@ SELECT @TopicId,
Target.TopicId
FROM @RelatedTopics Target
FULL JOIN @Existing_TopicIDs Existing
ON Existing.TopicID = Target.TopicID
WHERE Existing.TopicID is null
ON Existing.TopicId = Target.TopicId
WHERE Existing.TopicId is null

--------------------------------------------------------------------------------------------------------------------------------
-- RETURN TOPIC ID
Expand Down
2 changes: 1 addition & 1 deletion OnTopic.Tests/ViewModels/DisableMappingTopicViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace OnTopic.Tests.ViewModels {
| VIEW MODEL: DISABLE MAPPING
\---------------------------------------------------------------------------------------------------------------------------*/
/// <summary>
/// Provides a simple view model with a single property (<see cref="Key") which is annotated with the <see
/// Provides a simple view model with a single property (<see cref="Key" />) which is annotated with the <see
/// cref="DisableMappingAttribute"/>.
/// </summary>
/// <remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace OnTopic.Tests.ViewModels.Metadata {
\---------------------------------------------------------------------------------------------------------------------------*/
/// <summary>
/// Provides a strongly-typed data transfer object for testing view models with properties that map to custom collections
/// on the source <see cref="Topic"/>, as part of <see cref="TopicMappingServiceTest.CustomCollection"/>.
/// on the source <see cref="Topic"/>.
/// </summary>
/// <remarks>
/// This is a sample class intended for test purposes only; it is not designed for use in a production environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
| Client Ignia, LLC
| Project Topics Library
\=============================================================================================================================*/
using OnTopic.Metadata.AttributeTypes;

namespace OnTopic.Tests.ViewModels.Metadata {

/*============================================================================================================================
| VIEW MODEL: TEXT ATTRIBUTE (DESCRIPTOR)
\---------------------------------------------------------------------------------------------------------------------------*/
/// <summary>
/// Provides a strongly-typed data transfer object for testing view models with properties that map to custom collections
/// on the source <see cref="Topic"/>, as part of <see cref="TopicMappingServiceTest.CustomCollection"/>.
/// Provides a dummy implementation of a view model for an <see cref="AttributeTypeDescriptor"/> view model, in order to
/// allow the dynamic resolution of mapping <see cref="TextAttribute"/> topics to view models.
/// </summary>
/// <remarks>
/// This is a sample class intended for test purposes only; it is not designed for use in a production environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
| Client Ignia, LLC
| Project Topics Library
\=============================================================================================================================*/
using OnTopic.Metadata.AttributeTypes;

namespace OnTopic.Tests.ViewModels.Metadata {

/*============================================================================================================================
| VIEW MODEL: TOPIC REFERENCE ATTRIBUTE (DESCRIPTOR)
\---------------------------------------------------------------------------------------------------------------------------*/
/// <summary>
/// Provides a strongly-typed data transfer object for testing view models with properties that map to custom collections
/// on the source <see cref="Topic"/>, as part of <see cref="TopicMappingServiceTest.CustomCollection"/>.
/// Provides a dummy implementation of a view model for an <see cref="AttributeTypeDescriptor"/> view model, in order to
/// allow the dynamic resolution of mapping <see cref="TopicReferenceAttribute"/> topics to view models.
/// </summary>
/// <remarks>
/// This is a sample class intended for test purposes only; it is not designed for use in a production environment.
Expand Down

0 comments on commit c7c9d33

Please # to comment.