Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmTypeAttribute.cs / 2 / EdmTypeAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data.Objects.DataClasses { using System; using System.Diagnostics.CodeAnalysis; #pragma warning disable 3015 // no accessible constructors which use only CLS-compliant types ////// Base attribute for schematized types /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] public abstract class EdmTypeAttribute: System.Attribute { private string _typeName; private string _namespaceName; ////// Only allow derived attributes from this assembly /// internal EdmTypeAttribute() { } ////// Returns the name of the type that this type maps to in the CSpace /// public string Name { get { return _typeName; } set { _typeName = value; } } ////// Returns the namespace of the type that this type maps to in the CSpace /// public string NamespaceName { get { return _namespaceName; } set { _namespaceName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data.Objects.DataClasses { using System; using System.Diagnostics.CodeAnalysis; #pragma warning disable 3015 // no accessible constructors which use only CLS-compliant types ////// Base attribute for schematized types /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")] public abstract class EdmTypeAttribute: System.Attribute { private string _typeName; private string _namespaceName; ////// Only allow derived attributes from this assembly /// internal EdmTypeAttribute() { } ////// Returns the name of the type that this type maps to in the CSpace /// public string Name { get { return _typeName; } set { _typeName = value; } } ////// Returns the namespace of the type that this type maps to in the CSpace /// public string NamespaceName { get { return _namespaceName; } set { _namespaceName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlProcessingInstruction.cs
- XPathNavigatorKeyComparer.cs
- FixedSOMTableCell.cs
- MultipleViewPatternIdentifiers.cs
- EnumMember.cs
- HasCopySemanticsAttribute.cs
- WebEventCodes.cs
- RoleManagerSection.cs
- SafeIUnknown.cs
- CacheDependency.cs
- BitmapSourceSafeMILHandle.cs
- DelayedRegex.cs
- Timeline.cs
- DataGridViewSelectedCellCollection.cs
- ConfigXmlComment.cs
- XmlLangPropertyAttribute.cs
- StdValidatorsAndConverters.cs
- DataFormat.cs
- RayHitTestParameters.cs
- IfAction.cs
- XomlDesignerLoader.cs
- DataGridTextBox.cs
- Publisher.cs
- ReflectionUtil.cs
- BooleanStorage.cs
- AuthenticationServiceManager.cs
- Property.cs
- ListControlConvertEventArgs.cs
- BitmapEffectInputData.cs
- XmlEntity.cs
- ReferenceConverter.cs
- CircleHotSpot.cs
- SecureUICommand.cs
- ServicePointManagerElement.cs
- BrushConverter.cs
- BindUriHelper.cs
- DataGridViewDataErrorEventArgs.cs
- FtpWebResponse.cs
- ItemCheckEvent.cs
- XmlLinkedNode.cs
- CorePropertiesFilter.cs
- XPathDocumentIterator.cs
- Style.cs
- UnsafeNativeMethods.cs
- Compress.cs
- XamlFilter.cs
- ContextStaticAttribute.cs
- Activity.cs
- DataGridPagerStyle.cs
- RegexEditorDialog.cs
- RegisteredArrayDeclaration.cs
- ProfessionalColorTable.cs
- RelationshipEntry.cs
- SafeArrayRankMismatchException.cs
- IISMapPath.cs
- VisualTreeHelper.cs
- _ConnectStream.cs
- XmlSchemaExternal.cs
- EventProviderWriter.cs
- MultilineStringConverter.cs
- RequestCacheEntry.cs
- PeerDuplexChannelListener.cs
- TextEditorContextMenu.cs
- PathData.cs
- BindingEntityInfo.cs
- ExceptionHandler.cs
- ExpressionBindingCollection.cs
- SelectionChangedEventArgs.cs
- OdbcHandle.cs
- MediaPlayer.cs
- SystemColors.cs
- tooltip.cs
- WindowCollection.cs
- WebSysDefaultValueAttribute.cs
- ListBindingHelper.cs
- StructuredTypeEmitter.cs
- BufferedResponseStream.cs
- LocalizableAttribute.cs
- ValueProviderWrapper.cs
- AttachedAnnotationChangedEventArgs.cs
- Rules.cs
- OleDbCommandBuilder.cs
- columnmapfactory.cs
- tooltip.cs
- RegexCaptureCollection.cs
- XmlSchemaGroupRef.cs
- Literal.cs
- FloatUtil.cs
- SqlUtils.cs
- RegexBoyerMoore.cs
- NCryptSafeHandles.cs
- CheckPair.cs
- FixedStringLookup.cs
- ClassicBorderDecorator.cs
- PageTheme.cs
- InputProcessorProfiles.cs
- OrElse.cs
- ClientTargetSection.cs
- OleStrCAMarshaler.cs
- ListViewDataItem.cs