You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
@ -0,0 +1,59 @@
|
||||
//---------------------------------------------------------------------
|
||||
// <copyright file="ObjectPropertyMapping.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 ObjectPropertyMapping: ObjectMemberMapping
|
||||
{
|
||||
#region Constructors
|
||||
/// <summary>
|
||||
/// Constrcut a new member mapping metadata object
|
||||
/// </summary>
|
||||
/// <param name="edmProperty"></param>
|
||||
/// <param name="clrProperty"></param>
|
||||
internal ObjectPropertyMapping(EdmProperty edmProperty, EdmProperty clrProperty) :
|
||||
base(edmProperty, clrProperty)
|
||||
{
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
|
||||
/// <summary>
|
||||
/// The PropertyMetadata object that represents the Clr member for which mapping is being specified
|
||||
/// </summary>
|
||||
internal EdmProperty ClrProperty
|
||||
{
|
||||
get
|
||||
{
|
||||
return (EdmProperty)this.ClrMember;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// return the member mapping kind
|
||||
/// </summary>
|
||||
internal override MemberMappingKind MemberMappingKind
|
||||
{
|
||||
get
|
||||
{
|
||||
return MemberMappingKind.ScalarPropertyMapping;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user