Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- WebPartDescription.cs
- AnnotationAdorner.cs
- ToolBar.cs
- BitFlagsGenerator.cs
- MimeXmlImporter.cs
- MeshGeometry3D.cs
- QueryBranchOp.cs
- DataGridColumn.cs
- GeneratedView.cs
- CircleHotSpot.cs
- DataGridColumnCollection.cs
- ImageSource.cs
- ObjectStateEntryDbDataRecord.cs
- EntityDataSourceChangedEventArgs.cs
- FileDialog.cs
- SoapIncludeAttribute.cs
- UnaryExpression.cs
- CodeActivity.cs
- MetaModel.cs
- SubpageParagraph.cs
- ConvertersCollection.cs
- LineGeometry.cs
- ConstructorNeedsTagAttribute.cs
- smtpconnection.cs
- DataRelationCollection.cs
- MailDefinitionBodyFileNameEditor.cs
- ArrayTypeMismatchException.cs
- MaskedTextProvider.cs
- StylusShape.cs
- DataGridViewRowCollection.cs
- MsmqBindingElementBase.cs
- StdRegProviderWrapper.cs
- BatchParser.cs
- CodeTypeParameter.cs
- XmlBindingWorker.cs
- FactoryMaker.cs
- Rijndael.cs
- XmlJsonWriter.cs
- TreeViewAutomationPeer.cs
- FormatSettings.cs
- FontStyle.cs
- GradientStop.cs
- FileDialog.cs
- WebAdminConfigurationHelper.cs
- IncrementalReadDecoders.cs
- WebHeaderCollection.cs
- SamlSecurityTokenAuthenticator.cs
- DataControlFieldCell.cs
- COM2PictureConverter.cs
- PerformanceCounterManager.cs
- KeyMatchBuilder.cs
- PropertyGridEditorPart.cs
- ProfileGroupSettings.cs
- TypeAccessException.cs
- InputLanguageEventArgs.cs
- TextLine.cs
- IsolatedStorage.cs
- FontDifferentiator.cs
- OleDbConnectionInternal.cs
- DataSourceCache.cs
- XmlNamespaceDeclarationsAttribute.cs
- StandardCommands.cs
- RenderOptions.cs
- Geometry.cs
- base64Transforms.cs
- EntityAdapter.cs
- WinEventTracker.cs
- EntitySqlException.cs
- FormParameter.cs
- BooleanSwitch.cs
- XmlIgnoreAttribute.cs
- IndexExpression.cs
- LineGeometry.cs
- HttpListener.cs
- ComPlusAuthorization.cs
- brushes.cs
- ReaderContextStackData.cs
- SecondaryIndex.cs
- CuspData.cs
- FocusChangedEventArgs.cs
- StateManagedCollection.cs
- GroupedContextMenuStrip.cs
- MemberCollection.cs
- XmlSchemaRedefine.cs
- ReadOnlyPropertyMetadata.cs
- XamlFigureLengthSerializer.cs
- MsmqHostedTransportConfiguration.cs
- NameNode.cs
- CollectionMarkupSerializer.cs
- BulletedList.cs
- BaseTemplateBuildProvider.cs
- UIElement3D.cs
- Operator.cs
- ConnectionPoint.cs
- WindowsTokenRoleProvider.cs
- ScriptReferenceBase.cs
- EmbeddedMailObjectsCollection.cs
- ApplicationBuildProvider.cs
- UnsafeNativeMethods.cs
- RsaSecurityTokenAuthenticator.cs