Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DLinq / Dlinq / SqlClient / Error.cs / 1305376 / 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
- SessionState.cs
- SafeWaitHandle.cs
- DriveNotFoundException.cs
- ProcessHostServerConfig.cs
- ProcessHostMapPath.cs
- GeneralTransform2DTo3D.cs
- SafeReversePInvokeHandle.cs
- ScriptControlDescriptor.cs
- XmlLangPropertyAttribute.cs
- UnionCqlBlock.cs
- SQLDouble.cs
- ErrorHandler.cs
- SqlClientFactory.cs
- AnnotationElement.cs
- MenuItem.cs
- JoinElimination.cs
- ConnectionManagementSection.cs
- TextTrailingWordEllipsis.cs
- EntityDataSource.cs
- TypeInitializationException.cs
- GroupBox.cs
- PackWebResponse.cs
- HGlobalSafeHandle.cs
- CompensableActivity.cs
- TreeIterators.cs
- InvokePatternIdentifiers.cs
- CLSCompliantAttribute.cs
- MultiTrigger.cs
- PolyQuadraticBezierSegment.cs
- PointKeyFrameCollection.cs
- PropertyRecord.cs
- Script.cs
- ChangesetResponse.cs
- XmlSchemaGroup.cs
- InputLanguageSource.cs
- XPathDocumentBuilder.cs
- XmlObjectSerializerReadContextComplexJson.cs
- SrgsElementFactory.cs
- BaseAutoFormat.cs
- DataMember.cs
- DataServiceKeyAttribute.cs
- Point4DValueSerializer.cs
- MouseOverProperty.cs
- DateTimeValueSerializer.cs
- RoleService.cs
- MenuItemStyleCollection.cs
- WsdlEndpointConversionContext.cs
- CuspData.cs
- DisplayToken.cs
- MinimizableAttributeTypeConverter.cs
- DataGridViewAdvancedBorderStyle.cs
- AsymmetricAlgorithm.cs
- Viewport3DAutomationPeer.cs
- InboundActivityHelper.cs
- FolderBrowserDialog.cs
- DataGridViewLayoutData.cs
- BindingEditor.xaml.cs
- PlanCompiler.cs
- ListControlConvertEventArgs.cs
- Column.cs
- smtppermission.cs
- Event.cs
- ArithmeticException.cs
- ObjectConverter.cs
- BaseProcessor.cs
- BinaryObjectReader.cs
- DeploymentExceptionMapper.cs
- LinqDataSourceSelectEventArgs.cs
- UnsafeNativeMethods.cs
- Message.cs
- DataMisalignedException.cs
- mediapermission.cs
- ReturnEventArgs.cs
- Int64AnimationBase.cs
- StyleReferenceConverter.cs
- TextEffectResolver.cs
- MultipleViewProviderWrapper.cs
- CurrentChangingEventManager.cs
- GraphicsState.cs
- KoreanCalendar.cs
- XmlReaderSettings.cs
- NetworkCredential.cs
- ValueUnavailableException.cs
- AccessViolationException.cs
- GetPageNumberCompletedEventArgs.cs
- DataGridViewDataConnection.cs
- DesignSurface.cs
- ColorAnimation.cs
- SafeFileMappingHandle.cs
- SafeReadContext.cs
- Error.cs
- DataTableTypeConverter.cs
- ColorKeyFrameCollection.cs
- AggregationMinMaxHelpers.cs
- MenuAdapter.cs
- TableAutomationPeer.cs
- keycontainerpermission.cs
- GridSplitter.cs
- SessionIDManager.cs
- EventLogException.cs