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
- TranslateTransform.cs
- TextBoxAutoCompleteSourceConverter.cs
- DataServiceException.cs
- WebBrowserEvent.cs
- RepeaterItemEventArgs.cs
- Processor.cs
- HtmlAnchor.cs
- MessageVersion.cs
- Tablet.cs
- TimeSpan.cs
- ValidatedControlConverter.cs
- TextServicesCompartmentContext.cs
- PrintingPermissionAttribute.cs
- DataGridViewCellCollection.cs
- AspNetRouteServiceHttpHandler.cs
- ILGen.cs
- WebConfigurationHostFileChange.cs
- ExternalException.cs
- MissingManifestResourceException.cs
- ArgumentNullException.cs
- LogicalExpr.cs
- CqlLexerHelpers.cs
- ServiceOperationHelpers.cs
- TextServicesManager.cs
- GridViewRow.cs
- DataKeyCollection.cs
- StyleCollection.cs
- ProfileProvider.cs
- WebConfigurationHost.cs
- TrustManagerPromptUI.cs
- EdgeProfileValidation.cs
- SafeHandle.cs
- BlurEffect.cs
- Point3DValueSerializer.cs
- DataFormats.cs
- DesignerWebPartChrome.cs
- PrefixQName.cs
- InvokeGenerator.cs
- ProcessModelSection.cs
- DataView.cs
- OneOfTypeConst.cs
- XmlAnyElementAttribute.cs
- ArraySet.cs
- AvTrace.cs
- HttpRequestMessageProperty.cs
- CustomErrorsSectionWrapper.cs
- BamlLocalizer.cs
- UiaCoreProviderApi.cs
- RegisterInfo.cs
- StringCollection.cs
- ReaderContextStackData.cs
- TargetParameterCountException.cs
- NavigationFailedEventArgs.cs
- DataSourceXmlElementAttribute.cs
- PriorityQueue.cs
- DateTimeParse.cs
- PermissionSet.cs
- UIElement.cs
- XmlWhitespace.cs
- UriTemplateTableMatchCandidate.cs
- ProfileBuildProvider.cs
- WebPageTraceListener.cs
- PropertyItemInternal.cs
- FontClient.cs
- RectangleHotSpot.cs
- CodeExpressionStatement.cs
- TableRow.cs
- OleDbMetaDataFactory.cs
- OwnerDrawPropertyBag.cs
- SoapEnumAttribute.cs
- ScrollProviderWrapper.cs
- BmpBitmapDecoder.cs
- SiteMapSection.cs
- TextOutput.cs
- FacetDescription.cs
- XmlFileEditor.cs
- Membership.cs
- Win32SafeHandles.cs
- ConnectionsZone.cs
- MultiTouchSystemGestureLogic.cs
- OleDbTransaction.cs
- DropDownButton.cs
- DataGridViewComboBoxColumn.cs
- Camera.cs
- PersistenceProviderBehavior.cs
- CallSiteHelpers.cs
- BasicHttpMessageCredentialType.cs
- ManualResetEvent.cs
- SchemaImporterExtensionElement.cs
- MultidimensionalArrayItemReference.cs
- MethodBuilderInstantiation.cs
- WebServiceMethodData.cs
- WebPartCatalogAddVerb.cs
- ExpressionEditorAttribute.cs
- ThrowHelper.cs
- Rect3D.cs
- XamlFilter.cs
- CodeAttributeArgumentCollection.cs
- Classification.cs
- FormsAuthenticationUser.cs