Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- AdPostCacheSubstitution.cs
- SimpleHandlerBuildProvider.cs
- TextServicesDisplayAttribute.cs
- RegexWriter.cs
- XPathNavigatorKeyComparer.cs
- Condition.cs
- coordinatorscratchpad.cs
- complextypematerializer.cs
- Page.cs
- TableStyle.cs
- TypeCacheManager.cs
- OleDbParameter.cs
- BindingList.cs
- WpfGeneratedKnownProperties.cs
- NewArrayExpression.cs
- PackageRelationshipCollection.cs
- Axis.cs
- EdmFunction.cs
- PointAnimationUsingKeyFrames.cs
- RelationshipManager.cs
- WebPermission.cs
- XamlLoadErrorInfo.cs
- TextEditorSpelling.cs
- ThreadExceptionEvent.cs
- RSAPKCS1SignatureFormatter.cs
- TemplatedMailWebEventProvider.cs
- DataServiceQueryOfT.cs
- SqlDataSourceFilteringEventArgs.cs
- PerformanceCounterLib.cs
- GroupByQueryOperator.cs
- ParameterCollection.cs
- TypeConstant.cs
- WebHttpSecurity.cs
- MasterPage.cs
- SchemaDeclBase.cs
- CacheSection.cs
- UTF32Encoding.cs
- ProcessThreadCollection.cs
- CapabilitiesUse.cs
- DataGridViewControlCollection.cs
- ResourceDescriptionAttribute.cs
- LoginUtil.cs
- TraceHelpers.cs
- DictionaryContent.cs
- SBCSCodePageEncoding.cs
- CheckPair.cs
- DataGridViewCellCancelEventArgs.cs
- DecodeHelper.cs
- XmlSchemaAnyAttribute.cs
- HelpKeywordAttribute.cs
- XmlEncoding.cs
- ADMembershipProvider.cs
- LinqDataSource.cs
- SequenceDesigner.cs
- DecimalKeyFrameCollection.cs
- SimpleTextLine.cs
- OleAutBinder.cs
- _CookieModule.cs
- DocumentViewerAutomationPeer.cs
- MembershipSection.cs
- panel.cs
- UserCancellationException.cs
- EndpointIdentityExtension.cs
- XmlDocument.cs
- ExchangeUtilities.cs
- Membership.cs
- SQLInt32Storage.cs
- CaseInsensitiveComparer.cs
- ToolboxItemCollection.cs
- PageSettings.cs
- UInt16.cs
- CheckBoxDesigner.cs
- IItemContainerGenerator.cs
- RightsDocument.cs
- ThreadExceptionEvent.cs
- COM2PropertyDescriptor.cs
- SQLSingleStorage.cs
- FormViewUpdateEventArgs.cs
- Iis7Helper.cs
- DBSchemaRow.cs
- TreeViewItem.cs
- WebPartDisplayMode.cs
- OdbcEnvironment.cs
- LineServices.cs
- DataServiceBehavior.cs
- EventTrigger.cs
- DtdParser.cs
- SourceSwitch.cs
- DataList.cs
- AuthenticateEventArgs.cs
- ListView.cs
- StylusSystemGestureEventArgs.cs
- QueueException.cs
- HtmlInputControl.cs
- Trustee.cs
- XsltFunctions.cs
- ViewEvent.cs
- GeometryConverter.cs
- DataContractSerializerOperationGenerator.cs
- Identifier.cs