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
- WinOEToolBoxItem.cs
- DockPattern.cs
- TreeViewEvent.cs
- ExpressionDumper.cs
- SineEase.cs
- SystemTcpStatistics.cs
- ComponentCommands.cs
- SocketManager.cs
- PersonalizableTypeEntry.cs
- WebPartHelpVerb.cs
- TypeSystem.cs
- PackagePart.cs
- UserNameSecurityTokenParameters.cs
- OneOfTypeConst.cs
- SafeRightsManagementQueryHandle.cs
- InvalidEnumArgumentException.cs
- DataReceivedEventArgs.cs
- TypeSystemProvider.cs
- SafeProcessHandle.cs
- SymmetricAlgorithm.cs
- AutomationFocusChangedEventArgs.cs
- DbSetClause.cs
- _BasicClient.cs
- CollectionConverter.cs
- CodePageUtils.cs
- SynchronizationScope.cs
- RegistrationServices.cs
- AffineTransform3D.cs
- IxmlLineInfo.cs
- ArgIterator.cs
- Crc32.cs
- RemotingException.cs
- PointCollection.cs
- WinInetCache.cs
- SvcMapFileSerializer.cs
- PeerValidationBehavior.cs
- IEnumerable.cs
- HttpProfileGroupBase.cs
- ToolStripItemClickedEventArgs.cs
- StringCollectionEditor.cs
- DataControlLinkButton.cs
- DataListItem.cs
- TextRunCache.cs
- EventBuilder.cs
- PrinterResolution.cs
- NumberFormatter.cs
- HtmlElementErrorEventArgs.cs
- InputProcessorProfilesLoader.cs
- HtmlElementEventArgs.cs
- TypeNameConverter.cs
- CryptoStream.cs
- BezierSegment.cs
- FixedHyperLink.cs
- CodeObject.cs
- GenericArgumentsUpdater.cs
- FontEditor.cs
- EncoderReplacementFallback.cs
- XmlSchemaIdentityConstraint.cs
- SafeRightsManagementEnvironmentHandle.cs
- DateTimePicker.cs
- controlskin.cs
- EntityKeyElement.cs
- InternalReceiveMessage.cs
- SqlProviderUtilities.cs
- ImportCatalogPart.cs
- ConnectionsZone.cs
- Subset.cs
- ContextMenu.cs
- TextElementCollectionHelper.cs
- XsltCompileContext.cs
- ServiceModelConfigurationElementCollection.cs
- nulltextnavigator.cs
- SamlAdvice.cs
- SafeEventHandle.cs
- BuiltInExpr.cs
- DateTimeOffset.cs
- Point3DValueSerializer.cs
- JpegBitmapDecoder.cs
- MetafileHeaderWmf.cs
- mediaeventargs.cs
- CqlIdentifiers.cs
- IdentityReference.cs
- BinaryMethodMessage.cs
- PostBackOptions.cs
- DataControlPagerLinkButton.cs
- FontWeight.cs
- ComPlusTraceRecord.cs
- SqlStatistics.cs
- PieceNameHelper.cs
- GeneralTransform3D.cs
- PagedDataSource.cs
- GeometryCombineModeValidation.cs
- PointF.cs
- BitmapPalettes.cs
- ResourceSetExpression.cs
- Dispatcher.cs
- ReadWriteControlDesigner.cs
- EntityProviderServices.cs
- RemotingConfigParser.cs
- ParserOptions.cs