Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- DataReceivedEventArgs.cs
- LocatorBase.cs
- SafeArchiveContext.cs
- StickyNote.cs
- LinkLabelLinkClickedEvent.cs
- AttachedPropertyBrowsableAttribute.cs
- TreeViewEvent.cs
- OleDbStruct.cs
- Schema.cs
- TreeNodeStyle.cs
- __FastResourceComparer.cs
- DataTableClearEvent.cs
- ExpressionNode.cs
- StatusBar.cs
- GregorianCalendarHelper.cs
- PeerTransportListenAddressValidator.cs
- PackageDigitalSignatureManager.cs
- DependencySource.cs
- DayRenderEvent.cs
- MetafileHeaderWmf.cs
- CodeAccessPermission.cs
- KeyEvent.cs
- WindowsListViewItem.cs
- FrameworkElementFactoryMarkupObject.cs
- RepeatButtonAutomationPeer.cs
- AssemblyGen.cs
- IxmlLineInfo.cs
- EventBuilder.cs
- SqlTypeConverter.cs
- ManagementObjectCollection.cs
- ModelPropertyDescriptor.cs
- Label.cs
- ObjectStateManagerMetadata.cs
- SystemMulticastIPAddressInformation.cs
- TextServicesHost.cs
- FutureFactory.cs
- XmlSerializationWriter.cs
- CustomTypeDescriptor.cs
- HtmlShim.cs
- XmlSchemaIdentityConstraint.cs
- XPathChildIterator.cs
- OutputScopeManager.cs
- EffectiveValueEntry.cs
- Deflater.cs
- ToolStripItemBehavior.cs
- DeobfuscatingStream.cs
- DataSourceIDConverter.cs
- PerfCounters.cs
- FieldBuilder.cs
- SetState.cs
- Cursor.cs
- PageThemeBuildProvider.cs
- CompiledQuery.cs
- XmlQueryRuntime.cs
- HashCodeCombiner.cs
- XmlAnyElementAttributes.cs
- DesignerVerb.cs
- HttpContext.cs
- SamlAuthenticationClaimResource.cs
- HtmlTextArea.cs
- SqlBuilder.cs
- Queue.cs
- OlePropertyStructs.cs
- cookie.cs
- DataBoundControlHelper.cs
- DbParameterCollectionHelper.cs
- ForceCopyBuildProvider.cs
- ValidationPropertyAttribute.cs
- SchemaContext.cs
- SoapInteropTypes.cs
- RunInstallerAttribute.cs
- shaperfactory.cs
- TextParaClient.cs
- InternalDuplexChannelListener.cs
- _NTAuthentication.cs
- MatrixAnimationUsingPath.cs
- DataRowExtensions.cs
- ReferentialConstraint.cs
- ClientData.cs
- BitmapMetadataEnumerator.cs
- GeometryHitTestParameters.cs
- UnsafeCollabNativeMethods.cs
- TraceUtility.cs
- BevelBitmapEffect.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- MimeFormatExtensions.cs
- CellConstantDomain.cs
- CompositeKey.cs
- ColumnWidthChangedEvent.cs
- Visual3D.cs
- ClientBuildManagerCallback.cs
- BufferModesCollection.cs
- ToolboxItem.cs
- CultureTable.cs
- ConnectionManagementElementCollection.cs
- TiffBitmapDecoder.cs
- OrderToken.cs
- WindowsIPAddress.cs
- ValueProviderWrapper.cs
- ItemList.cs