Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / EdmProperty.cs / 1305376 / EdmProperty.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
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;
/// Store the handle, allowing the PropertyInfo/MethodInfo/Type references to be GC'd
internal readonly System.RuntimeTypeHandle EntityDeclaringType;
/// 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
- SqlFormatter.cs
- GridView.cs
- Int16KeyFrameCollection.cs
- Invariant.cs
- BlobPersonalizationState.cs
- DiagnosticTrace.cs
- FrameworkContextData.cs
- SoapEnvelopeProcessingElement.cs
- PageCatalogPart.cs
- AddInContractAttribute.cs
- CommandSet.cs
- PropertyPushdownHelper.cs
- ConfigXmlComment.cs
- EditingCommands.cs
- TransformedBitmap.cs
- CreateUserErrorEventArgs.cs
- WindowsFont.cs
- XmlReturnReader.cs
- AuthenticationService.cs
- DataBinder.cs
- Padding.cs
- DefaultBinder.cs
- ExpressionEditorAttribute.cs
- FilterUserControlBase.cs
- ProcessThreadCollection.cs
- MinimizableAttributeTypeConverter.cs
- TrackBarRenderer.cs
- MailDefinition.cs
- EntityParameterCollection.cs
- SyndicationFeed.cs
- NumericExpr.cs
- ClientRoleProvider.cs
- ImageListDesigner.cs
- UniqueIdentifierService.cs
- BuildProviderCollection.cs
- ConfigXmlSignificantWhitespace.cs
- ModifierKeysConverter.cs
- TypeUtils.cs
- ToolstripProfessionalRenderer.cs
- XmlILCommand.cs
- CriticalHandle.cs
- HandlerBase.cs
- XmlStreamStore.cs
- DataControlLinkButton.cs
- InheritablePropertyChangeInfo.cs
- CipherData.cs
- TextEditorSelection.cs
- CheckPair.cs
- coordinatorscratchpad.cs
- AccessibilityApplicationManager.cs
- DbConnectionPoolOptions.cs
- WebContentFormatHelper.cs
- QueryOperationResponseOfT.cs
- SystemIPv4InterfaceProperties.cs
- StyleCollection.cs
- DetailsViewRow.cs
- HashStream.cs
- CssClassPropertyAttribute.cs
- CngProperty.cs
- SecurityUtils.cs
- LOSFormatter.cs
- CacheOutputQuery.cs
- OperationContext.cs
- RepeaterItemEventArgs.cs
- SubqueryRules.cs
- ColumnMapVisitor.cs
- LogicalTreeHelper.cs
- WorkflowStateRollbackService.cs
- FixedDocumentSequencePaginator.cs
- OdbcConnectionHandle.cs
- CreateInstanceBinder.cs
- DataPagerField.cs
- Membership.cs
- LineProperties.cs
- EndpointDiscoveryMetadata.cs
- BitmapDecoder.cs
- XPathParser.cs
- NamedElement.cs
- ResolveDuplexCD1AsyncResult.cs
- TabPage.cs
- IndicShape.cs
- ElementAction.cs
- DecimalStorage.cs
- OleDbRowUpdatingEvent.cs
- XPathSelectionIterator.cs
- DecimalAnimationBase.cs
- WinFormsUtils.cs
- AssertSection.cs
- RSAPKCS1SignatureFormatter.cs
- SqlParameterCollection.cs
- ListMarkerLine.cs
- MissingFieldException.cs
- TracingConnection.cs
- OneWayBindingElement.cs
- BrowserTree.cs
- AsynchronousChannelMergeEnumerator.cs
- ToolboxItemSnapLineBehavior.cs
- DynamicPropertyHolder.cs
- newinstructionaction.cs
- BrowserDefinition.cs