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
- Timeline.cs
- MultipartIdentifier.cs
- DatatypeImplementation.cs
- TypedServiceChannelBuilder.cs
- CustomErrorsSectionWrapper.cs
- CompareInfo.cs
- UDPClient.cs
- SelectionItemPattern.cs
- ControlIdConverter.cs
- RewritingProcessor.cs
- ExtensionSimplifierMarkupObject.cs
- WindowsListViewSubItem.cs
- UserPersonalizationStateInfo.cs
- SqlFunctionAttribute.cs
- DesignerInterfaces.cs
- DataSourceSelectArguments.cs
- DetailsViewCommandEventArgs.cs
- InvalidTimeZoneException.cs
- DES.cs
- Point3DCollection.cs
- LoginCancelEventArgs.cs
- SQLDoubleStorage.cs
- ModuleConfigurationInfo.cs
- CommonXSendMessage.cs
- ColorTransform.cs
- ToolboxItemFilterAttribute.cs
- SafeMILHandleMemoryPressure.cs
- DataSourceView.cs
- PersonalizationProvider.cs
- Mappings.cs
- RequestCachePolicyConverter.cs
- FlowDocument.cs
- EventBuilder.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- GrammarBuilder.cs
- RelationshipConverter.cs
- XmlSerializableWriter.cs
- DataPager.cs
- MultiPropertyDescriptorGridEntry.cs
- MetabaseSettings.cs
- ObjectConverter.cs
- Button.cs
- IntSecurity.cs
- AutomationPropertyInfo.cs
- DeviceOverridableAttribute.cs
- GetImportedCardRequest.cs
- XComponentModel.cs
- FilteredXmlReader.cs
- AvtEvent.cs
- Exceptions.cs
- HMACMD5.cs
- ManagedWndProcTracker.cs
- ProxyHwnd.cs
- RequestNavigateEventArgs.cs
- DefaultPrintController.cs
- ExtendedPropertyDescriptor.cs
- TraceLevelHelper.cs
- ScrollItemPatternIdentifiers.cs
- WriteStateInfoBase.cs
- ScanQueryOperator.cs
- NativeMethods.cs
- RequestResizeEvent.cs
- TagPrefixCollection.cs
- WorkflowServiceHost.cs
- DataGridViewColumnHeaderCell.cs
- X509UI.cs
- DockProviderWrapper.cs
- RemoteWebConfigurationHostStream.cs
- EntityDataSourceSelectedEventArgs.cs
- ObjectDataSourceView.cs
- ToolBarDesigner.cs
- HttpModuleActionCollection.cs
- TextBoxBase.cs
- CharacterShapingProperties.cs
- HtmlContainerControl.cs
- DataGridViewRowsAddedEventArgs.cs
- XmlNodeChangedEventArgs.cs
- PropertyGridEditorPart.cs
- Point4D.cs
- AutomationProperties.cs
- CanonicalXml.cs
- KeyInterop.cs
- MatrixTransform3D.cs
- PropertyDescriptors.cs
- DtrList.cs
- InputManager.cs
- AttachedPropertyBrowsableAttribute.cs
- SectionVisual.cs
- ListViewItem.cs
- PngBitmapDecoder.cs
- Expander.cs
- MulticastOption.cs
- DesignerDataStoredProcedure.cs
- ColorAnimationBase.cs
- SyncMethodInvoker.cs
- DesignerOptionService.cs
- SqlDataSourceParameterParser.cs
- ParameterModifier.cs
- NoneExcludedImageIndexConverter.cs
- EventLogPermissionEntryCollection.cs