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
- ObjectDisposedException.cs
- ServicePointManager.cs
- MexServiceChannelBuilder.cs
- AnnotationService.cs
- DataPointer.cs
- IMembershipProvider.cs
- SpeechRecognizer.cs
- DbConnectionStringCommon.cs
- X509CertificateClaimSet.cs
- TimeSpanValidator.cs
- SendingRequestEventArgs.cs
- ScrollBarAutomationPeer.cs
- CounterSetInstanceCounterDataSet.cs
- CommentEmitter.cs
- UnaryNode.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- CacheChildrenQuery.cs
- RefreshInfo.cs
- ResourceDictionaryCollection.cs
- _SslSessionsCache.cs
- JapaneseLunisolarCalendar.cs
- StateMachine.cs
- SoapTypeAttribute.cs
- WebPartConnectionsConfigureVerb.cs
- Vector3DCollectionConverter.cs
- GregorianCalendar.cs
- WsdlBuildProvider.cs
- AnnotationService.cs
- FaultContext.cs
- GPStream.cs
- PointAnimation.cs
- BaseValidator.cs
- TextBlock.cs
- StringAnimationUsingKeyFrames.cs
- Inline.cs
- SpanIndex.cs
- HttpAsyncResult.cs
- DatatypeImplementation.cs
- HttpCacheParams.cs
- HandlerFactoryCache.cs
- PlacementWorkspace.cs
- AnnotationService.cs
- PartialList.cs
- ValueUnavailableException.cs
- MemoryMappedFileSecurity.cs
- MembershipUser.cs
- Html32TextWriter.cs
- storagemappingitemcollection.viewdictionary.cs
- Tracer.cs
- Pen.cs
- __ComObject.cs
- ToolStripDropDownMenu.cs
- FieldToken.cs
- WebCategoryAttribute.cs
- CorrelationExtension.cs
- FactoryMaker.cs
- Size.cs
- TextEditorLists.cs
- GetRecipientListRequest.cs
- ResolveMatchesMessageCD1.cs
- SharedPerformanceCounter.cs
- DbParameterCollection.cs
- unsafenativemethodsother.cs
- ModelFunction.cs
- TextElementEnumerator.cs
- ScaleTransform.cs
- DataGridViewCellParsingEventArgs.cs
- RotateTransform.cs
- XsltLoader.cs
- SchemaElement.cs
- EventMappingSettingsCollection.cs
- HtmlWindow.cs
- WpfSharedBamlSchemaContext.cs
- RegexCode.cs
- XmlEntityReference.cs
- MetaTable.cs
- BitmapMetadata.cs
- ThreadStartException.cs
- RuntimeVariableList.cs
- DataGridViewRowPostPaintEventArgs.cs
- ExtensionQuery.cs
- CompositeActivityMarkupSerializer.cs
- SqlDataSourceSelectingEventArgs.cs
- Rules.cs
- AssemblyFilter.cs
- DragDrop.cs
- TreeViewItem.cs
- DataGridState.cs
- MD5.cs
- GridViewRowCollection.cs
- PhysicalAddress.cs
- Point3DAnimation.cs
- Attributes.cs
- WindowsTokenRoleProvider.cs
- MemberProjectedSlot.cs
- UIPermission.cs
- ButtonField.cs
- HostedAspNetEnvironment.cs
- Part.cs
- StylusLogic.cs