Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DLinq / Dlinq / SqlClient / Error.cs / 1 / Error.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; namespace System.Data.Linq.SqlClient { ////// DLinq-providerbase-specific custom exception factory. /// internal partial class Error { ////// Exception thrown when a query cannot execute against a particular SQL server version. /// static internal Exception ExpressionNotSupportedForSqlServerVersion(Collectionreasons) { StringBuilder exceptionMessage = new StringBuilder(Strings.CannotTranslateExpressionToSql); foreach (string reason in reasons) { exceptionMessage.AppendLine(reason); } return new NotSupportedException(exceptionMessage.ToString()); } } } // 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.Collections.ObjectModel; using System.Text; namespace System.Data.Linq.SqlClient { /// /// DLinq-providerbase-specific custom exception factory. /// internal partial class Error { ////// Exception thrown when a query cannot execute against a particular SQL server version. /// static internal Exception ExpressionNotSupportedForSqlServerVersion(Collectionreasons) { StringBuilder exceptionMessage = new StringBuilder(Strings.CannotTranslateExpressionToSql); foreach (string reason in reasons) { exceptionMessage.AppendLine(reason); } return new NotSupportedException(exceptionMessage.ToString()); } } } // 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
- ApplicationGesture.cs
- EventListenerClientSide.cs
- SafeNativeMethods.cs
- compensatingcollection.cs
- InternalCache.cs
- DataTableMapping.cs
- PictureBox.cs
- HttpListenerRequest.cs
- InternalPolicyElement.cs
- CounterCreationDataConverter.cs
- BooleanStorage.cs
- PartitionResolver.cs
- PackagingUtilities.cs
- DecoderExceptionFallback.cs
- HtmlAnchor.cs
- TransformProviderWrapper.cs
- Track.cs
- FontSource.cs
- WindowsStatic.cs
- BasePattern.cs
- ConnectionPoint.cs
- JsonWriter.cs
- ThousandthOfEmRealPoints.cs
- ComplexBindingPropertiesAttribute.cs
- SiteMapPath.cs
- ConfigurationStrings.cs
- NumberAction.cs
- MinMaxParagraphWidth.cs
- XmlSerializerAssemblyAttribute.cs
- Panel.cs
- ForceCopyBuildProvider.cs
- SafeRightsManagementSessionHandle.cs
- CodeTypeReferenceExpression.cs
- Argument.cs
- ObjRef.cs
- ToolStripRenderer.cs
- CaseInsensitiveOrdinalStringComparer.cs
- CompressStream.cs
- QueryParameter.cs
- RegionInfo.cs
- ReferencedCollectionType.cs
- EmptyCollection.cs
- EmptyEnumerable.cs
- HtmlForm.cs
- Helper.cs
- RectValueSerializer.cs
- KeyManager.cs
- HwndProxyElementProvider.cs
- FontUnit.cs
- FlowLayoutSettings.cs
- SimpleApplicationHost.cs
- RowUpdatedEventArgs.cs
- CreatingCookieEventArgs.cs
- SchemaEntity.cs
- ProjectionPath.cs
- EffectiveValueEntry.cs
- ProbeMatchesMessageCD1.cs
- ByteRangeDownloader.cs
- KeyNotFoundException.cs
- RelationshipDetailsCollection.cs
- NativeMethods.cs
- ArraySubsetEnumerator.cs
- COMException.cs
- remotingproxy.cs
- RootAction.cs
- AuthenticationSection.cs
- TextViewSelectionProcessor.cs
- RoutedUICommand.cs
- Rectangle.cs
- LinqDataSourceContextEventArgs.cs
- SafeSecurityHandles.cs
- NamespaceTable.cs
- ConfigurationValidatorAttribute.cs
- Matrix3D.cs
- PrincipalPermission.cs
- GB18030Encoding.cs
- MdiWindowListItemConverter.cs
- ObjectConverter.cs
- GenericRootAutomationPeer.cs
- AliasExpr.cs
- WorkflowMarkupSerializer.cs
- ResponseStream.cs
- IdentitySection.cs
- remotingproxy.cs
- ForceCopyBuildProvider.cs
- TypeBrowser.xaml.cs
- altserialization.cs
- BinaryFormatterWriter.cs
- TextEditorThreadLocalStore.cs
- FollowerQueueCreator.cs
- AppDomainAttributes.cs
- Nullable.cs
- StateDesigner.CommentLayoutGlyph.cs
- ControlValuePropertyAttribute.cs
- UriSection.cs
- UnionCodeGroup.cs
- ComponentGuaranteesAttribute.cs
- WaitHandleCannotBeOpenedException.cs
- mactripleDES.cs
- DocumentSchemaValidator.cs