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
- CollectionChangedEventManager.cs
- FixedTextBuilder.cs
- HelpInfo.cs
- ThreadStateException.cs
- ChannelManagerHelpers.cs
- OleDbRowUpdatingEvent.cs
- DataGridViewColumn.cs
- dataSvcMapFileLoader.cs
- Crc32Helper.cs
- MediaCommands.cs
- HeaderedItemsControl.cs
- ColorIndependentAnimationStorage.cs
- SettingsProviderCollection.cs
- AspNetCompatibilityRequirementsAttribute.cs
- SecurityKeyIdentifierClause.cs
- XmlILOptimizerVisitor.cs
- ApplicationProxyInternal.cs
- DivideByZeroException.cs
- KeyTime.cs
- CodeTypeDelegate.cs
- WindowInteractionStateTracker.cs
- WorkflowServiceBuildProvider.cs
- FtpWebRequest.cs
- CompoundFileIOPermission.cs
- SqlUserDefinedTypeAttribute.cs
- WmpBitmapEncoder.cs
- CompiledRegexRunnerFactory.cs
- SystemWebExtensionsSectionGroup.cs
- Helper.cs
- MessageQueuePermissionAttribute.cs
- _AutoWebProxyScriptEngine.cs
- MD5.cs
- NetStream.cs
- ShaperBuffers.cs
- ReferenceService.cs
- DiagnosticTrace.cs
- FileDialogCustomPlacesCollection.cs
- XmlChildEnumerator.cs
- DataGridComponentEditor.cs
- FixedSOMPage.cs
- StopStoryboard.cs
- ModuleElement.cs
- PreApplicationStartMethodAttribute.cs
- DeviceFilterEditorDialog.cs
- D3DImage.cs
- WindowsListViewItemCheckBox.cs
- Pkcs7Signer.cs
- FastPropertyAccessor.cs
- Flowchart.cs
- NullReferenceException.cs
- TableItemProviderWrapper.cs
- XmlBufferReader.cs
- SqlPersonalizationProvider.cs
- __Filters.cs
- DataGridCellsPresenter.cs
- CapabilitiesUse.cs
- EntityContainerAssociationSet.cs
- InternalConfigEventArgs.cs
- PropVariant.cs
- FigureParaClient.cs
- PathSegment.cs
- InvalidPropValue.cs
- ToggleProviderWrapper.cs
- SetIterators.cs
- HierarchicalDataTemplate.cs
- SoapIncludeAttribute.cs
- cache.cs
- IQueryable.cs
- UniqueConstraint.cs
- PathGeometry.cs
- XmlArrayItemAttribute.cs
- TypeConverters.cs
- FilteredDataSetHelper.cs
- NativeMethods.cs
- MethodExpr.cs
- GPRECT.cs
- IDictionary.cs
- X509CertificateChain.cs
- InputScope.cs
- AcceleratedTokenProviderState.cs
- RegexCharClass.cs
- DbDataReader.cs
- SelectionRange.cs
- NavigateEvent.cs
- AppSettingsReader.cs
- WizardForm.cs
- FormView.cs
- DataGrid.cs
- XmlNodeReader.cs
- DockEditor.cs
- DataBindingCollectionEditor.cs
- CancellationHandlerDesigner.cs
- KeyboardEventArgs.cs
- DayRenderEvent.cs
- Set.cs
- ToolBar.cs
- DataSet.cs
- BindingExpressionUncommonField.cs
- DataStreams.cs
- DeferrableContent.cs