Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmTypeAttribute.cs / 1 / 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
- PerformanceCounter.cs
- WebPartDisplayModeEventArgs.cs
- ListenerSessionConnection.cs
- PreviewKeyDownEventArgs.cs
- EmptyCollection.cs
- ItemContainerPattern.cs
- SQLConvert.cs
- AddInControllerImpl.cs
- DifferencingCollection.cs
- securitycriticaldata.cs
- Socket.cs
- Int32CollectionConverter.cs
- SecondaryViewProvider.cs
- Quaternion.cs
- TypedCompletedAsyncResult.cs
- RegexWriter.cs
- QilXmlWriter.cs
- UIElement.cs
- SqlOuterApplyReducer.cs
- RowParagraph.cs
- Enumerable.cs
- SettingsBase.cs
- XmlILIndex.cs
- NodeCounter.cs
- SqlClientFactory.cs
- ColumnMapTranslator.cs
- SqlCommandSet.cs
- XslTransform.cs
- BoundPropertyEntry.cs
- DispatcherExceptionFilterEventArgs.cs
- AppSecurityManager.cs
- ObjectDataSource.cs
- oledbmetadatacolumnnames.cs
- OleDbMetaDataFactory.cs
- QuaternionAnimationBase.cs
- ColorAnimation.cs
- DataMemberFieldEditor.cs
- HtmlLink.cs
- MetadataProperty.cs
- SamlAction.cs
- TextTreeObjectNode.cs
- odbcmetadatafactory.cs
- Bezier.cs
- DbParameterCollectionHelper.cs
- StrokeCollectionDefaultValueFactory.cs
- Connector.xaml.cs
- IpcPort.cs
- InvalidFilterCriteriaException.cs
- XmlIlTypeHelper.cs
- RemotingConfigParser.cs
- TextDecorationCollection.cs
- RSAOAEPKeyExchangeFormatter.cs
- KeyTimeConverter.cs
- SchemaTypeEmitter.cs
- Rectangle.cs
- RecognitionEventArgs.cs
- BitmapImage.cs
- SpeechAudioFormatInfo.cs
- SqlServices.cs
- SemaphoreSecurity.cs
- MessageDecoder.cs
- XmlDictionary.cs
- PtsContext.cs
- WindowsBrush.cs
- SettingsSavedEventArgs.cs
- ServiceDescriptionImporter.cs
- EncodingInfo.cs
- PeerApplicationLaunchInfo.cs
- KeyValueSerializer.cs
- WindowsStartMenu.cs
- ReadOnlyMetadataCollection.cs
- CodeAttributeDeclarationCollection.cs
- ServiceOperationListItem.cs
- VideoDrawing.cs
- AngleUtil.cs
- DataGridViewCellPaintingEventArgs.cs
- CapabilitiesUse.cs
- XmlLangPropertyAttribute.cs
- SqlCacheDependency.cs
- Byte.cs
- ComAdminInterfaces.cs
- ConstrainedDataObject.cs
- ErrorProvider.cs
- Application.cs
- AvtEvent.cs
- NodeLabelEditEvent.cs
- MSG.cs
- Storyboard.cs
- unitconverter.cs
- LayoutTableCell.cs
- _ConnectStream.cs
- DictionaryItemsCollection.cs
- VSDExceptions.cs
- SecurityHelper.cs
- PipelineComponent.cs
- BackStopAuthenticationModule.cs
- SamlAttribute.cs
- ValueTable.cs
- FormsAuthenticationConfiguration.cs
- DocumentViewer.cs