Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- RegistryDataKey.cs
- Pair.cs
- WindowsTab.cs
- DataGridItem.cs
- Assembly.cs
- PartialToken.cs
- Ray3DHitTestResult.cs
- _NetRes.cs
- SQLBinaryStorage.cs
- GridPatternIdentifiers.cs
- SqlTransaction.cs
- BaseServiceProvider.cs
- CollectionChangedEventManager.cs
- WebPartHelpVerb.cs
- OdbcErrorCollection.cs
- PartitionedDataSource.cs
- ContextProperty.cs
- DataTableClearEvent.cs
- MimeTypeAttribute.cs
- ByteArrayHelperWithString.cs
- SqlLiftIndependentRowExpressions.cs
- ControlParser.cs
- DBPropSet.cs
- BufferedGraphicsContext.cs
- ContentValidator.cs
- Item.cs
- RegexCompilationInfo.cs
- XmlSerializerFactory.cs
- PointConverter.cs
- MsmqMessageProperty.cs
- JsonReader.cs
- ConfigXmlComment.cs
- UnknownWrapper.cs
- VirtualPathUtility.cs
- ArraySet.cs
- Timeline.cs
- ByteStorage.cs
- OdbcConnectionHandle.cs
- AssemblyHash.cs
- Schema.cs
- ServiceHostFactory.cs
- MulticastNotSupportedException.cs
- HtmlImage.cs
- X509IssuerSerialKeyIdentifierClause.cs
- CollectionBase.cs
- TrustSection.cs
- DbMetaDataFactory.cs
- DefaultProxySection.cs
- Schema.cs
- StringValidator.cs
- WebBrowser.cs
- GregorianCalendar.cs
- BamlTreeMap.cs
- SiteMapPath.cs
- TraceRecords.cs
- DateBoldEvent.cs
- TextEditorTables.cs
- VirtualPathUtility.cs
- TextContainerChangeEventArgs.cs
- EntityDataSource.cs
- NameValueConfigurationElement.cs
- IntegrationExceptionEventArgs.cs
- WizardPanelChangingEventArgs.cs
- IChannel.cs
- TypeConverterValueSerializer.cs
- ListItemCollection.cs
- AnnotationAdorner.cs
- DecoderFallback.cs
- Quad.cs
- StylusCaptureWithinProperty.cs
- XmlDataSourceNodeDescriptor.cs
- XmlIgnoreAttribute.cs
- Socket.cs
- DataRowView.cs
- RowToFieldTransformer.cs
- ResourceExpressionBuilder.cs
- ListMarkerLine.cs
- ItemCollection.cs
- DBSqlParserColumn.cs
- TreeNodeCollectionEditor.cs
- RelationalExpressions.cs
- UserControlParser.cs
- JsonWriter.cs
- ObjectDataSourceFilteringEventArgs.cs
- SqlServer2KCompatibilityAnnotation.cs
- SoapSchemaMember.cs
- SqlInternalConnectionTds.cs
- ZoneMembershipCondition.cs
- DispatcherProcessingDisabled.cs
- TrustManagerPromptUI.cs
- StateInitializationDesigner.cs
- PageContent.cs
- XmlChoiceIdentifierAttribute.cs
- WindowsListView.cs
- DomNameTable.cs
- TextModifier.cs
- RelationshipConstraintValidator.cs
- SqlTopReducer.cs
- NameValueCollection.cs
- XmlStreamNodeWriter.cs