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
- TokenBasedSetEnumerator.cs
- XmlTypeAttribute.cs
- NetNamedPipeBindingCollectionElement.cs
- ExtractCollection.cs
- SafeThreadHandle.cs
- HtmlElementEventArgs.cs
- DefaultBinder.cs
- HandlerBase.cs
- DataControlCommands.cs
- Span.cs
- ControlUtil.cs
- ObjectQueryProvider.cs
- TreeNode.cs
- Renderer.cs
- ErrorReporting.cs
- ManagedWndProcTracker.cs
- FileDialogCustomPlace.cs
- ExpressionVisitor.cs
- SecurityPermission.cs
- LambdaCompiler.ControlFlow.cs
- MappingModelBuildProvider.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DataGridTextBoxColumn.cs
- UnsafeNativeMethods.cs
- ContentFilePart.cs
- HighlightComponent.cs
- ApplicationActivator.cs
- InputElement.cs
- ResourcesGenerator.cs
- SqlConnectionPoolGroupProviderInfo.cs
- TypeSchema.cs
- ConfigXmlReader.cs
- SqlDataSourceCommandEventArgs.cs
- ConfigurationManagerInternalFactory.cs
- GraphicsPath.cs
- ParallelRangeManager.cs
- ListViewDeletedEventArgs.cs
- XmlChoiceIdentifierAttribute.cs
- MaterialGroup.cs
- SqlUserDefinedAggregateAttribute.cs
- ToolStripDropDownItem.cs
- DataRow.cs
- TableLayoutRowStyleCollection.cs
- ReflectTypeDescriptionProvider.cs
- CodeGotoStatement.cs
- AssemblyCollection.cs
- CompatibleIComparer.cs
- GridViewRowPresenterBase.cs
- XmlSchemaValidator.cs
- ImportContext.cs
- Section.cs
- WebPartConnectionsDisconnectVerb.cs
- TokenCreationParameter.cs
- PointLight.cs
- WebPartUserCapability.cs
- OrderedDictionary.cs
- KeyInstance.cs
- EventProviderClassic.cs
- Pkcs7Signer.cs
- Cloud.cs
- ProjectionCamera.cs
- NamespaceTable.cs
- CodeIndexerExpression.cs
- TemplateXamlParser.cs
- SimpleRecyclingCache.cs
- UnhandledExceptionEventArgs.cs
- LoadedOrUnloadedOperation.cs
- XPathItem.cs
- StorageModelBuildProvider.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- Transform3DCollection.cs
- ForwardPositionQuery.cs
- SmiEventSink.cs
- XPathSelfQuery.cs
- MetaModel.cs
- EntityProviderServices.cs
- QuadraticBezierSegment.cs
- ReceiveErrorHandling.cs
- Baml2006ReaderFrame.cs
- FormViewUpdateEventArgs.cs
- DragEventArgs.cs
- TypedReference.cs
- GenericArgumentsUpdater.cs
- SafeRegistryHandle.cs
- FrameworkTemplate.cs
- CodeObjectCreateExpression.cs
- GPPOINTF.cs
- DelegateSerializationHolder.cs
- GB18030Encoding.cs
- QuaternionValueSerializer.cs
- Model3DCollection.cs
- GridViewRow.cs
- MasterPage.cs
- _OverlappedAsyncResult.cs
- MenuBase.cs
- Pointer.cs
- ScrollItemPattern.cs
- InputLangChangeEvent.cs
- mongolianshape.cs
- LicenseException.cs