Code:
/ 4.0 / 4.0 / 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. 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
- RoutedEventValueSerializer.cs
- CompositeScriptReference.cs
- TemplatePropertyEntry.cs
- FixedSOMImage.cs
- SafeViewOfFileHandle.cs
- ControlEvent.cs
- PeerUnsafeNativeMethods.cs
- DesignerForm.cs
- ClonableStack.cs
- MouseOverProperty.cs
- ZipPackagePart.cs
- StatusBar.cs
- ArrangedElement.cs
- VisualTreeHelper.cs
- BindableAttribute.cs
- EntityDesignerBuildProvider.cs
- PropertyDescriptorGridEntry.cs
- DataGridViewRow.cs
- EndpointNameMessageFilter.cs
- SpecialNameAttribute.cs
- PerformanceCounterCategory.cs
- StorageMappingItemLoader.cs
- ByteAnimation.cs
- BatchParser.cs
- SamlAuthorityBinding.cs
- CriticalExceptions.cs
- Error.cs
- LineMetrics.cs
- listitem.cs
- XmlSchemaGroupRef.cs
- ListItemConverter.cs
- PathParser.cs
- VirtualPathProvider.cs
- _AuthenticationState.cs
- Column.cs
- Descriptor.cs
- DetailsViewDeleteEventArgs.cs
- ToolStripContentPanel.cs
- FileDialogCustomPlace.cs
- MeshGeometry3D.cs
- OutputCacheSettingsSection.cs
- QilName.cs
- WebPartUserCapability.cs
- TreeNodeBindingDepthConverter.cs
- LayoutDump.cs
- NavigationWindow.cs
- Error.cs
- GridViewPageEventArgs.cs
- LinkedResourceCollection.cs
- IndexingContentUnit.cs
- Point4D.cs
- mda.cs
- RegexBoyerMoore.cs
- SQLString.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- BounceEase.cs
- ContourSegment.cs
- PromptBuilder.cs
- FlowDocumentScrollViewer.cs
- Attribute.cs
- LowerCaseStringConverter.cs
- DataSourceProvider.cs
- SectionVisual.cs
- ListMarkerSourceInfo.cs
- Dump.cs
- XPathParser.cs
- XmlAnyElementAttributes.cs
- LayoutInformation.cs
- WinCategoryAttribute.cs
- AssemblyAttributesGoHere.cs
- TypeSystemProvider.cs
- FrameworkElementFactory.cs
- DoubleLinkListEnumerator.cs
- TextUtf8RawTextWriter.cs
- LinqDataSourceDeleteEventArgs.cs
- OlePropertyStructs.cs
- BindMarkupExtensionSerializer.cs
- LinqDataSourceInsertEventArgs.cs
- SafeNativeMethods.cs
- Ref.cs
- TargetPerspective.cs
- WSDualHttpBindingElement.cs
- DbParameterCollection.cs
- _CacheStreams.cs
- Operators.cs
- WebPartConnectVerb.cs
- SerialPort.cs
- ItemsPanelTemplate.cs
- DesignColumn.cs
- Pkcs7Signer.cs
- ConfigurationStrings.cs
- ResourceFallbackManager.cs
- CryptoKeySecurity.cs
- TextDecoration.cs
- Ports.cs
- CopyCodeAction.cs
- ContentFileHelper.cs
- AppSecurityManager.cs
- Int64Animation.cs
- FilterQuery.cs