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
- ObjectHandle.cs
- ConfigurationSettings.cs
- XmlTypeAttribute.cs
- UpDownEvent.cs
- LinkClickEvent.cs
- ItemCollection.cs
- Canvas.cs
- DataGridViewColumnCollection.cs
- FacetValues.cs
- DllNotFoundException.cs
- SourceItem.cs
- SqlDataSourceView.cs
- SqlDataSourceSummaryPanel.cs
- BufferedGraphicsManager.cs
- ItemChangedEventArgs.cs
- ParallelRangeManager.cs
- XPathParser.cs
- PointUtil.cs
- AudioDeviceOut.cs
- DataGridView.cs
- AccessDataSourceView.cs
- Matrix3D.cs
- CodeExpressionCollection.cs
- CellPartitioner.cs
- GlyphManager.cs
- SafeArrayTypeMismatchException.cs
- FastEncoder.cs
- FileSystemEventArgs.cs
- RequestTimeoutManager.cs
- WebPartManagerInternals.cs
- diagnosticsswitches.cs
- ValidationResult.cs
- RectConverter.cs
- TypeExtensionSerializer.cs
- LockCookie.cs
- HtmlTableRow.cs
- SrgsElementList.cs
- WebRequest.cs
- HyperLinkStyle.cs
- DispatcherHookEventArgs.cs
- ExceptionUtil.cs
- WebControlAdapter.cs
- FakeModelItemImpl.cs
- DynamicQueryableWrapper.cs
- SelectionRange.cs
- FontCollection.cs
- Cursors.cs
- XmlBuffer.cs
- CorruptingExceptionCommon.cs
- InstanceCreationEditor.cs
- DataControlFieldHeaderCell.cs
- OleDbEnumerator.cs
- SystemIPGlobalStatistics.cs
- DesignerVerb.cs
- TryLoadRunnableWorkflowCommand.cs
- MessageDesigner.cs
- SettingsBindableAttribute.cs
- EventManager.cs
- HTMLTextWriter.cs
- SqlDataReaderSmi.cs
- SqlNamer.cs
- DataGridViewLinkColumn.cs
- ForwardPositionQuery.cs
- PropertyDescriptor.cs
- FontCollection.cs
- errorpatternmatcher.cs
- HashJoinQueryOperatorEnumerator.cs
- DtrList.cs
- ContentHostHelper.cs
- StringReader.cs
- XmlWriterSettings.cs
- TypedServiceChannelBuilder.cs
- Predicate.cs
- Resources.Designer.cs
- MeasureItemEvent.cs
- WebResourceAttribute.cs
- TypeResolver.cs
- DataGridViewRowConverter.cs
- NamespaceCollection.cs
- HtmlInputHidden.cs
- LinkArea.cs
- Row.cs
- Validator.cs
- AssemblyAssociatedContentFileAttribute.cs
- StatusBarDesigner.cs
- TreeNodeClickEventArgs.cs
- InstalledFontCollection.cs
- MatcherBuilder.cs
- RsaEndpointIdentity.cs
- FixedStringLookup.cs
- _ChunkParse.cs
- TypeLoadException.cs
- BindValidationContext.cs
- SyndicationSerializer.cs
- ObjectStateEntryDbDataRecord.cs
- HtmlString.cs
- DecoderReplacementFallback.cs
- DesignerEventService.cs
- SecurityPermission.cs
- RegexInterpreter.cs