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
- XmlNamespaceMapping.cs
- ToolboxComponentsCreatingEventArgs.cs
- Asn1IntegerConverter.cs
- _AutoWebProxyScriptEngine.cs
- TaskExceptionHolder.cs
- Pen.cs
- WebExceptionStatus.cs
- OleDbParameterCollection.cs
- externdll.cs
- QueryCoreOp.cs
- XappLauncher.cs
- mediaeventargs.cs
- ProfileService.cs
- WorkflowMessageEventArgs.cs
- brushes.cs
- UnauthorizedAccessException.cs
- WebZone.cs
- TextChangedEventArgs.cs
- Point3DAnimation.cs
- ValueHandle.cs
- TileBrush.cs
- ActiveXHelper.cs
- GrammarBuilderDictation.cs
- HttpCacheParams.cs
- UserControl.cs
- ThreadAbortException.cs
- CodeArrayCreateExpression.cs
- NotifyIcon.cs
- StylusPointPropertyUnit.cs
- sqlmetadatafactory.cs
- MenuItemCollection.cs
- SevenBitStream.cs
- MetadataItemEmitter.cs
- BooleanToVisibilityConverter.cs
- DataGridCommandEventArgs.cs
- SystemIPInterfaceStatistics.cs
- WebPartUtil.cs
- _AuthenticationState.cs
- RtfToXamlReader.cs
- AdRotator.cs
- LinqDataSourceStatusEventArgs.cs
- SqlPersonalizationProvider.cs
- CodeNamespaceCollection.cs
- TypeConverterValueSerializer.cs
- ProgressPage.cs
- NavigatorOutput.cs
- DurableInstanceProvider.cs
- TextTrailingWordEllipsis.cs
- DesignerResources.cs
- ResXResourceWriter.cs
- WindowsStatusBar.cs
- WeakReferenceKey.cs
- Blend.cs
- GroupBox.cs
- Paragraph.cs
- CachedTypeface.cs
- precedingsibling.cs
- AuthenticationServiceManager.cs
- ValueQuery.cs
- UdpUtility.cs
- SqlClientWrapperSmiStream.cs
- ReferencedAssembly.cs
- ReadOnlyCollectionBase.cs
- SplitContainer.cs
- Converter.cs
- TriggerBase.cs
- NavigatorInvalidBodyAccessException.cs
- LayoutTable.cs
- XsltConvert.cs
- InOutArgumentConverter.cs
- SortedSet.cs
- BaseServiceProvider.cs
- ColorTransformHelper.cs
- FormViewDeleteEventArgs.cs
- TransformerTypeCollection.cs
- WSFederationHttpBindingCollectionElement.cs
- DataGridViewCell.cs
- BuildProvider.cs
- ConcurrentDictionary.cs
- WsiProfilesElement.cs
- SqlNamer.cs
- SspiSafeHandles.cs
- PipelineModuleStepContainer.cs
- MsmqAppDomainProtocolHandler.cs
- GenericEnumerator.cs
- XmlAttributeCollection.cs
- SqlCacheDependency.cs
- DataBoundLiteralControl.cs
- BuildProvidersCompiler.cs
- safelinkcollection.cs
- StringValueSerializer.cs
- QilTernary.cs
- LicenseException.cs
- Function.cs
- Track.cs
- ASCIIEncoding.cs
- Attributes.cs
- DependencySource.cs
- IndexedString.cs
- MailMessage.cs