//---------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner mirszy
// @backupOwner sparra
//---------------------------------------------------------------------
namespace System.Data.Objects.DataClasses
{
///
/// Internal interface used to provide a non-typed way to store a reference to an object
/// that knows the type and cardinality of the source end of a relationship
///
internal interface IRelationshipFixer
{
///
/// Used during relationship fixup when the source end of the relationship is not
/// yet in the relationships list, and needs to be created
///
/// RelationshipNavigation to be set on new RelatedEnd
/// RelationshipManager to use for creating the new end
/// Reference to the new collection or reference on the other end of the relationship
RelatedEnd CreateSourceEnd(RelationshipNavigation navigation, RelationshipManager relationshipManager);
}
}