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
- SafeThreadHandle.cs
- DistributedTransactionPermission.cs
- PropertyTabAttribute.cs
- CatalogPart.cs
- EventDriven.cs
- MULTI_QI.cs
- DataGridColumn.cs
- SqlSelectStatement.cs
- MemberInfoSerializationHolder.cs
- AsymmetricAlgorithm.cs
- PhysicalOps.cs
- PtsHost.cs
- CommunicationException.cs
- SafeArrayRankMismatchException.cs
- SettingsPropertyWrongTypeException.cs
- Debug.cs
- ConfigurationManagerHelper.cs
- SqlInternalConnectionTds.cs
- ITextView.cs
- EncryptedData.cs
- BindingExpressionUncommonField.cs
- DefaultParameterValueAttribute.cs
- DataStorage.cs
- StringWriter.cs
- DateTimeFormatInfo.cs
- oledbconnectionstring.cs
- RegistryExceptionHelper.cs
- FileSystemWatcher.cs
- DataObjectSettingDataEventArgs.cs
- QuotedPrintableStream.cs
- Ipv6Element.cs
- propertyentry.cs
- Property.cs
- TextRunCacheImp.cs
- TreeBuilderBamlTranslator.cs
- HostElement.cs
- AnimationClockResource.cs
- HostExecutionContextManager.cs
- ListControlStringCollectionEditor.cs
- WebConfigurationManager.cs
- DataSourceControl.cs
- EdmConstants.cs
- NativeCppClassAttribute.cs
- DbExpressionRules.cs
- TranslateTransform3D.cs
- CustomTypeDescriptor.cs
- TextTreeObjectNode.cs
- PartDesigner.cs
- TreeNodeBindingCollection.cs
- FrugalMap.cs
- IncrementalHitTester.cs
- RegexCapture.cs
- BindableAttribute.cs
- HtmlElementEventArgs.cs
- StatusBarPanelClickEvent.cs
- SqlSupersetValidator.cs
- InputBinding.cs
- PartBasedPackageProperties.cs
- HtmlInputControl.cs
- WindowsBrush.cs
- ComplexTypeEmitter.cs
- NotifyParentPropertyAttribute.cs
- MimeMultiPart.cs
- DataServiceRequestException.cs
- XmlSchemaSimpleContentRestriction.cs
- TextViewSelectionProcessor.cs
- SplineQuaternionKeyFrame.cs
- ManagedIStream.cs
- IgnorePropertiesAttribute.cs
- DataServiceBehavior.cs
- PrintingPermissionAttribute.cs
- OleDbMetaDataFactory.cs
- SelectionWordBreaker.cs
- CriticalHandle.cs
- BufferModeSettings.cs
- DataServiceQueryOfT.cs
- NativeMethods.cs
- WindowsListViewItemStartMenu.cs
- ExpressionBuilder.cs
- HttpValueCollection.cs
- ping.cs
- NewArrayExpression.cs
- MenuBase.cs
- BrowserCapabilitiesFactoryBase.cs
- DateTimeConstantAttribute.cs
- ScrollProperties.cs
- TraceHandler.cs
- ObjectAssociationEndMapping.cs
- CryptoApi.cs
- UpdatableWrapper.cs
- ColumnResizeAdorner.cs
- EventManager.cs
- IPHostEntry.cs
- CapabilitiesPattern.cs
- ReadingWritingEntityEventArgs.cs
- MethodCallExpression.cs
- List.cs
- Rect.cs
- ConnectionPoolManager.cs
- ManualResetEvent.cs