Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- InterleavedZipPartStream.cs
- FrameworkPropertyMetadata.cs
- Tag.cs
- GridItem.cs
- ObjectSet.cs
- BehaviorEditorPart.cs
- ValueTypeFixupInfo.cs
- Vector3DAnimationUsingKeyFrames.cs
- StateMachineWorkflowDesigner.cs
- XamlLoadErrorInfo.cs
- HwndStylusInputProvider.cs
- shaperfactoryquerycachekey.cs
- SafeEventLogWriteHandle.cs
- _LocalDataStoreMgr.cs
- ObjectTag.cs
- IteratorDescriptor.cs
- MultipartIdentifier.cs
- MapPathBasedVirtualPathProvider.cs
- SafeEventHandle.cs
- QueryResultOp.cs
- DataObject.cs
- ThreadAttributes.cs
- TileModeValidation.cs
- Expr.cs
- DbMetaDataCollectionNames.cs
- SqlMethods.cs
- MultiSelector.cs
- SiteMapHierarchicalDataSourceView.cs
- PeerEndPoint.cs
- InvalidTimeZoneException.cs
- BooleanExpr.cs
- ZipIOBlockManager.cs
- Registry.cs
- TextEditorCopyPaste.cs
- SafeViewOfFileHandle.cs
- SecureUICommand.cs
- AspNetSynchronizationContext.cs
- FileIOPermission.cs
- IODescriptionAttribute.cs
- ConstructorNeedsTagAttribute.cs
- ToolStripItemBehavior.cs
- CatalogPartCollection.cs
- EnvironmentPermission.cs
- CodeCommentStatement.cs
- XPathMultyIterator.cs
- ObjectItemCollection.cs
- TimeSpanMinutesConverter.cs
- TextPenaltyModule.cs
- Multiply.cs
- DataRowComparer.cs
- TypeReference.cs
- CodeDOMProvider.cs
- LZCodec.cs
- TableCellCollection.cs
- VBIdentifierName.cs
- NullableConverter.cs
- HandleExceptionArgs.cs
- FactoryGenerator.cs
- NominalTypeEliminator.cs
- TriggerCollection.cs
- MonthCalendar.cs
- SoapMessage.cs
- FactoryMaker.cs
- XmlQualifiedName.cs
- NameValuePermission.cs
- XmlEncoding.cs
- BulletedList.cs
- PropertyTab.cs
- ZoneMembershipCondition.cs
- GridErrorDlg.cs
- ConstructorExpr.cs
- HashRepartitionEnumerator.cs
- LongPath.cs
- ConcatQueryOperator.cs
- Registry.cs
- _DisconnectOverlappedAsyncResult.cs
- KeyToListMap.cs
- XsltConvert.cs
- RegisteredExpandoAttribute.cs
- precedingquery.cs
- SendSecurityHeaderElementContainer.cs
- TextCollapsingProperties.cs
- SocketStream.cs
- VsPropertyGrid.cs
- Int16Storage.cs
- RelationshipWrapper.cs
- CacheEntry.cs
- DispatcherObject.cs
- JsonDeserializer.cs
- TreeViewCancelEvent.cs
- SqlMethodAttribute.cs
- MD5HashHelper.cs
- ParentUndoUnit.cs
- CodeDomExtensionMethods.cs
- DrawToolTipEventArgs.cs
- SignatureDescription.cs
- DataRowExtensions.cs
- ReadingWritingEntityEventArgs.cs
- HttpApplicationFactory.cs
- HeaderCollection.cs