Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / EdmProperty.cs / 1305376 / EdmProperty.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
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;
/// Store the handle, allowing the PropertyInfo/MethodInfo/Type references to be GC'd
internal readonly System.RuntimeTypeHandle EntityDeclaringType;
/// 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
- DiagnosticsConfigurationHandler.cs
- NativeMethods.cs
- SqlUserDefinedAggregateAttribute.cs
- BindingExpression.cs
- ToolStripItemEventArgs.cs
- TriggerActionCollection.cs
- JobDuplex.cs
- ObjectCloneHelper.cs
- SystemWebCachingSectionGroup.cs
- FormattedText.cs
- StylusPoint.cs
- ListControlConvertEventArgs.cs
- PageRequestManager.cs
- CornerRadius.cs
- XmlElementCollection.cs
- SharedStatics.cs
- Delegate.cs
- InternalCompensate.cs
- CorrelationScope.cs
- ResourceBinder.cs
- TrackingServices.cs
- DataColumnSelectionConverter.cs
- TagPrefixInfo.cs
- ColumnWidthChangingEvent.cs
- Point3DCollectionConverter.cs
- GridViewRow.cs
- TypeBuilder.cs
- ItemsChangedEventArgs.cs
- PolicyValidator.cs
- ElementNotAvailableException.cs
- ListViewItem.cs
- FactoryGenerator.cs
- PeerDefaultCustomResolverClient.cs
- HtmlInputPassword.cs
- ApplicationContext.cs
- assemblycache.cs
- ParserStreamGeometryContext.cs
- XmlDataImplementation.cs
- FileChangesMonitor.cs
- UnitySerializationHolder.cs
- ToolStripArrowRenderEventArgs.cs
- SchemaTableOptionalColumn.cs
- TraceData.cs
- XmlLinkedNode.cs
- PictureBox.cs
- DelayDesigner.cs
- TabControlCancelEvent.cs
- ProcessProtocolHandler.cs
- CaseCqlBlock.cs
- TimeoutStream.cs
- CombinedGeometry.cs
- Stack.cs
- FragmentNavigationEventArgs.cs
- DataStreams.cs
- SystemParameters.cs
- ProgressBarBrushConverter.cs
- GridView.cs
- FileNotFoundException.cs
- XPathArrayIterator.cs
- PackageRelationship.cs
- UnmanagedMemoryStream.cs
- CommonProperties.cs
- AppDomainManager.cs
- ShaperBuffers.cs
- Solver.cs
- DateTimeHelper.cs
- EntityCollectionChangedParams.cs
- PaintValueEventArgs.cs
- FixedStringLookup.cs
- ProfilePropertySettingsCollection.cs
- SelectorItemAutomationPeer.cs
- TabRenderer.cs
- RijndaelManaged.cs
- ProtocolsConfigurationHandler.cs
- WebScriptEnablingBehavior.cs
- DelegatedStream.cs
- WorkflowMessageEventHandler.cs
- InstanceDataCollection.cs
- PanelStyle.cs
- CodeCatchClause.cs
- HttpResponseBase.cs
- RecordsAffectedEventArgs.cs
- BaseTemplateParser.cs
- CssStyleCollection.cs
- SortedList.cs
- DictionaryEntry.cs
- ExpressionEditorSheet.cs
- MailAddress.cs
- CodeChecksumPragma.cs
- DataControlFieldTypeEditor.cs
- RuleProcessor.cs
- WorkerRequest.cs
- PageThemeCodeDomTreeGenerator.cs
- TextServicesHost.cs
- BindingRestrictions.cs
- SelectionEditingBehavior.cs
- SessionChannels.cs
- DynamicDocumentPaginator.cs
- BufferBuilder.cs
- ListControlDesigner.cs