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
- Odbc32.cs
- DependencySource.cs
- SubpageParagraph.cs
- RectangleHotSpot.cs
- SiteIdentityPermission.cs
- KeyValuePairs.cs
- ToolStripMenuItemDesigner.cs
- XmlSchemaFacet.cs
- NamedObject.cs
- HtmlEmptyTagControlBuilder.cs
- Point3DCollectionConverter.cs
- MessageLoggingElement.cs
- ActivityCodeDomSerializationManager.cs
- BinaryNode.cs
- SafeFileMappingHandle.cs
- HierarchicalDataBoundControlAdapter.cs
- ErrorRuntimeConfig.cs
- figurelengthconverter.cs
- CFGGrammar.cs
- Metafile.cs
- RequestCacheValidator.cs
- DesignerVerb.cs
- HtmlSelectionListAdapter.cs
- RequestContext.cs
- SecurityTokenAuthenticator.cs
- PeerServiceMessageContracts.cs
- CounterSampleCalculator.cs
- TdsParser.cs
- ToolboxItem.cs
- DataControlFieldHeaderCell.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SByteConverter.cs
- EncoderParameter.cs
- XmlAnyElementAttributes.cs
- DatagridviewDisplayedBandsData.cs
- ArraySegment.cs
- UserInitiatedNavigationPermission.cs
- UdpAnnouncementEndpoint.cs
- shaperfactoryquerycacheentry.cs
- BamlLocalizer.cs
- WindowsTokenRoleProvider.cs
- ToolStripSplitStackLayout.cs
- printdlgexmarshaler.cs
- LogicalTreeHelper.cs
- DataServiceConfiguration.cs
- TextTreeTextElementNode.cs
- TypeBuilder.cs
- ContractMethodParameterInfo.cs
- assemblycache.cs
- MarkupCompilePass2.cs
- httpapplicationstate.cs
- SecurityDocument.cs
- ListenerElementsCollection.cs
- DataMisalignedException.cs
- SignedInfo.cs
- QilCloneVisitor.cs
- Clause.cs
- QueryCursorEventArgs.cs
- EditableRegion.cs
- DetailsViewRowCollection.cs
- Symbol.cs
- UpdateDelegates.Generated.cs
- ProtocolsInstallComponent.cs
- FontWeights.cs
- CellConstant.cs
- SmiRequestExecutor.cs
- LicenseException.cs
- OneOf.cs
- ExpressionConverter.cs
- ValueConversionAttribute.cs
- MarginCollapsingState.cs
- ActivityValidator.cs
- KerberosSecurityTokenProvider.cs
- DataGridViewAdvancedBorderStyle.cs
- ResourceDescriptionAttribute.cs
- HtmlTableRowCollection.cs
- EncoderFallback.cs
- XPathScanner.cs
- DynamicResourceExtensionConverter.cs
- Selector.cs
- Part.cs
- UnsafeNativeMethods.cs
- SpeechSeg.cs
- Geometry.cs
- TempFiles.cs
- ArraySet.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- XmlSerializableServices.cs
- LogEntrySerializationException.cs
- _AutoWebProxyScriptWrapper.cs
- StorageConditionPropertyMapping.cs
- DBSchemaTable.cs
- DataGridViewRowPrePaintEventArgs.cs
- ToolStripHighContrastRenderer.cs
- AssemblyResourceLoader.cs
- TableLayoutPanelBehavior.cs
- NullableConverter.cs
- BaseDataBoundControl.cs
- BaseAppDomainProtocolHandler.cs
- TrackingProfileCache.cs