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
- FieldBuilder.cs
- SamlSecurityTokenAuthenticator.cs
- TraceHwndHost.cs
- Connector.xaml.cs
- ButtonBase.cs
- Monitor.cs
- TimeoutConverter.cs
- DbConnectionStringBuilder.cs
- ContentTextAutomationPeer.cs
- VisualCollection.cs
- HelpKeywordAttribute.cs
- ToolStripDesignerAvailabilityAttribute.cs
- SettingsSavedEventArgs.cs
- ZipIORawDataFileBlock.cs
- KnownTypesHelper.cs
- SplitContainer.cs
- UriParserTemplates.cs
- Clock.cs
- HttpApplication.cs
- CustomErrorsSectionWrapper.cs
- ListChangedEventArgs.cs
- ChangeNode.cs
- Comparer.cs
- LogicalExpr.cs
- WebConvert.cs
- SessionEndingCancelEventArgs.cs
- Rect.cs
- RoleManagerModule.cs
- GroupPartitionExpr.cs
- ZipIOLocalFileHeader.cs
- ContentAlignmentEditor.cs
- ListViewSelectEventArgs.cs
- QilLoop.cs
- NamespaceEmitter.cs
- SqlGenerator.cs
- objectresult_tresulttype.cs
- CacheDependency.cs
- WindowsImpersonationContext.cs
- MatcherBuilder.cs
- WebPageTraceListener.cs
- SByteStorage.cs
- ProcessModelInfo.cs
- XMLDiffLoader.cs
- XamlInt32CollectionSerializer.cs
- AttachmentService.cs
- GlyphCollection.cs
- Listen.cs
- ValidationSummary.cs
- Bits.cs
- oledbmetadatacolumnnames.cs
- PeerName.cs
- SecurityUtils.cs
- TableCellAutomationPeer.cs
- HScrollProperties.cs
- VisualStyleRenderer.cs
- DataGridViewLinkColumn.cs
- QuaternionAnimationBase.cs
- indexingfiltermarshaler.cs
- TransferRequestHandler.cs
- RsaSecurityToken.cs
- RadioButtonList.cs
- PropertyItemInternal.cs
- DbQueryCommandTree.cs
- CodeNamespaceImportCollection.cs
- ListDictionary.cs
- AspNetSynchronizationContext.cs
- _ScatterGatherBuffers.cs
- FileInfo.cs
- BatchStream.cs
- EventlogProvider.cs
- WebPartAuthorizationEventArgs.cs
- FilteredXmlReader.cs
- RemotingException.cs
- ServiceOperationListItemList.cs
- TextParaClient.cs
- CheckBoxList.cs
- webproxy.cs
- ErrorWrapper.cs
- oledbmetadatacollectionnames.cs
- FormattedTextSymbols.cs
- ObjectPropertyMapping.cs
- TimeStampChecker.cs
- Marshal.cs
- Debugger.cs
- SiteMapPath.cs
- PersonalizationProviderHelper.cs
- GridProviderWrapper.cs
- FixedSOMTable.cs
- HashRepartitionEnumerator.cs
- AsyncInvokeOperation.cs
- QueryOperationResponseOfT.cs
- SeekableReadStream.cs
- EnvelopedPkcs7.cs
- SpanIndex.cs
- CfgParser.cs
- GridViewPageEventArgs.cs
- FieldBuilder.cs
- CallTemplateAction.cs
- Parser.cs
- ErrorTableItemStyle.cs