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
- LinqDataSourceValidationException.cs
- ResourceCategoryAttribute.cs
- NullableBoolConverter.cs
- UnknownWrapper.cs
- diagnosticsswitches.cs
- DiscoveryEndpoint.cs
- isolationinterop.cs
- OdbcError.cs
- LogWriteRestartAreaState.cs
- TargetPerspective.cs
- ScriptControlDescriptor.cs
- HttpConfigurationContext.cs
- CatalogZone.cs
- SecurityTokenValidationException.cs
- ExchangeUtilities.cs
- SeekStoryboard.cs
- SmtpReplyReaderFactory.cs
- MimeFormImporter.cs
- DefaultHttpHandler.cs
- Utils.cs
- WebPartCancelEventArgs.cs
- TargetControlTypeAttribute.cs
- SettingsProviderCollection.cs
- DebugTraceHelper.cs
- autovalidator.cs
- CompositeActivityTypeDescriptor.cs
- NativeMethods.cs
- RetrieveVirtualItemEventArgs.cs
- ConfigXmlComment.cs
- LayeredChannelListener.cs
- Rotation3DAnimationBase.cs
- ContentPropertyAttribute.cs
- VoiceObjectToken.cs
- WebReferencesBuildProvider.cs
- StylusPoint.cs
- ChangeProcessor.cs
- XmlDataFileEditor.cs
- ValueTypePropertyReference.cs
- EntityConnectionStringBuilder.cs
- DtdParser.cs
- KernelTypeValidation.cs
- Span.cs
- CmsInterop.cs
- ColorAnimationUsingKeyFrames.cs
- GifBitmapEncoder.cs
- DbProviderSpecificTypePropertyAttribute.cs
- AppDomainInfo.cs
- CollectionViewGroup.cs
- SignerInfo.cs
- BinaryReader.cs
- DataGridColumn.cs
- X509RawDataKeyIdentifierClause.cs
- MenuCommandService.cs
- ServicesExceptionNotHandledEventArgs.cs
- ClientSideProviderDescription.cs
- EnvironmentPermission.cs
- DispatcherFrame.cs
- ZipIOExtraFieldElement.cs
- AppDomainCompilerProxy.cs
- PopOutPanel.cs
- DbConnectionPool.cs
- NullableLongMinMaxAggregationOperator.cs
- DataTransferEventArgs.cs
- LoginName.cs
- DeclaredTypeElement.cs
- WebPartsPersonalizationAuthorization.cs
- ParameterBuilder.cs
- NetworkStream.cs
- OuterGlowBitmapEffect.cs
- AsymmetricSignatureFormatter.cs
- OptimizerPatterns.cs
- OleDbFactory.cs
- HandlerWithFactory.cs
- TransformationRules.cs
- NGCSerializationManagerAsync.cs
- DateTimeFormatInfoScanner.cs
- SafeCoTaskMem.cs
- HttpStaticObjectsCollectionWrapper.cs
- ReachDocumentPageSerializerAsync.cs
- MeshGeometry3D.cs
- WindowsSecurityTokenAuthenticator.cs
- IsolatedStorage.cs
- PrintPreviewControl.cs
- CurrentTimeZone.cs
- AuthenticationModulesSection.cs
- EventHandlersStore.cs
- QuotedPairReader.cs
- RequestTimeoutManager.cs
- CodeValidator.cs
- SqlBinder.cs
- ManipulationInertiaStartingEventArgs.cs
- ConstrainedDataObject.cs
- bidPrivateBase.cs
- BridgeDataRecord.cs
- ScriptManagerProxy.cs
- WebServicesInteroperability.cs
- SqlCommandSet.cs
- GroupDescription.cs
- IpcClientManager.cs
- ProgressBar.cs