Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmTypeAttribute.cs / 1305376 / 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
- AnnotationHighlightLayer.cs
- ListControlConvertEventArgs.cs
- SQLBinary.cs
- GradientBrush.cs
- InstanceKeyCollisionException.cs
- RenderingEventArgs.cs
- ThousandthOfEmRealDoubles.cs
- MaskedTextBox.cs
- QuotaThrottle.cs
- TypeValidationEventArgs.cs
- ToolTipAutomationPeer.cs
- LinqDataSourceStatusEventArgs.cs
- BCryptHashAlgorithm.cs
- diagnosticsswitches.cs
- TextTreeExtractElementUndoUnit.cs
- Psha1DerivedKeyGeneratorHelper.cs
- InstanceDataCollectionCollection.cs
- Color.cs
- MissingFieldException.cs
- TableAutomationPeer.cs
- PasswordPropertyTextAttribute.cs
- RotateTransform3D.cs
- QilInvokeLateBound.cs
- HtmlEmptyTagControlBuilder.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- EntityDataSourceWizardForm.cs
- EncryptedKey.cs
- PartialCachingAttribute.cs
- IndexedString.cs
- GeneralTransformCollection.cs
- ComponentEditorForm.cs
- MessageQueuePermissionAttribute.cs
- ProfilePropertySettingsCollection.cs
- SimpleHandlerBuildProvider.cs
- TextSelectionHelper.cs
- WebPartVerbCollection.cs
- DesignerCatalogPartChrome.cs
- WmpBitmapDecoder.cs
- AsyncResult.cs
- errorpatternmatcher.cs
- MultiDataTrigger.cs
- KeyedPriorityQueue.cs
- EntityContainerEmitter.cs
- XmlDataSource.cs
- CodeAttributeDeclaration.cs
- RSACryptoServiceProvider.cs
- ToolBarTray.cs
- IResourceProvider.cs
- SessionIDManager.cs
- TableRow.cs
- Semaphore.cs
- OutputCacheModule.cs
- Fault.cs
- DataPagerFieldItem.cs
- MeasureItemEvent.cs
- CommandID.cs
- Restrictions.cs
- ILGenerator.cs
- Point3DCollection.cs
- SemanticTag.cs
- TreeIterator.cs
- ReliableInputConnection.cs
- Touch.cs
- Soap12FormatExtensions.cs
- AppliesToBehaviorDecisionTable.cs
- Executor.cs
- listitem.cs
- AccessedThroughPropertyAttribute.cs
- ViewStateChangedEventArgs.cs
- SimpleColumnProvider.cs
- DbgCompiler.cs
- SerializationObjectManager.cs
- EdmProviderManifest.cs
- ObjectComplexPropertyMapping.cs
- HtmlTableRow.cs
- QueryCursorEventArgs.cs
- securitycriticaldata.cs
- SchemaTypeEmitter.cs
- StorageFunctionMapping.cs
- InlineCollection.cs
- IgnoreSectionHandler.cs
- WebDisplayNameAttribute.cs
- _ListenerAsyncResult.cs
- SrgsElementFactoryCompiler.cs
- TextModifierScope.cs
- ChannelSinkStacks.cs
- SortExpressionBuilder.cs
- VisualProxy.cs
- IntegerCollectionEditor.cs
- Constants.cs
- ToolboxItemAttribute.cs
- TreeNodeSelectionProcessor.cs
- ChannelSinkStacks.cs
- SectionVisual.cs
- DragDrop.cs
- RayMeshGeometry3DHitTestResult.cs
- ObjectQuery.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- PostBackOptions.cs
- VisemeEventArgs.cs