Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- CodeAttributeDeclaration.cs
- WpfXamlMember.cs
- VariantWrapper.cs
- TreeNodeConverter.cs
- UserPreferenceChangedEventArgs.cs
- GridEntryCollection.cs
- DataBindingExpressionBuilder.cs
- GenericArgumentsUpdater.cs
- EditorBrowsableAttribute.cs
- TextPointer.cs
- CDSsyncETWBCLProvider.cs
- ShaperBuffers.cs
- FixedElement.cs
- ImportDesigner.xaml.cs
- IPEndPointCollection.cs
- Pen.cs
- ChangeNode.cs
- PropertyOverridesDialog.cs
- XmlAnyElementAttribute.cs
- DataListItem.cs
- DependencySource.cs
- ContextMenuAutomationPeer.cs
- AnnotationHighlightLayer.cs
- IconConverter.cs
- Rectangle.cs
- SmtpTransport.cs
- RootBrowserWindowProxy.cs
- XhtmlBasicPageAdapter.cs
- Unit.cs
- RijndaelManaged.cs
- GZipDecoder.cs
- oledbmetadatacollectionnames.cs
- DefaultParameterValueAttribute.cs
- SyntaxCheck.cs
- ButtonPopupAdapter.cs
- ReadOnlyHierarchicalDataSource.cs
- DataObject.cs
- DependencyPropertyValueSerializer.cs
- ArgumentOutOfRangeException.cs
- EventSinkHelperWriter.cs
- XmlQualifiedNameTest.cs
- StringAttributeCollection.cs
- ConditionalBranch.cs
- ConfigXmlWhitespace.cs
- QueryPageSettingsEventArgs.cs
- DataContractSerializerOperationGenerator.cs
- SiteMap.cs
- ManipulationVelocities.cs
- ListItemCollection.cs
- PageSetupDialog.cs
- TreeWalkHelper.cs
- DbConnectionInternal.cs
- Int64Animation.cs
- DesignerActionTextItem.cs
- ITextView.cs
- TypedReference.cs
- ControlCollection.cs
- SoapAttributeAttribute.cs
- TrailingSpaceComparer.cs
- UnknownBitmapEncoder.cs
- PaperSource.cs
- SingleTagSectionHandler.cs
- IOThreadScheduler.cs
- MasterPage.cs
- StylusButton.cs
- ChannelManager.cs
- StateMachineDesignerPaint.cs
- DynamicILGenerator.cs
- XmlResolver.cs
- OlePropertyStructs.cs
- HierarchicalDataBoundControlAdapter.cs
- XmlQueryOutput.cs
- XmlWhitespace.cs
- TransformerTypeCollection.cs
- Base64Encoder.cs
- ListViewSortEventArgs.cs
- CreatingCookieEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- PermissionRequestEvidence.cs
- FontFamilyValueSerializer.cs
- NavigateEvent.cs
- UniformGrid.cs
- KoreanLunisolarCalendar.cs
- AssemblyName.cs
- Stream.cs
- XmlObjectSerializerWriteContextComplex.cs
- GeneralTransform3DCollection.cs
- WebPartUtil.cs
- ObjectSpanRewriter.cs
- StylusEventArgs.cs
- Int32Rect.cs
- TableParagraph.cs
- DataStorage.cs
- PreloadedPackages.cs
- TextEditorSelection.cs
- ReverseQueryOperator.cs
- InstancePersistenceCommand.cs
- MetaType.cs
- OrderedDictionary.cs
- HostedNamedPipeTransportManager.cs