Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DLinq / Dlinq / SqlClient / Common / SqlServer2KCompatibilityAnnotation.cs / 1305376 / SqlServer2KCompatibilityAnnotation.cs
using System; using System.Collections.Generic; using System.Text; namespace System.Data.Linq.SqlClient { ////// Annotation which indicates that the given node will cause a compatibility problem /// for the indicated set of providers. /// internal class SqlServerCompatibilityAnnotation : SqlNodeAnnotation { SqlProvider.ProviderMode[] providers; ////// Constructor /// /// The compatibility message. /// The set of providers this compatibility issue applies to. internal SqlServerCompatibilityAnnotation(string message, params SqlProvider.ProviderMode[] providers) : base(message) { this.providers = providers; } ////// Returns true if this annotation applies to the specified provider. /// internal bool AppliesTo(SqlProvider.ProviderMode provider) { foreach (SqlProvider.ProviderMode p in providers) { if (p == provider) { return true; } } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MobileUserControlDesigner.cs
- ChannelCacheDefaults.cs
- TreeIterator.cs
- TripleDES.cs
- SslStream.cs
- ImplicitInputBrush.cs
- StringConcat.cs
- Int16Converter.cs
- TextClipboardData.cs
- StrokeCollection.cs
- compensatingcollection.cs
- OledbConnectionStringbuilder.cs
- ADConnectionHelper.cs
- ValidatingPropertiesEventArgs.cs
- InsufficientMemoryException.cs
- StyleXamlParser.cs
- Native.cs
- ExceptionDetail.cs
- FormViewRow.cs
- _LazyAsyncResult.cs
- SqlInfoMessageEvent.cs
- SoapFault.cs
- CqlLexer.cs
- InvalidEnumArgumentException.cs
- VScrollProperties.cs
- SevenBitStream.cs
- MissingManifestResourceException.cs
- NavigationWindowAutomationPeer.cs
- ConstNode.cs
- ConstructorBuilder.cs
- wmiprovider.cs
- ConnectionManagementSection.cs
- DebugHandleTracker.cs
- PropertyValueChangedEvent.cs
- SafeSecurityHandles.cs
- ControlDesigner.cs
- MimeObjectFactory.cs
- EditorZoneBase.cs
- AspNetRouteServiceHttpHandler.cs
- ToolStripItem.cs
- ExpandButtonVisibilityConverter.cs
- Int16KeyFrameCollection.cs
- Line.cs
- FtpCachePolicyElement.cs
- WebExceptionStatus.cs
- MetadataWorkspace.cs
- SqlGenericUtil.cs
- ArrayList.cs
- BitmapPalettes.cs
- ObjectDesignerDataSourceView.cs
- SchemaMerger.cs
- MbpInfo.cs
- Property.cs
- HttpContext.cs
- TypeValidationEventArgs.cs
- ValidateNames.cs
- CommonObjectSecurity.cs
- SecondaryIndexList.cs
- EntityContainer.cs
- PrintControllerWithStatusDialog.cs
- Line.cs
- _ShellExpression.cs
- DataGridItemCollection.cs
- Thumb.cs
- LayoutTableCell.cs
- PrivilegeNotHeldException.cs
- ButtonAutomationPeer.cs
- InvalidDataException.cs
- ChangePassword.cs
- RewritingPass.cs
- WebRequestModuleElementCollection.cs
- ModelItemCollection.cs
- DataGridViewCellLinkedList.cs
- WebBrowserDocumentCompletedEventHandler.cs
- SwitchCase.cs
- SoapEnumAttribute.cs
- Point3DKeyFrameCollection.cs
- CompressionTransform.cs
- XmlSchemaSimpleContentExtension.cs
- Timer.cs
- OneOfConst.cs
- ButtonFlatAdapter.cs
- BroadcastEventHelper.cs
- AlternateView.cs
- filewebresponse.cs
- NullableIntAverageAggregationOperator.cs
- Annotation.cs
- MailWriter.cs
- DataGridViewColumnEventArgs.cs
- DataPagerCommandEventArgs.cs
- BitmapEffectGeneralTransform.cs
- OuterGlowBitmapEffect.cs
- FileVersion.cs
- EntityContainerEmitter.cs
- FactoryGenerator.cs
- CodeSubDirectory.cs
- PolyQuadraticBezierSegment.cs
- CompilerParameters.cs
- QuaternionAnimationBase.cs
- X509UI.cs