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
- Codec.cs
- DataViewManagerListItemTypeDescriptor.cs
- Bold.cs
- ProcessHostFactoryHelper.cs
- Triangle.cs
- XpsViewerException.cs
- CompositeControl.cs
- UDPClient.cs
- DrawToolTipEventArgs.cs
- BaseCollection.cs
- AlternateViewCollection.cs
- GridToolTip.cs
- DetailsViewInsertEventArgs.cs
- ManipulationDelta.cs
- CallInfo.cs
- Automation.cs
- ReflectPropertyDescriptor.cs
- ParserExtension.cs
- CryptoApi.cs
- SmtpMail.cs
- CodeMemberProperty.cs
- ExpressionBuilder.cs
- EntityContainer.cs
- ButtonDesigner.cs
- UIInitializationException.cs
- ListBindingConverter.cs
- TextEndOfLine.cs
- HeaderedItemsControl.cs
- OdbcConnectionPoolProviderInfo.cs
- CompiledQueryCacheEntry.cs
- DataSourceDesigner.cs
- SchemeSettingElement.cs
- GenericNameHandler.cs
- PriorityQueue.cs
- RegistrySecurity.cs
- DocumentApplication.cs
- TimelineClockCollection.cs
- BCryptHashAlgorithm.cs
- BindingCompleteEventArgs.cs
- ArgumentException.cs
- PageAsyncTaskManager.cs
- Item.cs
- DatePickerDateValidationErrorEventArgs.cs
- StylusPlugInCollection.cs
- AnnotationResourceChangedEventArgs.cs
- GeneralTransformCollection.cs
- UnmanagedMemoryStream.cs
- PrintPreviewGraphics.cs
- StrongNameKeyPair.cs
- BCryptNative.cs
- HttpRuntime.cs
- PropertyEmitterBase.cs
- Event.cs
- RuleProcessor.cs
- XmlSchemas.cs
- LockedBorderGlyph.cs
- TextCompositionEventArgs.cs
- HtmlProps.cs
- cache.cs
- KeyValuePairs.cs
- FileSystemWatcher.cs
- MonthCalendarDesigner.cs
- CellConstant.cs
- DiagnosticTraceSource.cs
- WindowsListViewGroup.cs
- XmlLinkedNode.cs
- UidManager.cs
- LocalizabilityAttribute.cs
- ObjectListComponentEditor.cs
- CheckBox.cs
- ColorBlend.cs
- Listbox.cs
- ComponentCommands.cs
- XmlAnyElementAttributes.cs
- EncryptedKeyIdentifierClause.cs
- PolygonHotSpot.cs
- AccessText.cs
- XmlEntity.cs
- ObjectDataSourceWizardForm.cs
- PropertyPushdownHelper.cs
- QilInvoke.cs
- TCPListener.cs
- ControlDesigner.cs
- ObjectDataSourceMethodEventArgs.cs
- ParseNumbers.cs
- ClockGroup.cs
- ListItemConverter.cs
- BrowserCapabilitiesFactoryBase.cs
- DataPagerField.cs
- MemberProjectedSlot.cs
- TypeNameConverter.cs
- base64Transforms.cs
- TextElementEnumerator.cs
- DtrList.cs
- WebPartManagerInternals.cs
- ClusterSafeNativeMethods.cs
- WSDualHttpSecurityElement.cs
- SiteMapNodeCollection.cs
- DataPagerFieldCommandEventArgs.cs
- IEnumerable.cs