Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ValidatorCompatibilityHelper.cs
- X509ChainElement.cs
- Properties.cs
- __TransparentProxy.cs
- Tokenizer.cs
- DbMetaDataColumnNames.cs
- RandomNumberGenerator.cs
- QueryGeneratorBase.cs
- AttachedAnnotationChangedEventArgs.cs
- CultureTableRecord.cs
- EntityContainerAssociationSetEnd.cs
- ReflectionTypeLoadException.cs
- QualifiedId.cs
- EditorPartCollection.cs
- BuilderPropertyEntry.cs
- IWorkflowDebuggerService.cs
- SkipStoryboardToFill.cs
- RuntimeHandles.cs
- ConfigurationErrorsException.cs
- WebHttpBehavior.cs
- BooleanAnimationUsingKeyFrames.cs
- MouseGestureValueSerializer.cs
- KeyedByTypeCollection.cs
- ObjectStateEntry.cs
- ISCIIEncoding.cs
- PopupControlService.cs
- IncrementalReadDecoders.cs
- ConnectionManagementElementCollection.cs
- TraceContextEventArgs.cs
- CharacterShapingProperties.cs
- HwndHostAutomationPeer.cs
- JavaScriptSerializer.cs
- FlowDocument.cs
- SqlDataReader.cs
- Margins.cs
- LoadRetryHandler.cs
- ScriptRegistrationManager.cs
- MailAddressParser.cs
- Pointer.cs
- _AcceptOverlappedAsyncResult.cs
- ListViewUpdateEventArgs.cs
- DbProviderServices.cs
- DataListItemCollection.cs
- Freezable.cs
- ThemeDictionaryExtension.cs
- NetworkInterface.cs
- DynamicResourceExtensionConverter.cs
- DeploymentSection.cs
- ProxyGenerationError.cs
- MdiWindowListItemConverter.cs
- ChangeInterceptorAttribute.cs
- CatalogPart.cs
- DataViewListener.cs
- HttpInputStream.cs
- ConsoleCancelEventArgs.cs
- DateTimeConverter.cs
- SHA384.cs
- XmlSchemaComplexContentExtension.cs
- PersonalizationStateQuery.cs
- MappingMetadataHelper.cs
- ProgramPublisher.cs
- SoapAttributes.cs
- ArgumentDesigner.xaml.cs
- InstallerTypeAttribute.cs
- TextEditorTables.cs
- SqlRetyper.cs
- CanExecuteRoutedEventArgs.cs
- DataGrid.cs
- ToolStripPanelRenderEventArgs.cs
- DashStyle.cs
- EntityException.cs
- WindowsStatusBar.cs
- BitArray.cs
- ADConnectionHelper.cs
- Cell.cs
- TextServicesCompartmentContext.cs
- ObjectSecurity.cs
- WMICapabilities.cs
- HtmlToClrEventProxy.cs
- WindowsNonControl.cs
- LayoutTableCell.cs
- Int64Storage.cs
- HttpRuntime.cs
- TypeUnloadedException.cs
- COAUTHIDENTITY.cs
- XPathNodeHelper.cs
- DefaultParameterValueAttribute.cs
- AttachedPropertyMethodSelector.cs
- TaiwanCalendar.cs
- ListMarkerSourceInfo.cs
- SQLResource.cs
- CollectionCodeDomSerializer.cs
- HyperLink.cs
- DocumentGridPage.cs
- XmlSchemaExternal.cs
- DisableDpiAwarenessAttribute.cs
- TargetConverter.cs
- GridView.cs
- ContentType.cs
- SystemMulticastIPAddressInformation.cs