Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DLinq / Dlinq / SqlClient / Common / Expressions.cs / 1305376 / Expressions.cs
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq.Expressions; using System.Linq; using System.Reflection; using System.Text; using System.Data.Linq; namespace System.Data.Linq.SqlClient { // SQL Client extensions to ExpressionType internal enum InternalExpressionType { Known = 2000, LinkedTable = 2001 } abstract internal class InternalExpression : Expression { #pragma warning disable 618 // Disable the 'obsolete' warning. internal InternalExpression(InternalExpressionType nt, Type type) : base ((ExpressionType)nt, type) { } #pragma warning restore 618 internal static KnownExpression Known(SqlExpression expr) { return new KnownExpression(expr, expr.ClrType); } internal static KnownExpression Known(SqlNode node, Type type) { return new KnownExpression(node, type); } } internal sealed class KnownExpression : InternalExpression { SqlNode node; internal KnownExpression(SqlNode node, Type type) : base(InternalExpressionType.Known, type) { this.node = node; } internal SqlNode Node { get { return this.node; } } } internal sealed class LinkedTableExpression : InternalExpression { private SqlLink link; private ITable table; internal LinkedTableExpression(SqlLink link, ITable table, Type type) : base(InternalExpressionType.LinkedTable, type) { this.link = link; this.table = table; } internal SqlLink Link { get {return this.link;} } internal ITable Table { get {return this.table;} } } } // 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
- JavaScriptObjectDeserializer.cs
- StaticSiteMapProvider.cs
- SqlServices.cs
- EpmSyndicationContentSerializer.cs
- AtomContentProperty.cs
- PermissionSet.cs
- DataGridColumn.cs
- SmiTypedGetterSetter.cs
- SmiRequestExecutor.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- AssemblyResourceLoader.cs
- ActivityPreviewDesigner.cs
- BinaryOperationBinder.cs
- Point3DAnimationUsingKeyFrames.cs
- DocumentGridPage.cs
- PeerChannelFactory.cs
- RegionIterator.cs
- ApplicationFileParser.cs
- ExecutionContext.cs
- ProcessProtocolHandler.cs
- TextDecorationLocationValidation.cs
- CodeConstructor.cs
- Convert.cs
- EmptyQuery.cs
- SafeFileMapViewHandle.cs
- DataBoundControlAdapter.cs
- CompilerInfo.cs
- XmlHierarchicalEnumerable.cs
- ServiceThrottle.cs
- uribuilder.cs
- ListParaClient.cs
- MultipartIdentifier.cs
- WebPartHeaderCloseVerb.cs
- ConnectionsZone.cs
- PluralizationService.cs
- BindingBase.cs
- MetabaseServerConfig.cs
- GridToolTip.cs
- DesignerTransaction.cs
- FormatterServicesNoSerializableCheck.cs
- GridViewPageEventArgs.cs
- XmlTextReader.cs
- userdatakeys.cs
- HScrollBar.cs
- EpmSyndicationContentSerializer.cs
- CompressedStack.cs
- XmlBaseReader.cs
- Module.cs
- StyleXamlTreeBuilder.cs
- XPathSelectionIterator.cs
- HttpInputStream.cs
- LongCountAggregationOperator.cs
- RunWorkerCompletedEventArgs.cs
- WebConfigurationFileMap.cs
- DataSetMappper.cs
- WaitHandle.cs
- PowerModeChangedEventArgs.cs
- ChangeProcessor.cs
- CodeTypeParameter.cs
- XmlWrappingReader.cs
- PublisherIdentityPermission.cs
- LinkUtilities.cs
- DataGridHeaderBorder.cs
- AppModelKnownContentFactory.cs
- DocumentsTrace.cs
- COAUTHINFO.cs
- AssemblyNameProxy.cs
- RepeaterItem.cs
- PagePropertiesChangingEventArgs.cs
- ComplexObject.cs
- StringPropertyBuilder.cs
- ByteRangeDownloader.cs
- XpsS0ValidatingLoader.cs
- DetailsViewInsertEventArgs.cs
- EntityWithChangeTrackerStrategy.cs
- CursorConverter.cs
- NameValueFileSectionHandler.cs
- XmlSchema.cs
- ActivityDesignerHelper.cs
- SamlDelegatingWriter.cs
- DataTableCollection.cs
- ToolStripLabel.cs
- HandlerMappingMemo.cs
- Globals.cs
- MessageSmuggler.cs
- XmlUtil.cs
- InfoCardProofToken.cs
- ClusterRegistryConfigurationProvider.cs
- VBIdentifierDesigner.xaml.cs
- OledbConnectionStringbuilder.cs
- HttpCacheVaryByContentEncodings.cs
- SynchronizedInputProviderWrapper.cs
- QilFunction.cs
- CheckBoxPopupAdapter.cs
- RawKeyboardInputReport.cs
- ConfigsHelper.cs
- _SslStream.cs
- WsatAdminException.cs
- OdbcDataReader.cs
- SourceItem.cs