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
- GroupItem.cs
- SafeHGlobalHandleCritical.cs
- ToolStripOverflow.cs
- StyleBamlTreeBuilder.cs
- WebMessageEncodingElement.cs
- SEHException.cs
- ContractCodeDomInfo.cs
- KnownIds.cs
- SecurityValidationBehavior.cs
- TextSpanModifier.cs
- LinkUtilities.cs
- Decorator.cs
- PerfCounterSection.cs
- XmlSchemaAnnotation.cs
- UnionCodeGroup.cs
- MonthChangedEventArgs.cs
- FilterQuery.cs
- SelectorAutomationPeer.cs
- WarningException.cs
- SqlTopReducer.cs
- ModuleBuilderData.cs
- PrintController.cs
- TaskHelper.cs
- SqlDataSourceView.cs
- AutoResizedEvent.cs
- WindowsFormsHost.cs
- PropertyEntry.cs
- XPathSelfQuery.cs
- DataSetUtil.cs
- MsmqDiagnostics.cs
- WebGetAttribute.cs
- CollectionChangedEventManager.cs
- PointLight.cs
- ProtocolsConfigurationEntry.cs
- PageOrientation.cs
- tooltip.cs
- UseManagedPresentationBindingElement.cs
- BamlBinaryWriter.cs
- SchemaMerger.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- SecureEnvironment.cs
- SmtpReplyReaderFactory.cs
- DPCustomTypeDescriptor.cs
- TabPanel.cs
- CodeCommentStatement.cs
- CompModSwitches.cs
- PresentationAppDomainManager.cs
- ProgressChangedEventArgs.cs
- DataBindingExpressionBuilder.cs
- QilLiteral.cs
- AssociationProvider.cs
- IssuanceLicense.cs
- basevalidator.cs
- LineVisual.cs
- OleCmdHelper.cs
- SessionStateSection.cs
- DeriveBytes.cs
- ProfileSection.cs
- DataViewSettingCollection.cs
- SchemaMerger.cs
- AttributeSetAction.cs
- SecurityTokenParametersEnumerable.cs
- UserPreferenceChangedEventArgs.cs
- HostedTcpTransportManager.cs
- HighContrastHelper.cs
- SingleBodyParameterMessageFormatter.cs
- RsaKeyGen.cs
- TableCellCollection.cs
- QueueException.cs
- FaultDescription.cs
- DataControlExtensions.cs
- SqlProvider.cs
- CompilerLocalReference.cs
- ProtocolsConfiguration.cs
- Matrix3DValueSerializer.cs
- LocalFileSettingsProvider.cs
- CrossContextChannel.cs
- SpellerError.cs
- FixedSOMPageConstructor.cs
- TextSelectionProcessor.cs
- WorkflowOperationBehavior.cs
- StateDesigner.Layouts.cs
- DataListItemEventArgs.cs
- XamlClipboardData.cs
- Transactions.cs
- OleServicesContext.cs
- StringReader.cs
- ObjectDataSourceDisposingEventArgs.cs
- NativeRecognizer.cs
- StrokeCollectionConverter.cs
- HandlerFactoryCache.cs
- HttpStreamFormatter.cs
- WebPartCancelEventArgs.cs
- TreeViewImageKeyConverter.cs
- VectorValueSerializer.cs
- OperandQuery.cs
- NonSerializedAttribute.cs
- PostBackOptions.cs
- PointConverter.cs
- HtmlInputSubmit.cs