Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmSchemaAttribute.cs / 1 / 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
- DockPanel.cs
- XamlTreeBuilderBamlRecordWriter.cs
- PageAsyncTaskManager.cs
- Border.cs
- AmbientProperties.cs
- XmlValueConverter.cs
- Misc.cs
- SpellerInterop.cs
- XXXOnTypeBuilderInstantiation.cs
- Cursors.cs
- StructuralCache.cs
- InputReportEventArgs.cs
- FileStream.cs
- NotCondition.cs
- ResourceDefaultValueAttribute.cs
- ClusterRegistryConfigurationProvider.cs
- BaseCAMarshaler.cs
- Publisher.cs
- ReliableOutputConnection.cs
- SeekableMessageNavigator.cs
- CodeParameterDeclarationExpression.cs
- CssStyleCollection.cs
- ReadingWritingEntityEventArgs.cs
- FactoryId.cs
- TransformPattern.cs
- AlphaSortedEnumConverter.cs
- DelegatingChannelListener.cs
- MsmqIntegrationProcessProtocolHandler.cs
- VisualTreeUtils.cs
- FileRecordSequenceCompletedAsyncResult.cs
- DoubleKeyFrameCollection.cs
- RichTextBoxAutomationPeer.cs
- oledbconnectionstring.cs
- HijriCalendar.cs
- XmlNamedNodeMap.cs
- XmlHierarchicalDataSourceView.cs
- WindowsGraphics.cs
- CustomTypeDescriptor.cs
- ContentControl.cs
- CacheMemory.cs
- RepeaterCommandEventArgs.cs
- ZipIOExtraFieldPaddingElement.cs
- XD.cs
- RowTypeElement.cs
- MembershipSection.cs
- StorageConditionPropertyMapping.cs
- InputLanguageEventArgs.cs
- SessionSwitchEventArgs.cs
- ICspAsymmetricAlgorithm.cs
- EventLogRecord.cs
- GenericIdentity.cs
- ImageMapEventArgs.cs
- _TLSstream.cs
- SmtpCommands.cs
- DBDataPermissionAttribute.cs
- ScriptResourceMapping.cs
- GridViewCancelEditEventArgs.cs
- EventlogProvider.cs
- HttpConfigurationSystem.cs
- TextEditorCopyPaste.cs
- InstanceData.cs
- DetailsView.cs
- ObjectView.cs
- Exceptions.cs
- SerialStream.cs
- GridViewCancelEditEventArgs.cs
- MemberCollection.cs
- TextEncodedRawTextWriter.cs
- _TLSstream.cs
- SymDocumentType.cs
- XmlCollation.cs
- NotifyIcon.cs
- OdbcCommandBuilder.cs
- Brushes.cs
- AuthenticateEventArgs.cs
- ServicePointManager.cs
- WebPartCancelEventArgs.cs
- ClientTargetSection.cs
- XamlReaderConstants.cs
- BaseValidator.cs
- Rect.cs
- sitestring.cs
- TemplateLookupAction.cs
- BitmapEffectDrawingContextState.cs
- EntityExpressionVisitor.cs
- UrlUtility.cs
- WebPartZone.cs
- AgileSafeNativeMemoryHandle.cs
- CustomActivityDesigner.cs
- SoapEnumAttribute.cs
- AnnotationComponentChooser.cs
- ForeignKeyConstraint.cs
- OleDbConnectionInternal.cs
- Listbox.cs
- SharedHttpTransportManager.cs
- VectorCollection.cs
- ClientConfigurationHost.cs
- ScriptRegistrationManager.cs
- KeyPressEvent.cs
- OneOfScalarConst.cs