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 / EdmSchemaAttribute.cs / 2 / EdmSchemaAttribute.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
using System;
namespace System.Data.Objects.DataClasses
{
///
/// Attribute for static types
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = true)]
public sealed class EdmSchemaAttribute : System.Attribute
{
///
/// Constructor for EdmSchemaAttribute
///
public EdmSchemaAttribute()
{
}
///
/// Setting this parameter to a unique value for each model file in a Visual Basic
/// assembly will prevent the following error:
/// "'System.Data.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values."
///
public EdmSchemaAttribute(string assemblyGuid)
{
if (null == assemblyGuid)
{
throw new System.ArgumentNullException("assemblyGuid");
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
using System;
namespace System.Data.Objects.DataClasses
{
///
/// Attribute for static types
///
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1019:DefineAccessorsForAttributeArguments"), System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Edm")]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, AllowMultiple = true)]
public sealed class EdmSchemaAttribute : System.Attribute
{
///
/// Constructor for EdmSchemaAttribute
///
public EdmSchemaAttribute()
{
}
///
/// Setting this parameter to a unique value for each model file in a Visual Basic
/// assembly will prevent the following error:
/// "'System.Data.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values."
///
public EdmSchemaAttribute(string assemblyGuid)
{
if (null == assemblyGuid)
{
throw new System.ArgumentNullException("assemblyGuid");
}
}
}
}
// 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
- SubMenuStyleCollection.cs
- DefaultValueMapping.cs
- XmlCodeExporter.cs
- NotifyParentPropertyAttribute.cs
- SAPICategories.cs
- LinkConverter.cs
- CompiledQueryCacheEntry.cs
- ToolboxComponentsCreatedEventArgs.cs
- XhtmlBasicPageAdapter.cs
- XmlSchemaObjectCollection.cs
- CommandEventArgs.cs
- TypeLibConverter.cs
- PostBackOptions.cs
- WebPartExportVerb.cs
- PeerMaintainer.cs
- AudioFormatConverter.cs
- SqlLiftIndependentRowExpressions.cs
- XamlPoint3DCollectionSerializer.cs
- ClientSession.cs
- ListViewContainer.cs
- SqlDataReaderSmi.cs
- MsmqIntegrationElement.cs
- XmlSignatureManifest.cs
- UserNamePasswordValidator.cs
- CheckBoxList.cs
- ConnectionStringSettingsCollection.cs
- TaskExceptionHolder.cs
- TemplatePartAttribute.cs
- SymbolEqualComparer.cs
- Rotation3DAnimationUsingKeyFrames.cs
- LinqDataSourceDeleteEventArgs.cs
- StreamingContext.cs
- DependencyPropertyValueSerializer.cs
- PointAnimationUsingKeyFrames.cs
- FormsAuthentication.cs
- DLinqTableProvider.cs
- JoinElimination.cs
- EnterpriseServicesHelper.cs
- SettingsPropertyNotFoundException.cs
- XPathQilFactory.cs
- SamlConditions.cs
- MetadataPropertyCollection.cs
- ParallelTimeline.cs
- AsymmetricAlgorithm.cs
- DataColumnPropertyDescriptor.cs
- DataServiceExpressionVisitor.cs
- DbProviderFactoriesConfigurationHandler.cs
- CodeArrayCreateExpression.cs
- HandlerElementCollection.cs
- MimeWriter.cs
- Compiler.cs
- ControlAdapter.cs
- ValidatorAttribute.cs
- EventPropertyMap.cs
- CornerRadius.cs
- ToolStripRenderEventArgs.cs
- AutoGeneratedField.cs
- XmlTextReaderImpl.cs
- RelationshipSet.cs
- RuleSetDialog.Designer.cs
- CategoryGridEntry.cs
- ComponentEvent.cs
- PointConverter.cs
- ScriptingJsonSerializationSection.cs
- ArgumentOutOfRangeException.cs
- OutputWindow.cs
- ExtensionDataObject.cs
- PocoEntityKeyStrategy.cs
- ToolStripPanelCell.cs
- ValueExpressions.cs
- Soap12FormatExtensions.cs
- DbException.cs
- SQLUtility.cs
- AmbientLight.cs
- BindingExpressionBase.cs
- OutputCache.cs
- _WebProxyDataBuilder.cs
- PopupEventArgs.cs
- DataGridViewHitTestInfo.cs
- ElementUtil.cs
- ErrorWebPart.cs
- MediaScriptCommandRoutedEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- SQLDouble.cs
- ErrorInfoXmlDocument.cs
- EntityModelBuildProvider.cs
- ZipIORawDataFileBlock.cs
- WebPart.cs
- PropertyFilterAttribute.cs
- IdnElement.cs
- UserUseLicenseDictionaryLoader.cs
- DesignerAutoFormat.cs
- TextTreeObjectNode.cs
- HeaderedContentControl.cs
- Debug.cs
- EntityContainer.cs
- PageStatePersister.cs
- RightsManagementEncryptionTransform.cs
- WebPartRestoreVerb.cs
- InvariantComparer.cs