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
- AbstractSvcMapFileLoader.cs
- InfoCardRequestException.cs
- ProfileProvider.cs
- EventManager.cs
- Utils.cs
- ValidatorCollection.cs
- InfoCardKeyedHashAlgorithm.cs
- ColumnPropertiesGroup.cs
- CollectionBuilder.cs
- ImpersonateTokenRef.cs
- BehaviorService.cs
- SafeEventLogWriteHandle.cs
- HttpContext.cs
- XmlHelper.cs
- OdbcConnectionHandle.cs
- SqlUserDefinedTypeAttribute.cs
- DefaultWorkflowTransactionService.cs
- Membership.cs
- SqlConnectionHelper.cs
- EtwTrace.cs
- PriorityQueue.cs
- XPathException.cs
- NameValueSectionHandler.cs
- ObjectStateEntry.cs
- ElementAction.cs
- DBBindings.cs
- FixedSOMElement.cs
- ProfileSettings.cs
- StrokeNodeData.cs
- CodeEventReferenceExpression.cs
- DataSourceControlBuilder.cs
- DesignerActionPanel.cs
- mediaclock.cs
- RequestStatusBarUpdateEventArgs.cs
- SerialStream.cs
- Serialization.cs
- Quaternion.cs
- SweepDirectionValidation.cs
- ViewManagerAttribute.cs
- CanonicalFontFamilyReference.cs
- WmlListAdapter.cs
- ChildTable.cs
- LockRecursionException.cs
- DesignerActionListCollection.cs
- TcpProcessProtocolHandler.cs
- ReferentialConstraintRoleElement.cs
- Vector3DIndependentAnimationStorage.cs
- Solver.cs
- UserMapPath.cs
- FloaterBaseParagraph.cs
- IteratorFilter.cs
- AnimationClock.cs
- MasterPageParser.cs
- Context.cs
- SecurityChannelFaultConverter.cs
- Brushes.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- CapabilitiesUse.cs
- ServiceModelStringsVersion1.cs
- WindowsSolidBrush.cs
- IODescriptionAttribute.cs
- ArraySortHelper.cs
- WebPartCloseVerb.cs
- DataControlFieldHeaderCell.cs
- ImageButton.cs
- TextStore.cs
- UserUseLicenseDictionaryLoader.cs
- DateTimeConverter2.cs
- TimelineGroup.cs
- PersistenceException.cs
- SwitchLevelAttribute.cs
- XmlILStorageConverter.cs
- isolationinterop.cs
- Transform3DGroup.cs
- CodeTypeReference.cs
- SystemWebSectionGroup.cs
- ExtensionSimplifierMarkupObject.cs
- WebPartCollection.cs
- ToolStripSettings.cs
- BaseTemplateBuildProvider.cs
- FloaterParaClient.cs
- EpmContentDeSerializer.cs
- UInt16.cs
- CopyNamespacesAction.cs
- ConfigurationUtility.cs
- PropertyDescriptorComparer.cs
- GetIndexBinder.cs
- DirectoryObjectSecurity.cs
- LineServicesCallbacks.cs
- sqlinternaltransaction.cs
- NullRuntimeConfig.cs
- TextElementAutomationPeer.cs
- StrokeCollectionConverter.cs
- HttpListenerContext.cs
- HandlerFactoryCache.cs
- SqlTrackingQuery.cs
- XmlChoiceIdentifierAttribute.cs
- XPathConvert.cs
- ClientBuildManager.cs
- BlurBitmapEffect.cs