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
- BlurBitmapEffect.cs
- _SafeNetHandles.cs
- TextMarkerSource.cs
- CharKeyFrameCollection.cs
- ProgressBar.cs
- StylusTip.cs
- ObjectDataSourceStatusEventArgs.cs
- DataContext.cs
- GeneralTransformGroup.cs
- AlignmentXValidation.cs
- IgnoreDeviceFilterElementCollection.cs
- RC2.cs
- CreateUserWizard.cs
- Assembly.cs
- ThicknessConverter.cs
- Type.cs
- KeyInterop.cs
- Binding.cs
- ProfileEventArgs.cs
- BamlTreeMap.cs
- PropertyDescriptor.cs
- ButtonChrome.cs
- BitmapEffectDrawing.cs
- PipeConnection.cs
- DesignerAdapterUtil.cs
- XmlNavigatorStack.cs
- ServiceMetadataPublishingElement.cs
- QueryableDataSource.cs
- DataGridViewLayoutData.cs
- ApplicationHost.cs
- ListViewTableCell.cs
- EmbeddedMailObject.cs
- NavigationPropertyEmitter.cs
- NTAccount.cs
- TextRange.cs
- TiffBitmapEncoder.cs
- SymLanguageVendor.cs
- OracleConnection.cs
- DependencyPropertyAttribute.cs
- PointCollectionConverter.cs
- OutputCacheProfileCollection.cs
- ClientRuntimeConfig.cs
- ThreadAbortException.cs
- DefaultValidator.cs
- GradientSpreadMethodValidation.cs
- _ConnectOverlappedAsyncResult.cs
- VBCodeProvider.cs
- FormatterServicesNoSerializableCheck.cs
- QilStrConcat.cs
- AutoCompleteStringCollection.cs
- InvalidPrinterException.cs
- Operator.cs
- DocumentGridPage.cs
- SuppressIldasmAttribute.cs
- HwndTarget.cs
- SafeArchiveContext.cs
- FloaterParaClient.cs
- PersistChildrenAttribute.cs
- Encoder.cs
- RawUIStateInputReport.cs
- ObjectNotFoundException.cs
- TreeViewAutomationPeer.cs
- DataGridViewCellStateChangedEventArgs.cs
- InstanceCreationEditor.cs
- CapabilitiesSection.cs
- SplayTreeNode.cs
- KeyValuePair.cs
- TraceUtility.cs
- CopyAction.cs
- XPathScanner.cs
- RawStylusSystemGestureInputReport.cs
- InnerItemCollectionView.cs
- ErrorFormatterPage.cs
- BufferModeSettings.cs
- OpCopier.cs
- RegexWorker.cs
- ExpressionBuilder.cs
- SubclassTypeValidator.cs
- ElementNotEnabledException.cs
- Style.cs
- UserControlAutomationPeer.cs
- COM2FontConverter.cs
- IgnoreFlushAndCloseStream.cs
- ByteFacetDescriptionElement.cs
- PropertyCondition.cs
- ScriptModule.cs
- FontStretchConverter.cs
- PropertyItem.cs
- ClaimTypes.cs
- HttpHandlersSection.cs
- PathFigureCollectionValueSerializer.cs
- DbProviderFactory.cs
- ContentWrapperAttribute.cs
- ControlBuilder.cs
- QuotaExceededException.cs
- LineServicesCallbacks.cs
- ListViewCommandEventArgs.cs
- LocalFileSettingsProvider.cs
- PerformanceCounterPermission.cs
- XMLSyntaxException.cs