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
- COM2AboutBoxPropertyDescriptor.cs
- GridProviderWrapper.cs
- MediaPlayer.cs
- PointLightBase.cs
- WebEncodingValidator.cs
- SQLGuid.cs
- __ConsoleStream.cs
- Floater.cs
- RightsManagementInformation.cs
- SafeArrayRankMismatchException.cs
- DynamicDocumentPaginator.cs
- SqlNodeAnnotations.cs
- DateTimePicker.cs
- ListManagerBindingsCollection.cs
- PropertyRecord.cs
- XmlElementList.cs
- ConstantSlot.cs
- StorageEntityTypeMapping.cs
- DivideByZeroException.cs
- XmlSchemaProviderAttribute.cs
- ServiceContractGenerationContext.cs
- MatcherBuilder.cs
- BoundsDrawingContextWalker.cs
- VirtualizedItemProviderWrapper.cs
- Perspective.cs
- Opcode.cs
- ResXDataNode.cs
- HttpProfileBase.cs
- ExecutionEngineException.cs
- RotateTransform.cs
- AsyncDataRequest.cs
- QueryUtil.cs
- SessionState.cs
- HistoryEventArgs.cs
- ConfigXmlWhitespace.cs
- InputMethodStateChangeEventArgs.cs
- BoundColumn.cs
- VisemeEventArgs.cs
- EntityClassGenerator.cs
- ConfigXmlComment.cs
- PKCS1MaskGenerationMethod.cs
- CssClassPropertyAttribute.cs
- RequiredAttributeAttribute.cs
- LineGeometry.cs
- DragEventArgs.cs
- controlskin.cs
- Oci.cs
- Input.cs
- cookiecontainer.cs
- ProxyManager.cs
- MissingMemberException.cs
- UniqueIdentifierService.cs
- GradientSpreadMethodValidation.cs
- BaseAsyncResult.cs
- SchemaAttDef.cs
- BuildProvidersCompiler.cs
- _SSPIWrapper.cs
- Path.cs
- Int64AnimationBase.cs
- SerializationAttributes.cs
- TargetInvocationException.cs
- Rectangle.cs
- WinInet.cs
- ServicePoint.cs
- Hashtable.cs
- HandlerFactoryCache.cs
- FontSourceCollection.cs
- WmpBitmapDecoder.cs
- safesecurityhelperavalon.cs
- Point.cs
- XmlException.cs
- WpfXamlMember.cs
- SmiTypedGetterSetter.cs
- VisemeEventArgs.cs
- ComplexType.cs
- GridViewColumnCollection.cs
- VoiceChangeEventArgs.cs
- DirectionalLight.cs
- HttpHeaderCollection.cs
- WindowsRichEdit.cs
- NestPullup.cs
- LinqDataSourceContextEventArgs.cs
- CachingHintValidation.cs
- ButtonAutomationPeer.cs
- Transaction.cs
- SectionVisual.cs
- TrackingMemoryStream.cs
- EmptyTextWriter.cs
- UIElementAutomationPeer.cs
- PreservationFileWriter.cs
- QuadraticBezierSegment.cs
- FlowDocumentFormatter.cs
- ListViewGroupConverter.cs
- Debug.cs
- SerializationInfoEnumerator.cs
- CustomPopupPlacement.cs
- ReferentialConstraint.cs
- TableLayoutPanel.cs
- FlowPanelDesigner.cs
- PersonalizablePropertyEntry.cs