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
- Guid.cs
- WebPartCatalogAddVerb.cs
- ClientRuntimeConfig.cs
- DeferredTextReference.cs
- DataGridCaption.cs
- CurrencyWrapper.cs
- ZoneLinkButton.cs
- HealthMonitoringSection.cs
- OleDbDataReader.cs
- HttpHandlerActionCollection.cs
- Timer.cs
- ByteKeyFrameCollection.cs
- StorageRoot.cs
- BitVec.cs
- TextFormatterHost.cs
- SQLInt64.cs
- OutOfMemoryException.cs
- IntegerValidator.cs
- ToolBarButtonClickEvent.cs
- VScrollBar.cs
- BStrWrapper.cs
- XmlConvert.cs
- SelectionItemProviderWrapper.cs
- RuntimeConfig.cs
- OleDbReferenceCollection.cs
- CurrentChangingEventManager.cs
- _TLSstream.cs
- RootDesignerSerializerAttribute.cs
- ExpandCollapsePattern.cs
- MatrixTransform3D.cs
- MimeMultiPart.cs
- HtmlFormAdapter.cs
- DateTimePicker.cs
- DesignerOptionService.cs
- DataSourceXmlSerializationAttribute.cs
- XmlParserContext.cs
- BindingNavigator.cs
- GridItemCollection.cs
- XmlWriter.cs
- StrokeCollection.cs
- DocumentSequenceHighlightLayer.cs
- SingleSelectRootGridEntry.cs
- XPathAncestorQuery.cs
- DataAccessor.cs
- SessionEndingEventArgs.cs
- TemplatedMailWebEventProvider.cs
- ConfigUtil.cs
- PointHitTestResult.cs
- StorageScalarPropertyMapping.cs
- PropertyPathWorker.cs
- _ListenerRequestStream.cs
- Int32KeyFrameCollection.cs
- XmlEntity.cs
- BitHelper.cs
- ConfigurationElementProperty.cs
- SimpleType.cs
- ToolStripPanelRow.cs
- PersonalizationDictionary.cs
- DetailsViewPagerRow.cs
- CacheHelper.cs
- Hash.cs
- XmlText.cs
- COM2ExtendedTypeConverter.cs
- LinkUtilities.cs
- InkCanvasSelection.cs
- EpmTargetPathSegment.cs
- FileDialogCustomPlacesCollection.cs
- Brush.cs
- ParameterElementCollection.cs
- OperationCanceledException.cs
- TreeNodeCollectionEditor.cs
- DuplicateMessageDetector.cs
- BaseParser.cs
- LinqExpressionNormalizer.cs
- DoubleCollectionValueSerializer.cs
- AnnotationResourceCollection.cs
- Light.cs
- Line.cs
- LocatorBase.cs
- isolationinterop.cs
- OdbcError.cs
- DiscoveryDocumentSerializer.cs
- RequestResizeEvent.cs
- TextWriterTraceListener.cs
- SudsCommon.cs
- ExternalException.cs
- InvokePatternIdentifiers.cs
- DynamicValidatorEventArgs.cs
- ConsumerConnectionPointCollection.cs
- SecurityKeyIdentifier.cs
- MiniConstructorInfo.cs
- AuthenticatedStream.cs
- SqlServer2KCompatibilityAnnotation.cs
- ValuePatternIdentifiers.cs
- SeverityFilter.cs
- Int32.cs
- ConnectionManagementSection.cs
- _ListenerAsyncResult.cs
- ConditionBrowserDialog.cs
- ChangeToolStripParentVerb.cs