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
- ElementFactory.cs
- ADConnectionHelper.cs
- MobileCategoryAttribute.cs
- DataObject.cs
- DbParameterCollectionHelper.cs
- XmlSerializer.cs
- _ListenerResponseStream.cs
- AnnotationResourceCollection.cs
- Empty.cs
- SimpleWebHandlerParser.cs
- BoundColumn.cs
- InvalidStoreProtectionKeyException.cs
- ImageButton.cs
- HandleCollector.cs
- FilterException.cs
- Interlocked.cs
- DocumentPage.cs
- PackageDigitalSignature.cs
- MemoryStream.cs
- RemoteWebConfigurationHostStream.cs
- TokenBasedSet.cs
- Expander.cs
- StructuredTypeEmitter.cs
- AlphaSortedEnumConverter.cs
- HtmlInputButton.cs
- ComponentConverter.cs
- _SSPISessionCache.cs
- RelationshipType.cs
- DataGridViewAutoSizeModeEventArgs.cs
- AssemblyCache.cs
- XhtmlTextWriter.cs
- DataObjectPastingEventArgs.cs
- RuntimeConfigurationRecord.cs
- BinaryCommonClasses.cs
- FixedFlowMap.cs
- MaskedTextBoxDesigner.cs
- ToolStripRenderer.cs
- XmlSchemaSequence.cs
- TextDecorationCollectionConverter.cs
- WorkflowDesignerMessageFilter.cs
- UidManager.cs
- EpmContentDeSerializerBase.cs
- UpdatableWrapper.cs
- NextPreviousPagerField.cs
- DocumentPageTextView.cs
- DataGridColumn.cs
- DataBoundControl.cs
- SubMenuStyleCollection.cs
- SupportingTokenAuthenticatorSpecification.cs
- DesignTimeData.cs
- RelationalExpressions.cs
- SafeUserTokenHandle.cs
- DataBoundControlHelper.cs
- UdpReplyToBehavior.cs
- WhereQueryOperator.cs
- EmptyStringExpandableObjectConverter.cs
- IPEndPoint.cs
- MLangCodePageEncoding.cs
- InfiniteTimeSpanConverter.cs
- FilterElement.cs
- MutexSecurity.cs
- SoapReflectionImporter.cs
- ManifestBasedResourceGroveler.cs
- ObjectStateFormatter.cs
- StateItem.cs
- ViewUtilities.cs
- ButtonChrome.cs
- DSASignatureDeformatter.cs
- DataViewSetting.cs
- NativeMethods.cs
- __ComObject.cs
- PropertyContainer.cs
- KeyTime.cs
- WebPartUserCapability.cs
- TemplateApplicationHelper.cs
- SqlProvider.cs
- OdbcParameter.cs
- BinaryNode.cs
- WorkflowDefinitionDispenser.cs
- DateTimeFormatInfoScanner.cs
- HtmlTableRowCollection.cs
- SelectionRange.cs
- Vector3dCollection.cs
- FillErrorEventArgs.cs
- SemanticBasicElement.cs
- RequiredFieldValidator.cs
- ImplicitInputBrush.cs
- HttpDictionary.cs
- FragmentNavigationEventArgs.cs
- XmlSchemaValidator.cs
- EventHandlerList.cs
- WorkflowQueueInfo.cs
- PerspectiveCamera.cs
- WmlCalendarAdapter.cs
- ClickablePoint.cs
- MachineSettingsSection.cs
- JsonXmlDataContract.cs
- MatrixStack.cs
- HatchBrush.cs
- HtmlImage.cs