Code:
/ 4.0 / 4.0 / untmp / 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
- AnnotationMap.cs
- HttpListenerPrefixCollection.cs
- IDReferencePropertyAttribute.cs
- FormViewInsertEventArgs.cs
- ColorAnimation.cs
- ItemsPanelTemplate.cs
- BuildResult.cs
- FamilyMap.cs
- WithStatement.cs
- SafeProcessHandle.cs
- GreenMethods.cs
- StagingAreaInputItem.cs
- ToolboxItem.cs
- IPEndPoint.cs
- DebugInfoGenerator.cs
- ActivityMarkupSerializationProvider.cs
- TreeNodeClickEventArgs.cs
- WebFormDesignerActionService.cs
- EntityCommandExecutionException.cs
- BindValidationContext.cs
- ScriptDescriptor.cs
- NTAccount.cs
- InteropAutomationProvider.cs
- HttpRequestCacheValidator.cs
- ClipboardData.cs
- ExternalException.cs
- AsyncResult.cs
- StaticResourceExtension.cs
- StringAnimationUsingKeyFrames.cs
- Matrix3D.cs
- TogglePattern.cs
- Parsers.cs
- ProcessProtocolHandler.cs
- WebBaseEventKeyComparer.cs
- DirectionalLight.cs
- DurableEnlistmentState.cs
- SettingsPropertyCollection.cs
- ReadContentAsBinaryHelper.cs
- DataKey.cs
- XhtmlCssHandler.cs
- HandlerBase.cs
- AssociatedControlConverter.cs
- Oci.cs
- ParameterBuilder.cs
- BufferedMessageWriter.cs
- JulianCalendar.cs
- ConfigXmlElement.cs
- SurrogateSelector.cs
- ImmutableObjectAttribute.cs
- __Error.cs
- XmlWhitespace.cs
- CompilerParameters.cs
- ModelTypeConverter.cs
- CodeAttachEventStatement.cs
- EventProxy.cs
- XslUrlEditor.cs
- CaseInsensitiveOrdinalStringComparer.cs
- AutoGeneratedFieldProperties.cs
- HelpProvider.cs
- PointHitTestResult.cs
- EventsTab.cs
- LogicalExpr.cs
- ControlValuePropertyAttribute.cs
- SessionChannels.cs
- altserialization.cs
- SqlCaseSimplifier.cs
- MetadataSection.cs
- CapacityStreamGeometryContext.cs
- PermissionListSet.cs
- Select.cs
- ProxyHwnd.cs
- ContentTextAutomationPeer.cs
- ExpressionBindingCollection.cs
- CodeGeneratorOptions.cs
- Compiler.cs
- CheckPair.cs
- XslNumber.cs
- AutoGeneratedField.cs
- CommandID.cs
- FileSystemEventArgs.cs
- ElementProxy.cs
- PeerEndPoint.cs
- InkCanvas.cs
- Cursors.cs
- HostedImpersonationContext.cs
- XmlNavigatorFilter.cs
- KeyedQueue.cs
- CodeStatement.cs
- NumberFormatInfo.cs
- URLAttribute.cs
- ByteAnimation.cs
- Inline.cs
- FontDriver.cs
- Preprocessor.cs
- FixedSOMPageConstructor.cs
- ModelPerspective.cs
- SynchronizingStream.cs
- UrlPropertyAttribute.cs
- MdiWindowListItemConverter.cs
- PolyQuadraticBezierSegment.cs