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
- ShortcutKeysEditor.cs
- DrawingDrawingContext.cs
- FileDialogPermission.cs
- SafeRightsManagementPubHandle.cs
- ExpressionEditorSheet.cs
- HttpCachePolicy.cs
- InternalRelationshipCollection.cs
- BamlResourceDeserializer.cs
- EventPropertyMap.cs
- ReservationNotFoundException.cs
- FileCodeGroup.cs
- RuntimeIdentifierPropertyAttribute.cs
- SoapExtensionReflector.cs
- XmlSchemaGroup.cs
- AtomServiceDocumentSerializer.cs
- ServiceMoniker.cs
- RewritingProcessor.cs
- Context.cs
- ProvidersHelper.cs
- WebPartActionVerb.cs
- HTTPNotFoundHandler.cs
- Comparer.cs
- CategoriesDocument.cs
- BinaryWriter.cs
- SafeArrayRankMismatchException.cs
- MetadataExchangeBindings.cs
- InternalEnumValidatorAttribute.cs
- DecodeHelper.cs
- LoginUtil.cs
- SerialErrors.cs
- SmiXetterAccessMap.cs
- UICuesEvent.cs
- StateRuntime.cs
- VectorConverter.cs
- Int32AnimationUsingKeyFrames.cs
- SafeMILHandle.cs
- SmuggledIUnknown.cs
- TextEditorDragDrop.cs
- ToolStripItemDataObject.cs
- DataGridViewDataConnection.cs
- AppearanceEditorPart.cs
- XPathNodeHelper.cs
- WinEventHandler.cs
- MaskedTextProvider.cs
- KeyTime.cs
- AccessDataSource.cs
- securestring.cs
- Facet.cs
- QueryInterceptorAttribute.cs
- TraceSection.cs
- FrameworkPropertyMetadata.cs
- TypeGenericEnumerableViewSchema.cs
- LoopExpression.cs
- XmlFormatReaderGenerator.cs
- ThicknessAnimation.cs
- Listener.cs
- SingleAnimation.cs
- WebPartTransformer.cs
- MessageSmuggler.cs
- BinaryFormatterWriter.cs
- ExtenderProviderService.cs
- xamlnodes.cs
- ValidationEventArgs.cs
- ReachSerializableProperties.cs
- TdsValueSetter.cs
- LabelDesigner.cs
- DiagnosticStrings.cs
- CardSpaceException.cs
- SetMemberBinder.cs
- OleDbPermission.cs
- ToolStripGrip.cs
- PackWebRequest.cs
- HandledMouseEvent.cs
- SignatureToken.cs
- DragEventArgs.cs
- RequestCachingSection.cs
- SqlServices.cs
- DependencyObjectCodeDomSerializer.cs
- InternalConfigHost.cs
- CompositeScriptReferenceEventArgs.cs
- ConfigurationProperty.cs
- FormDesigner.cs
- SQLRoleProvider.cs
- SamlAuthorityBinding.cs
- Fonts.cs
- AnimationTimeline.cs
- Span.cs
- HotSpotCollection.cs
- ExtensionFile.cs
- ChameleonKey.cs
- SystemBrushes.cs
- ModelTreeManager.cs
- WebContext.cs
- SpnegoTokenProvider.cs
- SqlStream.cs
- HighlightVisual.cs
- SizeChangedInfo.cs
- WaitForChangedResult.cs
- wgx_sdk_version.cs
- FilteredAttributeCollection.cs