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
- XhtmlTextWriter.cs
- DispatcherProcessingDisabled.cs
- Pair.cs
- SafeCryptoHandles.cs
- ToolStripDropDownClosedEventArgs.cs
- HandleExceptionArgs.cs
- FloaterBaseParaClient.cs
- PropertyChangedEventManager.cs
- KeyProperty.cs
- ObjectConverter.cs
- UriTemplateTableMatchCandidate.cs
- GeometryHitTestParameters.cs
- TextDecoration.cs
- SslStreamSecurityElement.cs
- DataTableMapping.cs
- WebExceptionStatus.cs
- EncoderExceptionFallback.cs
- MenuDesigner.cs
- DataSpaceManager.cs
- SqlInternalConnectionTds.cs
- EqualityArray.cs
- MULTI_QI.cs
- GridViewSortEventArgs.cs
- OdbcEnvironmentHandle.cs
- BaseDataBoundControl.cs
- ArgumentException.cs
- AdjustableArrowCap.cs
- WhiteSpaceTrimStringConverter.cs
- CachedPathData.cs
- ReachVisualSerializerAsync.cs
- SimpleLine.cs
- CachedFontFace.cs
- RedistVersionInfo.cs
- EdmProviderManifest.cs
- ActivityCodeDomReferenceService.cs
- formatter.cs
- IntegerValidator.cs
- FormsAuthenticationUserCollection.cs
- MarginCollapsingState.cs
- SqlDataSourceView.cs
- HyperLinkStyle.cs
- AdRotator.cs
- SqlTrackingQuery.cs
- Pair.cs
- DataGridViewTopLeftHeaderCell.cs
- LeafCellTreeNode.cs
- _RequestCacheProtocol.cs
- ValidationErrorCollection.cs
- SqlDataSourceEnumerator.cs
- AliasedExpr.cs
- NetworkInformationException.cs
- ContentFilePart.cs
- SafeHandles.cs
- GiveFeedbackEventArgs.cs
- MsmqInputChannelListener.cs
- ApplicationTrust.cs
- XmlAttributeProperties.cs
- GridItemPattern.cs
- UInt16.cs
- CatalogPart.cs
- DataSvcMapFile.cs
- DesignerObjectListAdapter.cs
- SourceLineInfo.cs
- XmlSchemaException.cs
- GeneratedCodeAttribute.cs
- QuadraticBezierSegment.cs
- StateMachineDesignerPaint.cs
- MetadataUtilsSmi.cs
- DataGridColumn.cs
- DependencySource.cs
- VBIdentifierName.cs
- WorkflowClientDeliverMessageWrapper.cs
- Cursor.cs
- NumberFormatInfo.cs
- ReadOnlyDictionary.cs
- HelpInfo.cs
- StorageMappingItemLoader.cs
- XPathChildIterator.cs
- NeedSkipTokenVisitor.cs
- TagPrefixAttribute.cs
- CngAlgorithmGroup.cs
- Latin1Encoding.cs
- SettingsAttributeDictionary.cs
- ContextStaticAttribute.cs
- InvalidPropValue.cs
- SamlSerializer.cs
- AstTree.cs
- NativeMethods.cs
- PostBackOptions.cs
- DrawingContextWalker.cs
- BaseWebProxyFinder.cs
- CodeNamespaceImport.cs
- UxThemeWrapper.cs
- PasswordTextContainer.cs
- RoleService.cs
- StateInitialization.cs
- EmptyEnumerator.cs
- PageRanges.cs
- TextBox.cs
- Errors.cs