Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Objects / DataClasses / EdmSchemaAttribute.cs / 1305376 / 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
- EnumConverter.cs
- SerializableAttribute.cs
- CleanUpVirtualizedItemEventArgs.cs
- RegisteredArrayDeclaration.cs
- JsonDataContract.cs
- LinkedList.cs
- CodeTypeMemberCollection.cs
- RequestCacheManager.cs
- ToolStripSplitStackLayout.cs
- SqlDataSourceEnumerator.cs
- XmlTypeMapping.cs
- SafeProcessHandle.cs
- SafeThreadHandle.cs
- ToolTip.cs
- XmlStringTable.cs
- Hash.cs
- MeasureData.cs
- BindUriHelper.cs
- SequentialActivityDesigner.cs
- SynchronousChannelMergeEnumerator.cs
- XmlSignatureProperties.cs
- EntitySqlQueryBuilder.cs
- OracleBinary.cs
- OracleBinary.cs
- ParallelQuery.cs
- BuildResult.cs
- ProcessModelSection.cs
- EdmFunctions.cs
- HtmlTableRow.cs
- ObjectItemLoadingSessionData.cs
- CompositeCollection.cs
- DebuggerAttributes.cs
- BuildProvider.cs
- SystemUnicastIPAddressInformation.cs
- AsyncOperation.cs
- GridViewColumnHeader.cs
- MarkedHighlightComponent.cs
- ActivationServices.cs
- DiscoveryEndpointElement.cs
- storepermissionattribute.cs
- BuiltInExpr.cs
- ObjectDataSourceEventArgs.cs
- AnimationTimeline.cs
- Version.cs
- GridItemPatternIdentifiers.cs
- ListItemCollection.cs
- DesignerLabelAdapter.cs
- PhonemeConverter.cs
- Int32KeyFrameCollection.cs
- _NestedMultipleAsyncResult.cs
- CategoryState.cs
- ResourcePermissionBaseEntry.cs
- UpdatePanelTrigger.cs
- FileNotFoundException.cs
- ProcessModelInfo.cs
- HtmlDocument.cs
- CopyAttributesAction.cs
- CharKeyFrameCollection.cs
- ConfigurationSection.cs
- PathTooLongException.cs
- WSFederationHttpSecurity.cs
- DocumentOrderComparer.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DataException.cs
- RuleConditionDialog.Designer.cs
- SrgsOneOf.cs
- BigInt.cs
- DefaultWorkflowSchedulerService.cs
- BasicViewGenerator.cs
- StringSource.cs
- PermissionToken.cs
- Base64WriteStateInfo.cs
- Panel.cs
- DataColumnChangeEvent.cs
- activationcontext.cs
- M3DUtil.cs
- SchemaEntity.cs
- OracleCommandBuilder.cs
- Component.cs
- StringFormat.cs
- CommandExpr.cs
- HttpModuleActionCollection.cs
- AnnotationStore.cs
- SettingsPropertyNotFoundException.cs
- CodeAccessSecurityEngine.cs
- HttpServerUtilityBase.cs
- TextDecorationCollectionConverter.cs
- coordinator.cs
- FileSecurity.cs
- ComponentChangedEvent.cs
- GeneratedView.cs
- ConfigurationProperty.cs
- ScrollBarRenderer.cs
- View.cs
- DriveNotFoundException.cs
- PartManifestEntry.cs
- DateTimeUtil.cs
- KeyedHashAlgorithm.cs
- LocalServiceSecuritySettingsElement.cs
- ConfigurationSectionGroup.cs