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
- LocalValueEnumerator.cs
- StylusPointPropertyUnit.cs
- AtomEntry.cs
- HttpCapabilitiesEvaluator.cs
- FigureHelper.cs
- CodeDOMUtility.cs
- CodeExpressionStatement.cs
- ProcessThread.cs
- HTTPRemotingHandler.cs
- ExpressionBindingsDialog.cs
- Viewport3DVisual.cs
- IndexedString.cs
- Tablet.cs
- XmlBindingWorker.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- InitializationEventAttribute.cs
- EnvelopedPkcs7.cs
- EventDescriptor.cs
- StrongNameUtility.cs
- HashHelpers.cs
- SqlProfileProvider.cs
- PreProcessInputEventArgs.cs
- TableColumnCollection.cs
- IndentTextWriter.cs
- DrawListViewColumnHeaderEventArgs.cs
- FunctionDescription.cs
- DispatcherExceptionFilterEventArgs.cs
- ForeignConstraint.cs
- MultiView.cs
- ControlPaint.cs
- XmlSigningNodeWriter.cs
- SolidColorBrush.cs
- TraceFilter.cs
- SecUtil.cs
- DataTableCollection.cs
- WebHttpBehavior.cs
- SizeKeyFrameCollection.cs
- UriTemplateTableMatchCandidate.cs
- FontClient.cs
- X500Name.cs
- HandlerFactoryWrapper.cs
- ContentElement.cs
- SerTrace.cs
- ComponentSerializationService.cs
- AspCompat.cs
- EdmFunction.cs
- SmtpClient.cs
- ImageListStreamer.cs
- JumpList.cs
- DesignerAdapterAttribute.cs
- FileDialog.cs
- SelectiveScrollingGrid.cs
- TogglePattern.cs
- ErrorStyle.cs
- ValueOfAction.cs
- PageVisual.cs
- PersonalizationProviderCollection.cs
- RuntimeHelpers.cs
- MediaElement.cs
- HyperlinkAutomationPeer.cs
- ContextMenuStrip.cs
- CalendarDay.cs
- SQLStringStorage.cs
- PartialArray.cs
- FlowDocumentReader.cs
- DataGridViewCellMouseEventArgs.cs
- TimeSpanMinutesConverter.cs
- SoapFault.cs
- ViewManagerAttribute.cs
- ComponentManagerBroker.cs
- ActivityTrace.cs
- UnionCodeGroup.cs
- DrawingContextDrawingContextWalker.cs
- CommandLibraryHelper.cs
- Size.cs
- ProfileParameter.cs
- ChtmlMobileTextWriter.cs
- HttpCachePolicyElement.cs
- TreeWalkHelper.cs
- WsatTransactionHeader.cs
- IdentityModelStringsVersion1.cs
- iisPickupDirectory.cs
- ToolBar.cs
- KeyConverter.cs
- ContentDesigner.cs
- ModelItemImpl.cs
- StubHelpers.cs
- Thumb.cs
- ConnectionManager.cs
- FontStyle.cs
- ArraySortHelper.cs
- Number.cs
- WebUtil.cs
- CodeDesigner.cs
- FormatVersion.cs
- Switch.cs
- FloatMinMaxAggregationOperator.cs
- SystemIPGlobalStatistics.cs
- HelloMessageApril2005.cs
- SID.cs