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
- ObjectDataSourceFilteringEventArgs.cs
- LayoutInformation.cs
- _PooledStream.cs
- MetabaseSettings.cs
- XhtmlBasicPanelAdapter.cs
- ListItemsPage.cs
- ComponentDispatcherThread.cs
- LambdaCompiler.Address.cs
- DataObjectFieldAttribute.cs
- StringResourceManager.cs
- CodeTypeDeclaration.cs
- DialogWindow.cs
- XmlFormatWriterGenerator.cs
- DataGridHelper.cs
- FixedTextPointer.cs
- odbcmetadatafactory.cs
- ToolStripProgressBar.cs
- TraceContextRecord.cs
- GenericIdentity.cs
- DBParameter.cs
- OleDbCommandBuilder.cs
- Misc.cs
- Geometry3D.cs
- Pen.cs
- BinaryMessageFormatter.cs
- ConfigurationStrings.cs
- AnnouncementInnerClientCD1.cs
- XmlSchemaChoice.cs
- PageHandlerFactory.cs
- Bezier.cs
- MessageParameterAttribute.cs
- WizardStepBase.cs
- BehaviorDragDropEventArgs.cs
- InputMethodStateChangeEventArgs.cs
- TextWriter.cs
- PageContentCollection.cs
- GiveFeedbackEventArgs.cs
- PkcsUtils.cs
- TableLayoutCellPaintEventArgs.cs
- Section.cs
- Bezier.cs
- SpotLight.cs
- CacheDependency.cs
- SmiEventSink_Default.cs
- BindingWorker.cs
- StylusPointPropertyId.cs
- NetCodeGroup.cs
- TraceContext.cs
- MiniAssembly.cs
- WebPartActionVerb.cs
- PrimitiveCodeDomSerializer.cs
- Matrix3DStack.cs
- TableLayoutStyle.cs
- EventlogProvider.cs
- OpCodes.cs
- CodeSnippetTypeMember.cs
- MarkupWriter.cs
- HostedHttpTransportManager.cs
- FtpCachePolicyElement.cs
- ClientTargetSection.cs
- ObservableCollection.cs
- WebPartConnectionsEventArgs.cs
- AvTraceDetails.cs
- XmlEventCache.cs
- X509Certificate2Collection.cs
- ProvidersHelper.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- TypedReference.cs
- versioninfo.cs
- PolyBezierSegment.cs
- BasePattern.cs
- TimeSpanConverter.cs
- Highlights.cs
- AttributeCollection.cs
- ListBindingHelper.cs
- ImageKeyConverter.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Translator.cs
- InfiniteTimeSpanConverter.cs
- ManagedCodeMarkers.cs
- WebHeaderCollection.cs
- MediaCommands.cs
- ScrollContentPresenter.cs
- DataGridLinkButton.cs
- LinkedResourceCollection.cs
- webproxy.cs
- SqlProcedureAttribute.cs
- TextEditorThreadLocalStore.cs
- ReflectionHelper.cs
- TableRow.cs
- ToolboxBitmapAttribute.cs
- Focus.cs
- XmlCodeExporter.cs
- XmlILStorageConverter.cs
- TimelineCollection.cs
- WinEventHandler.cs
- KeyboardEventArgs.cs
- X509Logo.cs
- SoapHttpTransportImporter.cs
- RightsDocument.cs