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
- URLIdentityPermission.cs
- Int64AnimationUsingKeyFrames.cs
- Unit.cs
- ButtonField.cs
- IntPtr.cs
- LambdaCompiler.Binary.cs
- BuildProviderUtils.cs
- RepeaterItemCollection.cs
- PtsHelper.cs
- MultiByteCodec.cs
- TextEndOfParagraph.cs
- WmlCalendarAdapter.cs
- Path.cs
- LinkClickEvent.cs
- SelectionProviderWrapper.cs
- SqlGenericUtil.cs
- ChtmlFormAdapter.cs
- CompModHelpers.cs
- ClientTarget.cs
- OuterGlowBitmapEffect.cs
- ActiveXHelper.cs
- AdRotator.cs
- QuadraticBezierSegment.cs
- GroupByExpressionRewriter.cs
- FixedHyperLink.cs
- DebuggerAttributes.cs
- RefreshEventArgs.cs
- MessageFormatterConverter.cs
- SolidColorBrush.cs
- ZoneIdentityPermission.cs
- LocationReference.cs
- CompositeFontFamily.cs
- DSACryptoServiceProvider.cs
- DataSourceXmlSerializationAttribute.cs
- TextStore.cs
- DataBoundControlHelper.cs
- SectionInput.cs
- DataGridSortCommandEventArgs.cs
- DictionaryCustomTypeDescriptor.cs
- Frame.cs
- SecurityTokenProvider.cs
- SecurityException.cs
- RenderingBiasValidation.cs
- ListBindableAttribute.cs
- AmbientValueAttribute.cs
- InstanceLockedException.cs
- NotifyIcon.cs
- GlyphTypeface.cs
- TextEndOfParagraph.cs
- HtmlHead.cs
- ByteConverter.cs
- FormsAuthentication.cs
- WebBrowserUriTypeConverter.cs
- RequestCachePolicy.cs
- DefinitionBase.cs
- DbXmlEnabledProviderManifest.cs
- CodeSubDirectory.cs
- ExceptionUtil.cs
- ExpressionReplacer.cs
- DynamicEndpointElement.cs
- PolicyValidationException.cs
- UpdateManifestForBrowserApplication.cs
- TextTreeTextNode.cs
- Tile.cs
- CacheSection.cs
- BinaryMessageEncodingBindingElement.cs
- PreloadedPackages.cs
- SourceCollection.cs
- HttpChannelBindingToken.cs
- SecurityTokenParameters.cs
- DirectoryInfo.cs
- SmtpException.cs
- CellTreeNode.cs
- XmlSchemaValidationException.cs
- ByteKeyFrameCollection.cs
- ToolStripKeyboardHandlingService.cs
- CopyAction.cs
- QilGenerator.cs
- Transform3D.cs
- DataList.cs
- NetCodeGroup.cs
- CacheVirtualItemsEvent.cs
- Module.cs
- MappingMetadataHelper.cs
- RegisteredHiddenField.cs
- DefaultMemberAttribute.cs
- ZipIOFileItemStream.cs
- HttpsHostedTransportConfiguration.cs
- SqlCacheDependencyDatabaseCollection.cs
- SqlCachedBuffer.cs
- ProtocolViolationException.cs
- BrushProxy.cs
- List.cs
- RequestBringIntoViewEventArgs.cs
- FixedDocumentSequencePaginator.cs
- Style.cs
- DBCommand.cs
- DataViewSetting.cs
- ProfileSection.cs
- AssemblyName.cs