Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- TypeConverterAttribute.cs
- SymmetricSecurityProtocol.cs
- QueryTaskGroupState.cs
- BaseResourcesBuildProvider.cs
- Drawing.cs
- NavigationProperty.cs
- StaticTextPointer.cs
- HuffModule.cs
- BaseTemplateBuildProvider.cs
- Point4D.cs
- DataSourceXmlClassAttribute.cs
- HyperLinkStyle.cs
- JsonServiceDocumentSerializer.cs
- RegexEditorDialog.cs
- ECDiffieHellman.cs
- _ShellExpression.cs
- TextEvent.cs
- SoapInteropTypes.cs
- EllipticalNodeOperations.cs
- PkcsUtils.cs
- ContextDataSource.cs
- MultipleViewProviderWrapper.cs
- TypeUtil.cs
- DeferredTextReference.cs
- DetailsViewRowCollection.cs
- SocketCache.cs
- ParameterBuilder.cs
- BufferedGraphicsManager.cs
- ResourceAttributes.cs
- SchemaTableColumn.cs
- HitTestFilterBehavior.cs
- Operator.cs
- PtsContext.cs
- NameValueCollection.cs
- ListenDesigner.cs
- SystemIPv4InterfaceProperties.cs
- ChtmlImageAdapter.cs
- Avt.cs
- TargetControlTypeAttribute.cs
- DbProviderServices.cs
- StateMachine.cs
- AttributeCollection.cs
- XmlSchemaImport.cs
- AssemblyResourceLoader.cs
- CellParagraph.cs
- PersistenceProviderDirectory.cs
- DrawTreeNodeEventArgs.cs
- XPathNodeInfoAtom.cs
- Utils.cs
- SchemaTableColumn.cs
- AbsoluteQuery.cs
- XmlSchemaAnnotation.cs
- ComponentConverter.cs
- BaseComponentEditor.cs
- FileLevelControlBuilderAttribute.cs
- RenderDataDrawingContext.cs
- MetadataSource.cs
- Package.cs
- RowToFieldTransformer.cs
- ThemeDictionaryExtension.cs
- ThemeableAttribute.cs
- RectangleHotSpot.cs
- DataSourceControl.cs
- TextElement.cs
- MenuAdapter.cs
- PersonalizationAdministration.cs
- DefaultValueConverter.cs
- ContextProperty.cs
- ItemContainerGenerator.cs
- DataSourceView.cs
- EventSetter.cs
- DbParameterHelper.cs
- DesignerHelpers.cs
- safemediahandle.cs
- NativeMethods.cs
- Vector3DKeyFrameCollection.cs
- TableLayoutRowStyleCollection.cs
- BigInt.cs
- NumberFormatter.cs
- Timer.cs
- CachedFontFamily.cs
- ContextToken.cs
- TextDecorationCollectionConverter.cs
- WebProxyScriptElement.cs
- GridItemPattern.cs
- XmlReader.cs
- ContextMenuService.cs
- GiveFeedbackEvent.cs
- ApplicationContext.cs
- XmlQueryContext.cs
- RequestCachingSection.cs
- DataStreamFromComStream.cs
- EntityDesignerBuildProvider.cs
- WebRequest.cs
- IndexedGlyphRun.cs
- DesignerSerializationOptionsAttribute.cs
- WhitespaceRule.cs
- DataGridViewCellStyleConverter.cs
- InputElement.cs
- MarshalByRefObject.cs