Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DLinq / Dlinq / SqlClient / Common / SqlServer2KCompatibilityAnnotation.cs / 1 / 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
- TracingConnectionInitiator.cs
- TransformDescriptor.cs
- PolyBezierSegment.cs
- BaseCAMarshaler.cs
- IntPtr.cs
- COM2PropertyBuilderUITypeEditor.cs
- DataSourceCache.cs
- GACMembershipCondition.cs
- XmlUnspecifiedAttribute.cs
- DBSchemaTable.cs
- DictationGrammar.cs
- ZipArchive.cs
- NetTcpBindingCollectionElement.cs
- QilLiteral.cs
- ExpressionParser.cs
- XmlSerializableWriter.cs
- MasterPage.cs
- DesigntimeLicenseContext.cs
- NamedPermissionSet.cs
- TranslateTransform3D.cs
- FormClosedEvent.cs
- StreamGeometry.cs
- CodeIdentifier.cs
- GifBitmapEncoder.cs
- ContentIterators.cs
- Int32Converter.cs
- RegionIterator.cs
- Form.cs
- XmlFormatExtensionAttribute.cs
- DefaultValueMapping.cs
- BamlCollectionHolder.cs
- WorkflowDefinitionDispenser.cs
- ResourceManagerWrapper.cs
- BoundsDrawingContextWalker.cs
- ProviderSettingsCollection.cs
- SweepDirectionValidation.cs
- PropVariant.cs
- CodeDirectiveCollection.cs
- FormViewUpdatedEventArgs.cs
- AppDomain.cs
- DoubleKeyFrameCollection.cs
- SubpageParaClient.cs
- BuildProviderCollection.cs
- TableColumn.cs
- EventProviderWriter.cs
- ResolvedKeyFrameEntry.cs
- TcpClientChannel.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- DispatcherTimer.cs
- AuthenticatedStream.cs
- ClientFormsAuthenticationMembershipProvider.cs
- ExtensionWindowResizeGrip.cs
- DatagridviewDisplayedBandsData.cs
- InputLanguage.cs
- TemplateBaseAction.cs
- TextViewSelectionProcessor.cs
- TransactionBridgeSection.cs
- SecurityDescriptor.cs
- GenericIdentity.cs
- DigitalSignatureProvider.cs
- TdsParser.cs
- FatalException.cs
- MatchingStyle.cs
- BezierSegment.cs
- Int16AnimationBase.cs
- OrderedDictionary.cs
- Oid.cs
- ToolTipAutomationPeer.cs
- AssociationType.cs
- SecurityProtocolFactory.cs
- ItemContainerPattern.cs
- ConnectionsZone.cs
- _HelperAsyncResults.cs
- InputLanguageManager.cs
- ZeroOpNode.cs
- SelectorAutomationPeer.cs
- ProcessModelInfo.cs
- WebPartUtil.cs
- XamlUtilities.cs
- WebEncodingValidator.cs
- DateTimeHelper.cs
- SQLDateTime.cs
- CodeTypeReferenceCollection.cs
- RowUpdatedEventArgs.cs
- SafeBitVector32.cs
- PeerApplicationLaunchInfo.cs
- SchemeSettingElement.cs
- WindowsTokenRoleProvider.cs
- ViewBase.cs
- DrawingAttributeSerializer.cs
- ContentPropertyAttribute.cs
- MetadataProperty.cs
- XmlWrappingWriter.cs
- TemplateInstanceAttribute.cs
- ModifierKeysConverter.cs
- CodeAttributeDeclarationCollection.cs
- PeerTransportElement.cs
- isolationinterop.cs
- TransportElement.cs
- CharAnimationBase.cs