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
- OleDbConnection.cs
- MailAddress.cs
- TaskFileService.cs
- FileVersionInfo.cs
- BitmapVisualManager.cs
- PhysicalAddress.cs
- MLangCodePageEncoding.cs
- tooltip.cs
- DemultiplexingClientMessageFormatter.cs
- ResourcesGenerator.cs
- ComponentChangingEvent.cs
- CrossContextChannel.cs
- Debug.cs
- IChannel.cs
- RowUpdatedEventArgs.cs
- NetCodeGroup.cs
- TransformCollection.cs
- MetadataFile.cs
- HwndAppCommandInputProvider.cs
- MemoryMappedView.cs
- Errors.cs
- SQlBooleanStorage.cs
- SqlServices.cs
- BulletedListEventArgs.cs
- PolicyException.cs
- SendMessageContent.cs
- ExtentCqlBlock.cs
- SqlBuilder.cs
- ChooseAction.cs
- OpenTypeCommon.cs
- BasicExpressionVisitor.cs
- updateconfighost.cs
- OleDbSchemaGuid.cs
- NoneExcludedImageIndexConverter.cs
- XmlWrappingReader.cs
- ServiceBuildProvider.cs
- DocumentViewerAutomationPeer.cs
- SystemThemeKey.cs
- PropertyGridDesigner.cs
- OracleDataReader.cs
- GB18030Encoding.cs
- KeyProperty.cs
- LongValidatorAttribute.cs
- SmiEventSink_Default.cs
- ExceptionNotification.cs
- MenuAutoFormat.cs
- WebPartTransformerCollection.cs
- ConfigurationValue.cs
- IndexedGlyphRun.cs
- HostProtectionPermission.cs
- XmlLanguage.cs
- HatchBrush.cs
- OutputScopeManager.cs
- DataGridItemAttachedStorage.cs
- IconConverter.cs
- CodeDirectionExpression.cs
- ObjectDisposedException.cs
- TableLayoutStyleCollection.cs
- DXD.cs
- InternalControlCollection.cs
- WorkflowApplication.cs
- RowType.cs
- TdsParserStateObject.cs
- GeneralTransform.cs
- VisualStateChangedEventArgs.cs
- PtsCache.cs
- ValueUnavailableException.cs
- ThreadStateException.cs
- ValidationHelpers.cs
- PermissionSet.cs
- Module.cs
- MouseActionValueSerializer.cs
- _HelperAsyncResults.cs
- ChangeInterceptorAttribute.cs
- SqlFunctionAttribute.cs
- Cursors.cs
- UpdateCommand.cs
- RegexCharClass.cs
- CurrentTimeZone.cs
- TableHeaderCell.cs
- InteropTrackingRecord.cs
- DataGridViewCellLinkedList.cs
- XmlDictionaryString.cs
- EncodingNLS.cs
- DecoratedNameAttribute.cs
- Bitmap.cs
- LightweightEntityWrapper.cs
- TransportContext.cs
- CodeArrayIndexerExpression.cs
- URLMembershipCondition.cs
- CodeTypeDelegate.cs
- XmlILConstructAnalyzer.cs
- BoundsDrawingContextWalker.cs
- EventsTab.cs
- OperatorExpressions.cs
- WeakReadOnlyCollection.cs
- TextDecorationLocationValidation.cs
- LassoSelectionBehavior.cs
- NetPeerTcpBinding.cs
- AsymmetricKeyExchangeDeformatter.cs