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
- DataBindingCollection.cs
- GAC.cs
- DataGridViewCellPaintingEventArgs.cs
- InputBinding.cs
- DivideByZeroException.cs
- InternalException.cs
- DoubleKeyFrameCollection.cs
- MetadataItemCollectionFactory.cs
- GridEntryCollection.cs
- IgnoreDataMemberAttribute.cs
- StrongName.cs
- TypeListConverter.cs
- PackageRelationshipSelector.cs
- OracleBFile.cs
- MobileCapabilities.cs
- OracleString.cs
- FunctionImportElement.cs
- XamlTypeMapper.cs
- FileChangesMonitor.cs
- ColorConverter.cs
- ADMembershipUser.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SecurityPolicySection.cs
- SqlCacheDependency.cs
- _TLSstream.cs
- JsonSerializer.cs
- RNGCryptoServiceProvider.cs
- Int32Collection.cs
- MetadataItemEmitter.cs
- ConfigXmlText.cs
- StatusBarDrawItemEvent.cs
- ColumnMap.cs
- XmlSignificantWhitespace.cs
- WorkflowApplicationTerminatedException.cs
- SHA1.cs
- ResourceReferenceExpression.cs
- ErrorStyle.cs
- HandlerMappingMemo.cs
- ThreadStartException.cs
- ImageMap.cs
- AppSecurityManager.cs
- DiscoveryMessageSequenceGenerator.cs
- PermissionSetTriple.cs
- EncryptedType.cs
- DataControlFieldHeaderCell.cs
- SqlDependency.cs
- CompilationLock.cs
- SortDescriptionCollection.cs
- GeometryHitTestParameters.cs
- SchemaCollectionPreprocessor.cs
- BoundColumn.cs
- AbandonedMutexException.cs
- GroupBoxRenderer.cs
- CommonDialog.cs
- recordstate.cs
- XmlNodeReader.cs
- DbParameterCollection.cs
- BrowserCapabilitiesFactoryBase.cs
- Stack.cs
- ParameterCollection.cs
- Stopwatch.cs
- GroupStyle.cs
- FlowchartDesignerCommands.cs
- TableLayoutStyleCollection.cs
- ReflectionUtil.cs
- Token.cs
- RTLAwareMessageBox.cs
- KeyValueConfigurationElement.cs
- ReferenceConverter.cs
- DescendantQuery.cs
- RewritingProcessor.cs
- ObservableCollection.cs
- ListDataHelper.cs
- SslStream.cs
- PropertySourceInfo.cs
- OleDbPropertySetGuid.cs
- MutableAssemblyCacheEntry.cs
- PerformanceCounterPermissionEntryCollection.cs
- CookielessHelper.cs
- DecryptedHeader.cs
- KeyEventArgs.cs
- RadioButton.cs
- TypeHelpers.cs
- ProviderException.cs
- ColorConvertedBitmap.cs
- AnimatedTypeHelpers.cs
- HebrewCalendar.cs
- NameValueSectionHandler.cs
- UserControl.cs
- XmlTypeAttribute.cs
- QueryContinueDragEvent.cs
- EdmScalarPropertyAttribute.cs
- NotImplementedException.cs
- CodeExpressionCollection.cs
- FunctionDescription.cs
- SiteMapProvider.cs
- RowToFieldTransformer.cs
- OracleParameter.cs
- ActivationServices.cs
- TimelineGroup.cs