Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmTypeAttribute.cs / 1 / 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
- DateTimeConstantAttribute.cs
- DelegatingTypeDescriptionProvider.cs
- httpserverutility.cs
- CacheChildrenQuery.cs
- WmlTextBoxAdapter.cs
- dataobject.cs
- DesignTimeTemplateParser.cs
- UxThemeWrapper.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- AsnEncodedData.cs
- VersionPair.cs
- Pool.cs
- Matrix.cs
- DataGridViewColumnConverter.cs
- RowToParametersTransformer.cs
- AuthenticatedStream.cs
- CounterSample.cs
- RawUIStateInputReport.cs
- State.cs
- ReturnEventArgs.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- ContextMenu.cs
- BinaryUtilClasses.cs
- InfoCardBaseException.cs
- StylusPointDescription.cs
- TableLayoutStyleCollection.cs
- ExtensionSurface.cs
- _SSPISessionCache.cs
- DataGridViewComboBoxColumn.cs
- GiveFeedbackEventArgs.cs
- Color.cs
- WebResponse.cs
- FormatStringEditor.cs
- ListViewItem.cs
- DataListCommandEventArgs.cs
- followingsibling.cs
- PropertyDescriptorGridEntry.cs
- HandleRef.cs
- webeventbuffer.cs
- HtmlHead.cs
- InputScopeConverter.cs
- RadioButtonList.cs
- DataTableReader.cs
- SharedStatics.cs
- Helpers.cs
- SharedPerformanceCounter.cs
- TextComposition.cs
- OutputCacheSection.cs
- AnonymousIdentificationModule.cs
- Border.cs
- CustomValidator.cs
- XmlSchemaInfo.cs
- MoveSizeWinEventHandler.cs
- SchemaLookupTable.cs
- MediaScriptCommandRoutedEventArgs.cs
- CodeAttributeArgument.cs
- DataTableMappingCollection.cs
- EventLog.cs
- HttpInputStream.cs
- ToolTipAutomationPeer.cs
- XmlEventCache.cs
- SQLUtility.cs
- QueryConverter.cs
- StrokeDescriptor.cs
- CompilerInfo.cs
- EngineSite.cs
- ListControlStringCollectionEditor.cs
- ToolStripLabel.cs
- UpdatePanel.cs
- TreeView.cs
- AsyncStreamReader.cs
- HtmlHistory.cs
- SystemColors.cs
- XmlObjectSerializer.cs
- SendSecurityHeader.cs
- NonPrimarySelectionGlyph.cs
- Metadata.cs
- MimeFormatter.cs
- SynchronizedInputProviderWrapper.cs
- StringWriter.cs
- BitmapEffectDrawingContextWalker.cs
- CodeTypeMember.cs
- ProjectionPathBuilder.cs
- DataSourceBooleanViewSchemaConverter.cs
- DataGridViewDataErrorEventArgs.cs
- IImplicitResourceProvider.cs
- IncrementalCompileAnalyzer.cs
- SelectionEditor.cs
- XNodeValidator.cs
- BooleanAnimationBase.cs
- LocalFileSettingsProvider.cs
- IPAddressCollection.cs
- BaseInfoTable.cs
- UInt64.cs
- StatusBarItemAutomationPeer.cs
- GenericTypeParameterBuilder.cs
- AmbientEnvironment.cs
- ContextMenuService.cs
- ParameterBuilder.cs
- PEFileReader.cs