49 lines
1.5 KiB
C#
49 lines
1.5 KiB
C#
|
//---------------------------------------------------------------------
|
||
|
// <copyright file="ObjectNsavigationPropertyMapping.cs" company="Microsoft">
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
// </copyright>
|
||
|
//
|
||
|
// @owner [....]
|
||
|
// @backupOwner [....]
|
||
|
//---------------------------------------------------------------------
|
||
|
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Text;
|
||
|
using System.Xml;
|
||
|
using System.Data.Metadata.Edm;
|
||
|
|
||
|
namespace System.Data.Mapping {
|
||
|
/// <summary>
|
||
|
/// Mapping metadata for all OC member maps.
|
||
|
/// </summary>
|
||
|
internal class ObjectNavigationPropertyMapping: ObjectMemberMapping
|
||
|
{
|
||
|
#region Constructors
|
||
|
/// <summary>
|
||
|
/// Constrcut a new member mapping metadata object
|
||
|
/// </summary>
|
||
|
/// <param name="edmNavigationProperty"></param>
|
||
|
/// <param name="clrNavigationProperty"></param>
|
||
|
internal ObjectNavigationPropertyMapping(NavigationProperty edmNavigationProperty, NavigationProperty clrNavigationProperty) :
|
||
|
base(edmNavigationProperty, clrNavigationProperty)
|
||
|
{
|
||
|
}
|
||
|
#endregion
|
||
|
|
||
|
#region Properties
|
||
|
|
||
|
/// <summary>
|
||
|
/// return the member mapping kind
|
||
|
/// </summary>
|
||
|
internal override MemberMappingKind MemberMappingKind
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return MemberMappingKind.NavigationPropertyMapping;
|
||
|
}
|
||
|
}
|
||
|
#endregion
|
||
|
}
|
||
|
}
|