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
- DefaultValueTypeConverter.cs
- BindingContext.cs
- odbcmetadatacolumnnames.cs
- UInt64Storage.cs
- XmlILIndex.cs
- FixedSOMPageConstructor.cs
- MetadataArtifactLoaderComposite.cs
- InvalidEnumArgumentException.cs
- TypeSystemHelpers.cs
- DrawingGroup.cs
- xamlnodes.cs
- SecUtil.cs
- WindowsListViewItem.cs
- PageClientProxyGenerator.cs
- ApplicationServiceManager.cs
- Misc.cs
- SimpleTableProvider.cs
- ColumnResizeUndoUnit.cs
- SqlDataSource.cs
- MainMenu.cs
- BindingContext.cs
- CryptoKeySecurity.cs
- Validator.cs
- ThaiBuddhistCalendar.cs
- WebPartEventArgs.cs
- PerformanceCountersBase.cs
- AddInControllerImpl.cs
- ExpressionParser.cs
- SchemaNames.cs
- PersonalizationStateInfoCollection.cs
- DLinqColumnProvider.cs
- PenLineJoinValidation.cs
- InitializationEventAttribute.cs
- InputLanguageCollection.cs
- OutputChannelBinder.cs
- SqlWebEventProvider.cs
- ReaderWriterLockSlim.cs
- DesignerSerializationManager.cs
- CornerRadius.cs
- DnsPermission.cs
- dataprotectionpermission.cs
- PermissionSet.cs
- CssClassPropertyAttribute.cs
- Int16Animation.cs
- BaseDataBoundControl.cs
- Function.cs
- XmlAttributeHolder.cs
- ExpandSegmentCollection.cs
- GridViewDesigner.cs
- UIPropertyMetadata.cs
- QilTypeChecker.cs
- StringReader.cs
- MappedMetaModel.cs
- XPathScanner.cs
- RelatedView.cs
- AuthenticationConfig.cs
- StringFormat.cs
- FontStyleConverter.cs
- ImageClickEventArgs.cs
- RegexParser.cs
- AttachmentCollection.cs
- TemplateLookupAction.cs
- ComplexObject.cs
- Int32Converter.cs
- TdsValueSetter.cs
- Vector3D.cs
- WebCategoryAttribute.cs
- ErrorsHelper.cs
- PartialCachingAttribute.cs
- ApplicationDirectoryMembershipCondition.cs
- StatusBarDrawItemEvent.cs
- PolyQuadraticBezierSegment.cs
- WebHttpElement.cs
- SafeNativeMemoryHandle.cs
- SqlNodeAnnotation.cs
- ResponseBodyWriter.cs
- WsatAdminException.cs
- OdbcCommandBuilder.cs
- Compilation.cs
- ModifierKeysConverter.cs
- EnumValAlphaComparer.cs
- AsnEncodedData.cs
- TextCollapsingProperties.cs
- ParallelRangeManager.cs
- GregorianCalendar.cs
- MissingMethodException.cs
- Avt.cs
- KeyToListMap.cs
- UserControlFileEditor.cs
- RectConverter.cs
- CompensatableTransactionScopeActivityDesigner.cs
- AppDomainShutdownMonitor.cs
- VariableExpressionConverter.cs
- SpellerStatusTable.cs
- DropDownList.cs
- XamlDesignerSerializationManager.cs
- ScrollBarAutomationPeer.cs
- ClientScriptItemCollection.cs
- FunctionDescription.cs
- ArgumentValidation.cs