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
- UpdateManifestForBrowserApplication.cs
- HierarchicalDataTemplate.cs
- LicenseException.cs
- SchemaInfo.cs
- PageParser.cs
- HtmlImage.cs
- BooleanFunctions.cs
- TemplateNameScope.cs
- HttpCookieCollection.cs
- BinaryWriter.cs
- XmlSecureResolver.cs
- XPathMultyIterator.cs
- GridToolTip.cs
- MetadataItemCollectionFactory.cs
- SeekStoryboard.cs
- ErrorsHelper.cs
- QilReplaceVisitor.cs
- PassportAuthenticationModule.cs
- Monitor.cs
- ManagementBaseObject.cs
- DesignerView.cs
- EditorPartChrome.cs
- TextFormatterContext.cs
- KeyInstance.cs
- UserNamePasswordValidator.cs
- ContentPresenter.cs
- NumericUpDownAccelerationCollection.cs
- TextDecorationCollection.cs
- IndentTextWriter.cs
- UnsafeNativeMethods.cs
- Cursor.cs
- BuildManagerHost.cs
- Currency.cs
- CursorEditor.cs
- DataGridCaption.cs
- InvalidComObjectException.cs
- BindingCollection.cs
- XmlILModule.cs
- TypeUtil.cs
- PageBuildProvider.cs
- UIElementAutomationPeer.cs
- UndoEngine.cs
- XamlVector3DCollectionSerializer.cs
- PathFigureCollectionValueSerializer.cs
- LogConverter.cs
- AggregateNode.cs
- _SafeNetHandles.cs
- View.cs
- PolyBezierSegment.cs
- DataObject.cs
- OletxResourceManager.cs
- SoapAttributeAttribute.cs
- DesignerUtility.cs
- OdbcStatementHandle.cs
- UiaCoreApi.cs
- ProcessManager.cs
- HttpRequest.cs
- ScriptingWebServicesSectionGroup.cs
- SqlUtil.cs
- SiteOfOriginPart.cs
- MsmqTransportSecurityElement.cs
- KeyGestureValueSerializer.cs
- XmlSchemaValidator.cs
- MetabaseServerConfig.cs
- SlotInfo.cs
- WebPartConnectionsConfigureVerb.cs
- MailMessageEventArgs.cs
- AuthenticateEventArgs.cs
- DefaultSection.cs
- UnionCqlBlock.cs
- SqlGenericUtil.cs
- SqlDataSourceRefreshSchemaForm.cs
- BuildProviderCollection.cs
- SqlInternalConnectionSmi.cs
- LogSwitch.cs
- sqlinternaltransaction.cs
- GeometryGroup.cs
- DataGridViewAccessibleObject.cs
- Operand.cs
- DataServiceRequestException.cs
- ListSortDescriptionCollection.cs
- WebBrowserDocumentCompletedEventHandler.cs
- HtmlWindowCollection.cs
- GlyphRunDrawing.cs
- FontWeight.cs
- Attributes.cs
- Win32.cs
- DataGridViewIntLinkedList.cs
- FileLogRecord.cs
- FileVersionInfo.cs
- NopReturnReader.cs
- RelatedView.cs
- SoapElementAttribute.cs
- IntSecurity.cs
- CounterCreationDataCollection.cs
- WebPartPersonalization.cs
- XpsS0ValidatingLoader.cs
- RemotingService.cs
- NullableFloatAverageAggregationOperator.cs
- ListViewPagedDataSource.cs