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
- DecimalAnimationBase.cs
- TextDecorationUnitValidation.cs
- ControlLocalizer.cs
- CryptoHelper.cs
- MemberDomainMap.cs
- ListItemCollection.cs
- PasswordRecovery.cs
- GACIdentityPermission.cs
- OracleLob.cs
- EntityStoreSchemaFilterEntry.cs
- PagesSection.cs
- DynamicDocumentPaginator.cs
- CanonicalXml.cs
- TimerEventSubscriptionCollection.cs
- HttpProfileGroupBase.cs
- Timer.cs
- InternalsVisibleToAttribute.cs
- ToolStripOverflowButton.cs
- ObjectRef.cs
- DataSourceView.cs
- PointConverter.cs
- MimePart.cs
- NameValuePermission.cs
- DBParameter.cs
- BuildResult.cs
- PropertyDescriptorGridEntry.cs
- Utils.cs
- DelegatingHeader.cs
- HtmlHistory.cs
- PathFigureCollection.cs
- DbXmlEnabledProviderManifest.cs
- FamilyTypefaceCollection.cs
- FilteredAttributeCollection.cs
- ColumnWidthChangingEvent.cs
- ConstrainedDataObject.cs
- ItemChangedEventArgs.cs
- SmiXetterAccessMap.cs
- TreeWalkHelper.cs
- CompositeFontFamily.cs
- UpdateCommandGenerator.cs
- PropertyChangeTracker.cs
- CompiledRegexRunnerFactory.cs
- SelfIssuedAuthAsymmetricKey.cs
- UnicodeEncoding.cs
- EndpointInfoCollection.cs
- EmptyQuery.cs
- AccessControlEntry.cs
- SafeBitVector32.cs
- QueryRewriter.cs
- FamilyTypeface.cs
- GridViewRowCollection.cs
- Bitmap.cs
- CompiledAction.cs
- Style.cs
- Point3DCollectionConverter.cs
- AssemblyName.cs
- ListItem.cs
- GridPatternIdentifiers.cs
- ObjectStorage.cs
- SerialErrors.cs
- RoleService.cs
- ControlPaint.cs
- DataGridViewCellStateChangedEventArgs.cs
- WorkflowTraceTransfer.cs
- StretchValidation.cs
- HandleCollector.cs
- XmlArrayItemAttribute.cs
- PermissionSet.cs
- FontWeights.cs
- DesignerView.Commands.cs
- SizeValueSerializer.cs
- HandlerFactoryWrapper.cs
- CharacterBufferReference.cs
- TableLayoutPanel.cs
- AnimationStorage.cs
- MultipleViewPatternIdentifiers.cs
- SQLInt32Storage.cs
- DecoderBestFitFallback.cs
- UIntPtr.cs
- StorageComplexPropertyMapping.cs
- TextElementEditingBehaviorAttribute.cs
- ExpandedWrapper.cs
- SHA1.cs
- Application.cs
- WorkflowInstanceExtensionProvider.cs
- ScrollableControl.cs
- OracleException.cs
- PrincipalPermission.cs
- StackOverflowException.cs
- _Events.cs
- XhtmlBasicValidatorAdapter.cs
- ToolZone.cs
- _SecureChannel.cs
- SurrogateDataContract.cs
- InteropAutomationProvider.cs
- DataSourceControlBuilder.cs
- SiteMapHierarchicalDataSourceView.cs
- DataColumnMapping.cs
- ObsoleteAttribute.cs
- MailAddressCollection.cs