Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmTypeAttribute.cs / 1305376 / 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
- CacheModeConverter.cs
- FontStretchConverter.cs
- XPathNodeList.cs
- XmlSchemaParticle.cs
- DataList.cs
- BamlTreeUpdater.cs
- EntityDataSourceMemberPath.cs
- ImageConverter.cs
- OdbcConnectionPoolProviderInfo.cs
- WebUtil.cs
- MulticastDelegate.cs
- UrlRoutingHandler.cs
- PublisherMembershipCondition.cs
- LayoutSettings.cs
- ListBoxItemAutomationPeer.cs
- DynamicActivityXamlReader.cs
- RoleManagerEventArgs.cs
- AspNetSynchronizationContext.cs
- ItemDragEvent.cs
- SQLByte.cs
- ReadWriteObjectLock.cs
- FindCriteriaApril2005.cs
- WmlListAdapter.cs
- DesignBindingPropertyDescriptor.cs
- TextTreeTextBlock.cs
- ReadOnlyDictionary.cs
- RenderData.cs
- SetStateDesigner.cs
- ObjectDataSourceSelectingEventArgs.cs
- ReadOnlyAttribute.cs
- EventSinkHelperWriter.cs
- ImageMapEventArgs.cs
- XmlSignificantWhitespace.cs
- CreateUserErrorEventArgs.cs
- TriState.cs
- SQLDecimalStorage.cs
- UnaryOperationBinder.cs
- FunctionQuery.cs
- ServiceBusyException.cs
- ConfigXmlElement.cs
- CodeBinaryOperatorExpression.cs
- BamlResourceDeserializer.cs
- MsmqHostedTransportConfiguration.cs
- SelectionUIHandler.cs
- DataSourceGroupCollection.cs
- TypeElement.cs
- ConfigurationLoaderException.cs
- UpdatableGenericsFeature.cs
- XmlCDATASection.cs
- Utility.cs
- HttpListenerRequestTraceRecord.cs
- InkCanvas.cs
- CreateRefExpr.cs
- WebResourceUtil.cs
- TTSEngineTypes.cs
- WindowsGraphicsCacheManager.cs
- Crypto.cs
- NamedPipeConnectionPoolSettingsElement.cs
- WindowsFormsHelpers.cs
- GridViewColumnHeader.cs
- UIAgentMonitorHandle.cs
- DataFormat.cs
- HttpConfigurationSystem.cs
- ExtensionQuery.cs
- Grammar.cs
- PropertyToken.cs
- _SSPISessionCache.cs
- Lock.cs
- Rect3D.cs
- PingReply.cs
- validationstate.cs
- PageAsyncTaskManager.cs
- XmlComment.cs
- Metafile.cs
- SqlConnectionManager.cs
- PartManifestEntry.cs
- InputProviderSite.cs
- Boolean.cs
- BamlReader.cs
- CodePropertyReferenceExpression.cs
- IisTraceListener.cs
- XPathSingletonIterator.cs
- XslException.cs
- Profiler.cs
- MimeTypeMapper.cs
- counter.cs
- DefaultTraceListener.cs
- SqlConnectionPoolGroupProviderInfo.cs
- XmlUtil.cs
- SchemaInfo.cs
- WeakReferenceKey.cs
- CorruptingExceptionCommon.cs
- AsyncPostBackErrorEventArgs.cs
- PropertyMapper.cs
- ImageListImage.cs
- DictionarySectionHandler.cs
- PreProcessInputEventArgs.cs
- TextModifierScope.cs
- ActiveXSite.cs
- BitmapEffectGroup.cs