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
- WebPartCatalogAddVerb.cs
- OleDbRowUpdatingEvent.cs
- GridViewHeaderRowPresenter.cs
- EventLogTraceListener.cs
- BaseParagraph.cs
- DataGridViewCellMouseEventArgs.cs
- FileNotFoundException.cs
- TextEditorThreadLocalStore.cs
- EntityDataSourceQueryBuilder.cs
- HwndSourceParameters.cs
- SessionState.cs
- FixedElement.cs
- HttpValueCollection.cs
- OleDbParameter.cs
- InkCanvasFeedbackAdorner.cs
- ItemsPresenter.cs
- MetadataItemSerializer.cs
- TextTreeInsertUndoUnit.cs
- XPathExpr.cs
- FileIOPermission.cs
- ArrayHelper.cs
- FilteredDataSetHelper.cs
- SettingsBindableAttribute.cs
- TemplatedWizardStep.cs
- Ops.cs
- ProcessModelSection.cs
- VirtualizedItemProviderWrapper.cs
- COM2PictureConverter.cs
- FreezableOperations.cs
- CodePropertyReferenceExpression.cs
- ZipIOFileItemStream.cs
- CancelEventArgs.cs
- SByteStorage.cs
- IISMapPath.cs
- NumberFunctions.cs
- WebPartConnectionsEventArgs.cs
- AsyncOperationManager.cs
- DisplayMemberTemplateSelector.cs
- CriticalExceptions.cs
- IgnoreFlushAndCloseStream.cs
- PasswordRecovery.cs
- ObjectDataSource.cs
- RuleSettings.cs
- RegexCapture.cs
- MatcherBuilder.cs
- ComponentCollection.cs
- LoginStatusDesigner.cs
- precedingquery.cs
- NetStream.cs
- ServiceProviders.cs
- FixedSOMPage.cs
- PersonalizablePropertyEntry.cs
- LateBoundBitmapDecoder.cs
- SafeProcessHandle.cs
- sqlser.cs
- FormCollection.cs
- ListBoxChrome.cs
- SchemaImporterExtensionElementCollection.cs
- DocumentViewerBaseAutomationPeer.cs
- TreeView.cs
- XmlDataSource.cs
- MachineKeySection.cs
- Label.cs
- SkinBuilder.cs
- FunctionNode.cs
- WebPartZoneBase.cs
- TextOnlyOutput.cs
- DefaultClaimSet.cs
- DynamicQueryableWrapper.cs
- HighContrastHelper.cs
- DataGridViewColumnCollectionDialog.cs
- Automation.cs
- ModelItem.cs
- PropertyDescriptorComparer.cs
- ObjectDataSourceDesigner.cs
- ItemContainerGenerator.cs
- SecurityTokenProvider.cs
- SelectionListComponentEditor.cs
- ColorPalette.cs
- PointLightBase.cs
- RadialGradientBrush.cs
- PolyBezierSegment.cs
- ConstNode.cs
- ContentIterators.cs
- ViewgenGatekeeper.cs
- SelectedDatesCollection.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- NumberSubstitution.cs
- IntSecurity.cs
- StylusPlugInCollection.cs
- DescendantQuery.cs
- SystemWebCachingSectionGroup.cs
- Substitution.cs
- SaveFileDialog.cs
- SiteMapDataSource.cs
- CallbackHandler.cs
- CriticalExceptions.cs
- SessionEndingCancelEventArgs.cs
- MetaType.cs
- ApplicationServiceHelper.cs