Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- BitConverter.cs
- GacUtil.cs
- COM2EnumConverter.cs
- AnonymousIdentificationSection.cs
- RoleManagerSection.cs
- ScrollItemPatternIdentifiers.cs
- SiteMapPath.cs
- unsafenativemethodsother.cs
- ProxyWebPartConnectionCollection.cs
- DataViewManagerListItemTypeDescriptor.cs
- SHA384.cs
- ConnectionPoint.cs
- ExpandableObjectConverter.cs
- WindowsSysHeader.cs
- CombinedGeometry.cs
- PropertyTab.cs
- IgnoreSectionHandler.cs
- ScalarRestriction.cs
- WorkItem.cs
- Endpoint.cs
- DataServiceHost.cs
- TextWriterTraceListener.cs
- ProcessModelSection.cs
- CustomError.cs
- ToolStripRendererSwitcher.cs
- SafeNativeMethods.cs
- DesignTimeType.cs
- Point4D.cs
- EventHandlersDesigner.cs
- ColorBlend.cs
- MatrixKeyFrameCollection.cs
- ContextMarshalException.cs
- DecimalConstantAttribute.cs
- ApplicationFileParser.cs
- DataGridViewElement.cs
- httpserverutility.cs
- ReferentialConstraint.cs
- ToolstripProfessionalRenderer.cs
- SoapDocumentServiceAttribute.cs
- Decimal.cs
- SplitterCancelEvent.cs
- GenericUriParser.cs
- RadioButton.cs
- Currency.cs
- PageClientProxyGenerator.cs
- DataGridViewTopRowAccessibleObject.cs
- WebPartCancelEventArgs.cs
- StringArrayConverter.cs
- Content.cs
- MethodCallTranslator.cs
- LocalBuilder.cs
- FixedTextContainer.cs
- SHA1Managed.cs
- HttpCookieCollection.cs
- UnsafeNativeMethods.cs
- XmlQueryType.cs
- DoubleLinkList.cs
- CssTextWriter.cs
- ConfigXmlCDataSection.cs
- ProfessionalColors.cs
- ObjectDataSourceFilteringEventArgs.cs
- ProjectedSlot.cs
- BindableAttribute.cs
- RoleGroup.cs
- CompatibleComparer.cs
- SingleResultAttribute.cs
- WinCategoryAttribute.cs
- RenderData.cs
- DecimalConverter.cs
- JoinElimination.cs
- QueryCacheManager.cs
- MarkupCompilePass2.cs
- _ListenerResponseStream.cs
- DrawingCollection.cs
- DecimalAnimationBase.cs
- SchemaMerger.cs
- PersonalizationProviderHelper.cs
- TriggerActionCollection.cs
- SafeArrayRankMismatchException.cs
- RowToParametersTransformer.cs
- SmtpClient.cs
- DesignTimeVisibleAttribute.cs
- PictureBox.cs
- ExtendedPropertyDescriptor.cs
- ArrayTypeMismatchException.cs
- Encoder.cs
- CompilationUtil.cs
- CompositeActivityTypeDescriptorProvider.cs
- ClipboardProcessor.cs
- TimeoutException.cs
- RequestTimeoutManager.cs
- DomNameTable.cs
- FixedStringLookup.cs
- HtmlInputControl.cs
- DebugController.cs
- TcpProcessProtocolHandler.cs
- LoopExpression.cs
- SharedDp.cs
- Image.cs
- AlignmentYValidation.cs