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
- FlowDocumentView.cs
- PrivateFontCollection.cs
- ReadOnlyHierarchicalDataSource.cs
- MetaModel.cs
- PointLightBase.cs
- OdbcStatementHandle.cs
- ExeConfigurationFileMap.cs
- PropertyCondition.cs
- LambdaCompiler.Address.cs
- RangeValuePatternIdentifiers.cs
- CounterCreationData.cs
- ListChunk.cs
- UnsafeNativeMethods.cs
- ToolStripSeparator.cs
- HtmlInputControl.cs
- WindowsStatic.cs
- _RequestLifetimeSetter.cs
- DataGridPageChangedEventArgs.cs
- ToolStripItemGlyph.cs
- ReachSerializableProperties.cs
- KeyConstraint.cs
- SecUtil.cs
- WebPartActionVerb.cs
- ParameterToken.cs
- TableRow.cs
- RegexCompilationInfo.cs
- WebPartDescription.cs
- WebPartConnectionsConfigureVerb.cs
- InfiniteIntConverter.cs
- WindowsContainer.cs
- FirstMatchCodeGroup.cs
- MembershipUser.cs
- SpellerInterop.cs
- BaseDataList.cs
- DbMetaDataFactory.cs
- SearchForVirtualItemEventArgs.cs
- Debugger.cs
- MenuItemStyleCollection.cs
- InputLanguageEventArgs.cs
- NativeMethods.cs
- printdlgexmarshaler.cs
- ConnectionManagementElement.cs
- XmlCharCheckingWriter.cs
- MenuItem.cs
- RankException.cs
- ImmutableAssemblyCacheEntry.cs
- EventBuilder.cs
- XmlBinaryReaderSession.cs
- PhysicalFontFamily.cs
- UnsafeNativeMethods.cs
- CanonicalizationDriver.cs
- If.cs
- SocketElement.cs
- MailWriter.cs
- FormViewModeEventArgs.cs
- InstanceBehavior.cs
- SqlTypeSystemProvider.cs
- Publisher.cs
- Exceptions.cs
- SpellerError.cs
- DataGridColumnFloatingHeader.cs
- StorageEntitySetMapping.cs
- dtdvalidator.cs
- RuntimeConfig.cs
- GridViewCancelEditEventArgs.cs
- BuildResultCache.cs
- WebPartAddingEventArgs.cs
- ToolStripManager.cs
- MonitorWrapper.cs
- SessionIDManager.cs
- TextDecoration.cs
- VirtualPath.cs
- X509Utils.cs
- DataSourceView.cs
- MtomMessageEncodingBindingElement.cs
- DelegateSerializationHolder.cs
- EditingCoordinator.cs
- NonClientArea.cs
- CollectionChangeEventArgs.cs
- IdentityReference.cs
- ServiceModelSecurityTokenRequirement.cs
- Oid.cs
- PropertyGeneratedEventArgs.cs
- ResourcePart.cs
- TypeConverterHelper.cs
- XmlImplementation.cs
- SecurityAlgorithmSuite.cs
- FunctionCommandText.cs
- WebPartDeleteVerb.cs
- CultureTable.cs
- AsyncMethodInvoker.cs
- FontEditor.cs
- MenuBase.cs
- RightsManagementEncryptedStream.cs
- TextEditor.cs
- ApplicationTrust.cs
- BuildManager.cs
- RootProfilePropertySettingsCollection.cs
- HitTestResult.cs
- SchemaContext.cs