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
- EventSetter.cs
- SystemIPGlobalStatistics.cs
- EncodingNLS.cs
- BindUriHelper.cs
- IResourceProvider.cs
- ImageDrawing.cs
- GradientPanel.cs
- TimestampInformation.cs
- ListBox.cs
- NativeMethods.cs
- NameObjectCollectionBase.cs
- ModelPerspective.cs
- VectorAnimationBase.cs
- GridItemCollection.cs
- PageContentCollection.cs
- TabPage.cs
- WpfKnownMember.cs
- LayoutTableCell.cs
- CallbackCorrelationInitializer.cs
- MobileUITypeEditor.cs
- Context.cs
- WindowsBrush.cs
- WindowsGraphics2.cs
- DataServiceException.cs
- HandlerMappingMemo.cs
- ConfigurationSchemaErrors.cs
- ZipQueryOperator.cs
- QuadTree.cs
- OdbcConnectionStringbuilder.cs
- JsonUriDataContract.cs
- TemplateNameScope.cs
- ComponentConverter.cs
- UIElementParaClient.cs
- ListItemConverter.cs
- WebWorkflowRole.cs
- ResourcesGenerator.cs
- _FtpDataStream.cs
- UnhandledExceptionEventArgs.cs
- WindowsListViewItemStartMenu.cs
- WmlObjectListAdapter.cs
- ParallelEnumerable.cs
- SmiEventSink.cs
- SmtpCommands.cs
- ToolStripControlHost.cs
- MessageBox.cs
- StringHandle.cs
- Math.cs
- OdbcErrorCollection.cs
- CatalogPartChrome.cs
- URLMembershipCondition.cs
- XhtmlBasicCalendarAdapter.cs
- PerformanceCounterManager.cs
- Control.cs
- DependencyPropertyKind.cs
- UnaryQueryOperator.cs
- CodePrimitiveExpression.cs
- Focus.cs
- ApplicationContext.cs
- DocumentReferenceCollection.cs
- ButtonBaseAutomationPeer.cs
- Facet.cs
- PaginationProgressEventArgs.cs
- SoapElementAttribute.cs
- AuthenticodeSignatureInformation.cs
- ISSmlParser.cs
- GridViewRowCollection.cs
- DbConnectionPoolIdentity.cs
- TabControlAutomationPeer.cs
- CFGGrammar.cs
- MediaCommands.cs
- PrivacyNoticeBindingElementImporter.cs
- CodeCastExpression.cs
- VisualStyleElement.cs
- nulltextnavigator.cs
- UpdateInfo.cs
- MonitoringDescriptionAttribute.cs
- IdentifierService.cs
- XmlImplementation.cs
- precedingquery.cs
- CodeDelegateInvokeExpression.cs
- NetMsmqBindingElement.cs
- DependencyPropertyConverter.cs
- UrlPath.cs
- WebBrowserPermission.cs
- Opcode.cs
- SqlInternalConnectionSmi.cs
- LinqDataSourceSelectEventArgs.cs
- CacheVirtualItemsEvent.cs
- ReadOnlyNameValueCollection.cs
- TextEncodedRawTextWriter.cs
- MethodBuilder.cs
- CodeTryCatchFinallyStatement.cs
- UInt64.cs
- SynchronizingStream.cs
- Section.cs
- XmlNodeChangedEventManager.cs
- OdbcInfoMessageEvent.cs
- DbDataRecord.cs
- AutomationPatternInfo.cs
- LogLogRecord.cs