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
- XsltInput.cs
- SystemIPv4InterfaceProperties.cs
- EasingFunctionBase.cs
- TextServicesCompartment.cs
- IntegerValidator.cs
- DataRelationPropertyDescriptor.cs
- ChameleonKey.cs
- FixedNode.cs
- CodeThrowExceptionStatement.cs
- SQLResource.cs
- OperatingSystem.cs
- BulletedListEventArgs.cs
- DocumentApplicationJournalEntry.cs
- Queue.cs
- InkSerializer.cs
- LeaseManager.cs
- CodeAccessPermission.cs
- TextEditorSelection.cs
- StateMachineTimers.cs
- Header.cs
- Int64AnimationUsingKeyFrames.cs
- BinaryObjectReader.cs
- SimpleHandlerBuildProvider.cs
- ScriptDescriptor.cs
- SpecularMaterial.cs
- CopyAction.cs
- RecordBuilder.cs
- LinkAreaEditor.cs
- StringUtil.cs
- WinInet.cs
- NullableDoubleMinMaxAggregationOperator.cs
- SeekableReadStream.cs
- EntityModelBuildProvider.cs
- ViewStateModeByIdAttribute.cs
- FieldBuilder.cs
- InvokeSchedule.cs
- WebPartsPersonalization.cs
- ScriptControlDescriptor.cs
- StringOutput.cs
- AccessText.cs
- Keywords.cs
- ToolStripHighContrastRenderer.cs
- StreamWriter.cs
- ConnectionPoolManager.cs
- TypedElement.cs
- AddInProcess.cs
- ArrangedElementCollection.cs
- SqlProvider.cs
- TextOutput.cs
- DataPointer.cs
- streamingZipPartStream.cs
- SqlMethodAttribute.cs
- BlurBitmapEffect.cs
- WSHttpTransportSecurityElement.cs
- ServiceOperationParameter.cs
- XmlUrlResolver.cs
- EncryptedXml.cs
- Crc32.cs
- EnumUnknown.cs
- DataGridView.cs
- EmptyControlCollection.cs
- MessageLoggingElement.cs
- RtfNavigator.cs
- ResourceSet.cs
- PeerCollaboration.cs
- CodeGroup.cs
- BaseTemplateBuildProvider.cs
- ModuleConfigurationInfo.cs
- GlobalItem.cs
- Path.cs
- SocketElement.cs
- CheckPair.cs
- StorageTypeMapping.cs
- FileDialog.cs
- FixedMaxHeap.cs
- TextDocumentView.cs
- SmtpDigestAuthenticationModule.cs
- DataGridViewCellStateChangedEventArgs.cs
- BackStopAuthenticationModule.cs
- Image.cs
- TextEditorCopyPaste.cs
- DocumentNUp.cs
- BindingObserver.cs
- XmlSchemaComplexContentRestriction.cs
- TextTrailingCharacterEllipsis.cs
- GradientBrush.cs
- UnregisterInfo.cs
- ISAPIApplicationHost.cs
- XmlAnyElementAttributes.cs
- BindToObject.cs
- RectAnimationClockResource.cs
- KeyValuePairs.cs
- bidPrivateBase.cs
- RequestContextBase.cs
- XmlName.cs
- _NtlmClient.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Viewport3DVisual.cs
- GeneralTransformGroup.cs
- CommunicationObject.cs