Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextWriterTraceListener.cs
- BatchParser.cs
- MemoryMappedFile.cs
- PageThemeBuildProvider.cs
- WebServiceHandler.cs
- ClaimTypeElementCollection.cs
- DataViewSetting.cs
- PresentationAppDomainManager.cs
- SamlAuthorityBinding.cs
- Crc32.cs
- NameValuePermission.cs
- ServiceDurableInstanceContextProvider.cs
- RegexTree.cs
- WmpBitmapDecoder.cs
- CorruptingExceptionCommon.cs
- SafeSecurityHelper.cs
- BitConverter.cs
- FileDialogPermission.cs
- ObjectDataSourceDisposingEventArgs.cs
- NamespaceEmitter.cs
- FamilyCollection.cs
- ShellProvider.cs
- ObjectStorage.cs
- Guid.cs
- Tile.cs
- ContentElement.cs
- SecurityTokenSerializer.cs
- DataServiceQuery.cs
- FontUnitConverter.cs
- ComPlusServiceHost.cs
- ResourceReferenceKeyNotFoundException.cs
- DataContractSerializerSection.cs
- isolationinterop.cs
- ItemContainerPattern.cs
- MouseOverProperty.cs
- Grid.cs
- BaseCodePageEncoding.cs
- CompositeClientFormatter.cs
- ConnectionManagementElementCollection.cs
- SecurityDescriptor.cs
- SemaphoreSecurity.cs
- MobilePage.cs
- TemplatePagerField.cs
- FileDialog_Vista.cs
- RecipientInfo.cs
- StringUtil.cs
- XmlDataCollection.cs
- RowUpdatedEventArgs.cs
- NavigationEventArgs.cs
- CodeFieldReferenceExpression.cs
- SymbolMethod.cs
- GridProviderWrapper.cs
- XmlQualifiedName.cs
- backend.cs
- ToolBarButton.cs
- AssemblyUtil.cs
- Effect.cs
- ScriptServiceAttribute.cs
- SqlMethodAttribute.cs
- SessionState.cs
- FastEncoder.cs
- Int32RectConverter.cs
- XmlNamedNodeMap.cs
- ChannelManagerService.cs
- DeploymentExceptionMapper.cs
- FormatConvertedBitmap.cs
- IMembershipProvider.cs
- BindingCollection.cs
- SiteMapPath.cs
- ResourceDescriptionAttribute.cs
- FileDetails.cs
- TrackingWorkflowEventArgs.cs
- wgx_commands.cs
- SerializationHelper.cs
- ToolTipAutomationPeer.cs
- Directory.cs
- ColorKeyFrameCollection.cs
- AdornedElementPlaceholder.cs
- DataSourceCache.cs
- HttpConfigurationSystem.cs
- XamlTemplateSerializer.cs
- HttpRequest.cs
- ServiceOperationListItem.cs
- DesignTimeTemplateParser.cs
- ExeConfigurationFileMap.cs
- ListViewHitTestInfo.cs
- SerializerDescriptor.cs
- SqlBooleanizer.cs
- TextBox.cs
- ToolZone.cs
- Helpers.cs
- parserscommon.cs
- DeviceSpecificChoice.cs
- RelationshipWrapper.cs
- HttpApplicationStateBase.cs
- OutputCacheSection.cs
- SettingsPropertyWrongTypeException.cs
- Delegate.cs
- GridItemPatternIdentifiers.cs
- DefaultDiscoveryServiceExtension.cs