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
- DefaultHttpHandler.cs
- CheckBoxDesigner.cs
- QuaternionAnimation.cs
- SingleConverter.cs
- ResourceKey.cs
- SqlReferenceCollection.cs
- SqlCachedBuffer.cs
- DiscardableAttribute.cs
- UnsafeNativeMethods.cs
- TypeConverterValueSerializer.cs
- DynamicPropertyReader.cs
- ECDsa.cs
- ParallelEnumerable.cs
- LayoutEditorPart.cs
- BigInt.cs
- WindowsHyperlink.cs
- ChoiceConverter.cs
- TextParagraphProperties.cs
- Viewport2DVisual3D.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ReflectEventDescriptor.cs
- AuthenticationModulesSection.cs
- CollectionViewSource.cs
- DefaultEventAttribute.cs
- PolicyValidationException.cs
- SynchronizedDispatch.cs
- SourceChangedEventArgs.cs
- GenericTypeParameterBuilder.cs
- AssertFilter.cs
- MissingMethodException.cs
- NativeMethods.cs
- SoapFaultCodes.cs
- Setter.cs
- XmlSequenceWriter.cs
- FocusManager.cs
- DbFunctionCommandTree.cs
- StylusShape.cs
- ThicknessAnimationUsingKeyFrames.cs
- IteratorFilter.cs
- SchemaElementDecl.cs
- DataGridViewButtonColumn.cs
- ZipPackagePart.cs
- Brush.cs
- DataGridViewMethods.cs
- DecoratedNameAttribute.cs
- TypeUsage.cs
- TextSchema.cs
- IndexOutOfRangeException.cs
- QilTargetType.cs
- MsmqAppDomainProtocolHandler.cs
- TimeSpanSecondsConverter.cs
- DataDocumentXPathNavigator.cs
- Point4D.cs
- TextTrailingCharacterEllipsis.cs
- SimpleFieldTemplateFactory.cs
- OrderedDictionary.cs
- XamlPoint3DCollectionSerializer.cs
- LineUtil.cs
- SystemBrushes.cs
- WebConfigurationHostFileChange.cs
- SmtpReplyReaderFactory.cs
- Deflater.cs
- AutomationEventArgs.cs
- GeometryGroup.cs
- DoubleAnimationUsingPath.cs
- TextParaClient.cs
- OdbcTransaction.cs
- GuidTagList.cs
- DataSetUtil.cs
- ByteRangeDownloader.cs
- CompositeScriptReferenceEventArgs.cs
- Geometry3D.cs
- TreeNodeCollection.cs
- FullTextState.cs
- DecimalConverter.cs
- Button.cs
- TypeListConverter.cs
- FixedPosition.cs
- Config.cs
- UserControl.cs
- UnionExpr.cs
- CroppedBitmap.cs
- IndexedSelectQueryOperator.cs
- FreezableDefaultValueFactory.cs
- SelectionListComponentEditor.cs
- NumericUpDown.cs
- remotingproxy.cs
- WindowsScrollBarBits.cs
- ConvertEvent.cs
- SystemColorTracker.cs
- XmlSchemaProviderAttribute.cs
- EntityDataSourceWizardForm.cs
- UseAttributeSetsAction.cs
- CodeNamespace.cs
- WSHttpBindingCollectionElement.cs
- DbMetaDataCollectionNames.cs
- Grid.cs
- CatalogPartCollection.cs
- InputBindingCollection.cs
- SoapMessage.cs