2015-04-07 09:35:12 +01:00
|
|
|
//---------------------------------------------------------------------
|
|
|
|
|
// <copyright file="IRelationshipEnd.cs" company="Microsoft">
|
|
|
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
|
|
|
// </copyright>
|
|
|
|
|
//
|
2016-02-22 11:00:01 -05:00
|
|
|
// @owner jeffreed
|
|
|
|
|
// @backupOwner anpete
|
2015-04-07 09:35:12 +01:00
|
|
|
//---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace System.Data.EntityModel.SchemaObjectModel
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Abstracts the properties of an End element in a relationship
|
|
|
|
|
/// </summary>
|
|
|
|
|
internal interface IRelationshipEnd
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Name of the End
|
|
|
|
|
/// </summary>
|
|
|
|
|
string Name { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Type of the End
|
|
|
|
|
/// </summary>
|
|
|
|
|
SchemaEntityType Type { get; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Multiplicity of the End
|
|
|
|
|
/// </summary>
|
|
|
|
|
System.Data.Metadata.Edm.RelationshipMultiplicity? Multiplicity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The On<Operation>s defined for the End
|
|
|
|
|
/// </summary>
|
|
|
|
|
ICollection<OnOperation> Operations { get; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|