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
- CatalogPartCollection.cs
- BitmapPalettes.cs
- CallbackBehaviorAttribute.cs
- Timer.cs
- HtmlDocument.cs
- InteropBitmapSource.cs
- TimeSpanValidatorAttribute.cs
- RegistrationServices.cs
- DataListGeneralPage.cs
- XPathCompileException.cs
- DictionaryKeyPropertyAttribute.cs
- SelectionListDesigner.cs
- ProtectedConfigurationSection.cs
- RowsCopiedEventArgs.cs
- FocusManager.cs
- GeometryModel3D.cs
- RunWorkerCompletedEventArgs.cs
- FileUtil.cs
- MergablePropertyAttribute.cs
- TemplatedMailWebEventProvider.cs
- ControlBuilder.cs
- MenuTracker.cs
- ElementAction.cs
- ListParaClient.cs
- ScrollChrome.cs
- DescendentsWalkerBase.cs
- FacetValueContainer.cs
- HScrollBar.cs
- CorrelationTokenTypeConvertor.cs
- DefaultHttpHandler.cs
- MatrixTransform.cs
- recordstate.cs
- AppendHelper.cs
- ObjectPersistData.cs
- DomainUpDown.cs
- CopyNamespacesAction.cs
- GenericPrincipal.cs
- TransactionContextManager.cs
- BinaryParser.cs
- Console.cs
- SplayTreeNode.cs
- RNGCryptoServiceProvider.cs
- ToolStripItemRenderEventArgs.cs
- StylusButtonCollection.cs
- TogglePattern.cs
- CommandBinding.cs
- WebPartActionVerb.cs
- ComPlusServiceHost.cs
- DateRangeEvent.cs
- ViewDesigner.cs
- VisualTreeHelper.cs
- BasicSecurityProfileVersion.cs
- UICuesEvent.cs
- SafeCryptoHandles.cs
- BaseProcessProtocolHandler.cs
- SynchronizedInputProviderWrapper.cs
- figurelength.cs
- UnsafeNativeMethodsTablet.cs
- TypeUnloadedException.cs
- DeploymentSectionCache.cs
- CapiHashAlgorithm.cs
- XmlAnyAttributeAttribute.cs
- RoleService.cs
- HighlightVisual.cs
- CollectionBuilder.cs
- TitleStyle.cs
- DataServiceClientException.cs
- PersonalizableTypeEntry.cs
- HtmlLinkAdapter.cs
- HyperlinkAutomationPeer.cs
- HierarchicalDataSourceIDConverter.cs
- SamlAuthorizationDecisionClaimResource.cs
- OLEDB_Util.cs
- PersistStreamTypeWrapper.cs
- XmlIlGenerator.cs
- AutomationProperties.cs
- ChannelDispatcherCollection.cs
- SessionPageStateSection.cs
- DockAndAnchorLayout.cs
- SqlErrorCollection.cs
- InstanceDataCollection.cs
- MemberMemberBinding.cs
- AxWrapperGen.cs
- Enumerable.cs
- ReaderWriterLockWrapper.cs
- documentation.cs
- ListMarkerSourceInfo.cs
- PageSettings.cs
- RequestQueryParser.cs
- EdmRelationshipRoleAttribute.cs
- DockingAttribute.cs
- FontStretch.cs
- ToolboxSnapDragDropEventArgs.cs
- ComponentDispatcherThread.cs
- IRCollection.cs
- HorizontalAlignConverter.cs
- EntityTransaction.cs
- IUnknownConstantAttribute.cs
- ContextMenuStrip.cs
- SafeHandle.cs