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
- WebServiceData.cs
- SqlIdentifier.cs
- QueryOperationResponseOfT.cs
- DoubleStorage.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- PathSegmentCollection.cs
- AuthenticationManager.cs
- TaskDesigner.cs
- WebPartDisplayModeEventArgs.cs
- SafeMemoryMappedFileHandle.cs
- ByteRangeDownloader.cs
- VisualStateChangedEventArgs.cs
- Stylesheet.cs
- Compiler.cs
- XmlNode.cs
- Soap12ProtocolReflector.cs
- SessionStateSection.cs
- TdsParserStaticMethods.cs
- StaticSiteMapProvider.cs
- XmlDataDocument.cs
- Nullable.cs
- BuilderPropertyEntry.cs
- MethodBody.cs
- ThreadStateException.cs
- X509CertificateTrustedIssuerElement.cs
- CodeChecksumPragma.cs
- Enumerable.cs
- RSAPKCS1SignatureDeformatter.cs
- EmptyEnumerator.cs
- LinqDataSourceValidationException.cs
- Visual3D.cs
- QilLiteral.cs
- PageCache.cs
- ListArgumentProvider.cs
- SqlDependencyListener.cs
- SQLBoolean.cs
- SqlFormatter.cs
- IsolatedStorageFilePermission.cs
- XMLSchema.cs
- PointAnimationClockResource.cs
- ColumnHeaderConverter.cs
- Point.cs
- GridViewCommandEventArgs.cs
- AsymmetricSignatureFormatter.cs
- TagPrefixInfo.cs
- PasswordTextContainer.cs
- XmlStreamNodeWriter.cs
- CssTextWriter.cs
- MouseDevice.cs
- VirtualizedItemPattern.cs
- TransformValueSerializer.cs
- MobileListItemCollection.cs
- Parser.cs
- ObjectQueryState.cs
- _NativeSSPI.cs
- DocumentPage.cs
- EventHandlersStore.cs
- PeerInvitationResponse.cs
- IdentityNotMappedException.cs
- ListViewGroupConverter.cs
- MetadataCache.cs
- InternalControlCollection.cs
- XmlSortKey.cs
- SchemaNotation.cs
- TextMarkerSource.cs
- XmlSerializerNamespaces.cs
- Clock.cs
- SEHException.cs
- ConnectionPointGlyph.cs
- RowsCopiedEventArgs.cs
- HttpRequestContext.cs
- TextTreeInsertUndoUnit.cs
- RelationshipEndMember.cs
- ImageListStreamer.cs
- HtmlInputHidden.cs
- UrlAuthorizationModule.cs
- InputDevice.cs
- ZoneIdentityPermission.cs
- PageTheme.cs
- GeometryValueSerializer.cs
- PackageFilter.cs
- ImageMapEventArgs.cs
- LookupBindingPropertiesAttribute.cs
- SortKey.cs
- File.cs
- WsdlInspector.cs
- ViewBase.cs
- PersonalizableAttribute.cs
- _HeaderInfoTable.cs
- SelectedGridItemChangedEvent.cs
- EpmCustomContentSerializer.cs
- CodeValidator.cs
- XPathBinder.cs
- cache.cs
- MemberRelationshipService.cs
- HttpContextServiceHost.cs
- MenuRendererStandards.cs
- BooleanFunctions.cs
- WeakReadOnlyCollection.cs
- BaseDataListActionList.cs