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
- EntityDataSourceWizardForm.cs
- ClientScriptManagerWrapper.cs
- TabPage.cs
- CodeAccessSecurityEngine.cs
- DesignerForm.cs
- EndpointDispatcher.cs
- NameTable.cs
- RichTextBoxAutomationPeer.cs
- GridViewPageEventArgs.cs
- BrushValueSerializer.cs
- WebScriptMetadataMessageEncoderFactory.cs
- DefaultObjectSerializer.cs
- XmlSchemaIdentityConstraint.cs
- OleDbRowUpdatingEvent.cs
- StreamGeometry.cs
- SpeechUI.cs
- sqlmetadatafactory.cs
- XmlChildEnumerator.cs
- XPathNodeInfoAtom.cs
- InstanceDescriptor.cs
- AnimatedTypeHelpers.cs
- StreamMarshaler.cs
- RegexWorker.cs
- DataList.cs
- NullRuntimeConfig.cs
- StoreAnnotationsMap.cs
- PlacementWorkspace.cs
- CopyOnWriteList.cs
- GetCardDetailsRequest.cs
- XmlTypeAttribute.cs
- AutomationPeer.cs
- XmlSequenceWriter.cs
- GeneralTransform3DGroup.cs
- CollectionViewProxy.cs
- CompositeScriptReferenceEventArgs.cs
- TextLine.cs
- Helpers.cs
- PEFileReader.cs
- TargetControlTypeAttribute.cs
- WpfPayload.cs
- HostDesigntimeLicenseContext.cs
- WebPartDisplayMode.cs
- ErrorProvider.cs
- DynamicExpression.cs
- RuntimeVariablesExpression.cs
- TextFragmentEngine.cs
- PinnedBufferMemoryStream.cs
- XmlSchemaParticle.cs
- FileReader.cs
- ScaleTransform.cs
- DetailsViewInsertedEventArgs.cs
- _FixedSizeReader.cs
- PaintValueEventArgs.cs
- MultilineStringConverter.cs
- UInt64.cs
- EntityDesignerDataSourceView.cs
- FrameworkElementFactoryMarkupObject.cs
- XmlNullResolver.cs
- ConstructorNeedsTagAttribute.cs
- UnsafeNativeMethods.cs
- DataGridViewRowPrePaintEventArgs.cs
- ActivityMetadata.cs
- TextViewSelectionProcessor.cs
- ImageBrush.cs
- ListBoxChrome.cs
- InputReferenceExpression.cs
- mactripleDES.cs
- SourceFilter.cs
- PopOutPanel.cs
- StringUtil.cs
- TableRow.cs
- DbConnectionFactory.cs
- XamlUtilities.cs
- CmsUtils.cs
- MobileControlsSectionHandler.cs
- RegexCaptureCollection.cs
- RangeValidator.cs
- WebPartRestoreVerb.cs
- KeyMatchBuilder.cs
- ClientBuildManager.cs
- LazyInitializer.cs
- Thumb.cs
- DataServiceResponse.cs
- Sql8ConformanceChecker.cs
- BufferModeSettings.cs
- PageRequestManager.cs
- ColorPalette.cs
- NativeMethods.cs
- DisplayInformation.cs
- ToolStripRenderEventArgs.cs
- LoginViewDesigner.cs
- Label.cs
- BoundColumn.cs
- DataListAutoFormat.cs
- TabItemWrapperAutomationPeer.cs
- As.cs
- Lease.cs
- CriticalHandle.cs
- ReadOnlyDictionary.cs
- TextTreeRootNode.cs