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
- CompositeScriptReference.cs
- InternalBase.cs
- HttpModuleAction.cs
- ConsoleKeyInfo.cs
- RegexCaptureCollection.cs
- DataGridViewCheckBoxColumn.cs
- Debugger.cs
- ViewStateModeByIdAttribute.cs
- AutomationAttributeInfo.cs
- CredentialCache.cs
- cookie.cs
- StringConverter.cs
- XsdBuilder.cs
- SecurityContextSecurityTokenAuthenticator.cs
- cache.cs
- ZipIOFileItemStream.cs
- SingleConverter.cs
- RawStylusActions.cs
- Converter.cs
- MonthChangedEventArgs.cs
- DataGridViewRowsRemovedEventArgs.cs
- Thickness.cs
- LineGeometry.cs
- CacheOutputQuery.cs
- Int64AnimationUsingKeyFrames.cs
- ElementHostAutomationPeer.cs
- TypeDescriptor.cs
- ApplicationCommands.cs
- PointConverter.cs
- HttpsHostedTransportConfiguration.cs
- CommonEndpointBehaviorElement.cs
- Table.cs
- Int64Storage.cs
- ManagedIStream.cs
- MessageHeaderException.cs
- Win32KeyboardDevice.cs
- TemplateControlBuildProvider.cs
- ViewStateException.cs
- QueryAccessibilityHelpEvent.cs
- LicenseException.cs
- WorkflowInstanceSuspendedRecord.cs
- OleDbException.cs
- AudioFileOut.cs
- StringFormat.cs
- Empty.cs
- XmlMembersMapping.cs
- BinHexEncoding.cs
- AppDomainUnloadedException.cs
- OperatorExpressions.cs
- DataAccessException.cs
- UIElementHelper.cs
- XamlPointCollectionSerializer.cs
- WebPartPersonalization.cs
- ProtectedConfigurationSection.cs
- AssertSection.cs
- PeerInvitationResponse.cs
- StyleTypedPropertyAttribute.cs
- AsymmetricCryptoHandle.cs
- XmlAnyElementAttribute.cs
- AdditionalEntityFunctions.cs
- GeneralTransform3DTo2DTo3D.cs
- HeaderedItemsControl.cs
- ManifestResourceInfo.cs
- OutputCacheModule.cs
- EncryptedReference.cs
- MouseBinding.cs
- PtsHost.cs
- DataRowChangeEvent.cs
- SamlSerializer.cs
- ResizeGrip.cs
- WebServiceHost.cs
- SchemaMapping.cs
- Crc32.cs
- TablePattern.cs
- SafeFileMapViewHandle.cs
- PreProcessInputEventArgs.cs
- Line.cs
- Stylesheet.cs
- FlowDocumentScrollViewer.cs
- BamlLocalizer.cs
- DetailsViewPagerRow.cs
- MessageHeaderDescriptionCollection.cs
- AliasGenerator.cs
- WindowVisualStateTracker.cs
- initElementDictionary.cs
- DispatcherObject.cs
- RedistVersionInfo.cs
- FileChangesMonitor.cs
- StateDesigner.TransitionInfo.cs
- WindowsIPAddress.cs
- FloaterBaseParagraph.cs
- RijndaelCryptoServiceProvider.cs
- QilLiteral.cs
- WebHostUnsafeNativeMethods.cs
- Empty.cs
- DataGridViewAccessibleObject.cs
- DbConnectionPoolCounters.cs
- FontDialog.cs
- Style.cs
- ExtensionWindowResizeGrip.cs