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
- ForeignKeyConstraint.cs
- FormViewPageEventArgs.cs
- AmbientLight.cs
- WinOEToolBoxItem.cs
- DBProviderConfigurationHandler.cs
- DynamicPropertyReader.cs
- Panel.cs
- PackageFilter.cs
- DataGridViewToolTip.cs
- ClusterRegistryConfigurationProvider.cs
- WebPartDescription.cs
- CAGDesigner.cs
- XmlRawWriterWrapper.cs
- QuaternionRotation3D.cs
- XmlMembersMapping.cs
- AssociationType.cs
- RuntimeCompatibilityAttribute.cs
- KerberosSecurityTokenAuthenticator.cs
- LinearGradientBrush.cs
- DynamicILGenerator.cs
- RegexGroup.cs
- SystemIPAddressInformation.cs
- KnownTypeDataContractResolver.cs
- HandlerFactoryWrapper.cs
- WorkflowService.cs
- Error.cs
- Attribute.cs
- SessionStateUtil.cs
- MachineKeySection.cs
- Matrix3D.cs
- ResourceReferenceExpressionConverter.cs
- RequestUriProcessor.cs
- listviewsubitemcollectioneditor.cs
- Literal.cs
- GetPageNumberCompletedEventArgs.cs
- SystemException.cs
- ColumnResult.cs
- OdbcConnectionString.cs
- ConfigViewGenerator.cs
- CmsInterop.cs
- TraceListener.cs
- BitStack.cs
- LayoutSettings.cs
- _RegBlobWebProxyDataBuilder.cs
- WebServicesInteroperability.cs
- StylusCaptureWithinProperty.cs
- DataGridViewDataErrorEventArgs.cs
- WebPartConnectionsCancelEventArgs.cs
- RoleGroup.cs
- XmlAttributeAttribute.cs
- StandardCommands.cs
- CultureSpecificStringDictionary.cs
- XD.cs
- SingleAnimation.cs
- WebPartZoneDesigner.cs
- PrintPreviewDialog.cs
- SimpleRecyclingCache.cs
- ECDsa.cs
- SqlDataSourceView.cs
- Signature.cs
- Ref.cs
- AttributeEmitter.cs
- SAPICategories.cs
- CheckPair.cs
- TemplateBuilder.cs
- DataBindingExpressionBuilder.cs
- LocationSectionRecord.cs
- baseaxisquery.cs
- CloseCollectionAsyncResult.cs
- TextContainerHelper.cs
- InstanceDataCollectionCollection.cs
- ResourceAssociationType.cs
- PageMediaType.cs
- control.ime.cs
- ClientBuildManager.cs
- TextBoxRenderer.cs
- DecoderExceptionFallback.cs
- ProgressBarBrushConverter.cs
- StylusButtonEventArgs.cs
- AppManager.cs
- TrackingMemoryStream.cs
- Expressions.cs
- PageSettings.cs
- TypeSemantics.cs
- DefaultCompensation.cs
- ApplicationException.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ConfigurationSectionCollection.cs
- InvokeHandlers.cs
- StreamResourceInfo.cs
- NonSerializedAttribute.cs
- Roles.cs
- HttpPostClientProtocol.cs
- XmlSchemaCompilationSettings.cs
- SimpleMailWebEventProvider.cs
- Signature.cs
- ProfileEventArgs.cs
- WebZoneDesigner.cs
- TypeUtils.cs
- XmlSchemaComplexType.cs