Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / EdmProperty.cs / 3 / EdmProperty.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....], [....]
//---------------------------------------------------------------------
using System.Data.Common;
using System.Threading;
namespace System.Data.Metadata.Edm
{
///
/// Represent the edm property class
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")]
public sealed class EdmProperty : EdmMember
{
#region Constructors
///
/// Initializes a new instance of the property class
///
/// name of the property
/// TypeUsage object containing the property type and its facets
/// Thrown if name or typeUsage arguments are null
/// Thrown if name argument is empty string
internal EdmProperty(string name, TypeUsage typeUsage)
: base(name, typeUsage)
{
EntityUtil.CheckStringArgument(name, "name");
EntityUtil.GenericCheckArgumentNull(typeUsage, "typeUsage");
}
#endregion
#region Fields
/// Store the handle, allowing the PropertyInfo/MethodInfo/Type references to be GC'd
internal readonly System.RuntimeMethodHandle PropertyGetterHandle;
/// Store the handle, allowing the PropertyInfo/MethodInfo/Type references to be GC'd
internal readonly System.RuntimeMethodHandle PropertySetterHandle;
/// cached dynamic method to get the property value from a CLR instance
private Func
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DependencyPropertyAttribute.cs
- BufferAllocator.cs
- HtmlContainerControl.cs
- SafeProcessHandle.cs
- MergeFilterQuery.cs
- _NetworkingPerfCounters.cs
- LabelLiteral.cs
- FunctionImportMapping.cs
- CorruptingExceptionCommon.cs
- XamlPathDataSerializer.cs
- BaseResourcesBuildProvider.cs
- BoundsDrawingContextWalker.cs
- DetailsViewDeletedEventArgs.cs
- MaterialGroup.cs
- PagesSection.cs
- DesignConnectionCollection.cs
- PointValueSerializer.cs
- WinFormsUtils.cs
- MemberRestriction.cs
- TiffBitmapEncoder.cs
- SocketPermission.cs
- _BufferOffsetSize.cs
- XmlWriterTraceListener.cs
- ProtocolsConfigurationEntry.cs
- WindowsPrincipal.cs
- ServiceMetadataExtension.cs
- HeaderedContentControl.cs
- TextTreeTextBlock.cs
- GradientBrush.cs
- XmlArrayItemAttribute.cs
- DiscoveryDocumentSerializer.cs
- EnumBuilder.cs
- ProtocolsConfigurationEntry.cs
- LinkedList.cs
- DocumentCollection.cs
- TypeExtensionConverter.cs
- CodeDefaultValueExpression.cs
- XmlEncoding.cs
- SuppressMergeCheckAttribute.cs
- CombinedGeometry.cs
- OSFeature.cs
- EventWaitHandleSecurity.cs
- ProcessDesigner.cs
- ManipulationDelta.cs
- InvalidProgramException.cs
- ResolveResponseInfo.cs
- InputLanguageProfileNotifySink.cs
- FindResponse.cs
- SymLanguageVendor.cs
- OpacityConverter.cs
- CodeDomLocalizationProvider.cs
- EntityContainer.cs
- SystemIPGlobalStatistics.cs
- InkCanvasSelection.cs
- MethodBody.cs
- HtmlInputRadioButton.cs
- OdbcParameter.cs
- SqlTrackingQuery.cs
- WeakReadOnlyCollection.cs
- FormDocumentDesigner.cs
- ExecutionEngineException.cs
- CommonProperties.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ViewStateException.cs
- SpeakInfo.cs
- XmlSchemaDocumentation.cs
- CLRBindingWorker.cs
- PropertyMetadata.cs
- GridViewEditEventArgs.cs
- RuntimeArgumentHandle.cs
- hwndwrapper.cs
- BStrWrapper.cs
- PerspectiveCamera.cs
- RepeatButtonAutomationPeer.cs
- QilInvoke.cs
- EllipticalNodeOperations.cs
- Vars.cs
- SchemaCollectionPreprocessor.cs
- PowerModeChangedEventArgs.cs
- GridViewColumnCollection.cs
- ThreadInterruptedException.cs
- UpDownEvent.cs
- MappingItemCollection.cs
- WebMessageFormatHelper.cs
- SignatureConfirmations.cs
- _Win32.cs
- DataContractSerializer.cs
- HttpCookie.cs
- UnsafePeerToPeerMethods.cs
- DummyDataSource.cs
- WebPartConnectionsCancelVerb.cs
- OpenTypeLayoutCache.cs
- ListControl.cs
- DetailsViewUpdatedEventArgs.cs
- RowSpanVector.cs
- ContentTypeSettingClientMessageFormatter.cs
- HttpErrorTraceRecord.cs
- _CookieModule.cs
- UndoManager.cs
- OleDbError.cs