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
- ParameterToken.cs
- UnlockInstanceAsyncResult.cs
- SmiGettersStream.cs
- AuthenticatedStream.cs
- TdsEnums.cs
- UniqueIdentifierService.cs
- PackagePartCollection.cs
- TaskFormBase.cs
- DataGridViewToolTip.cs
- DataGridViewComboBoxEditingControl.cs
- FileInfo.cs
- SqlParameter.cs
- CompositeTypefaceMetrics.cs
- _AutoWebProxyScriptWrapper.cs
- FixedSOMTextRun.cs
- HandledMouseEvent.cs
- DataContractSerializer.cs
- ToolStripMenuItemCodeDomSerializer.cs
- SystemTcpConnection.cs
- DataControlButton.cs
- NodeInfo.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- FontCacheUtil.cs
- PagePropertiesChangingEventArgs.cs
- EventLogEntry.cs
- UpdateException.cs
- Ops.cs
- WriteFileContext.cs
- EnumMemberAttribute.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Win32Exception.cs
- Lease.cs
- CommandValueSerializer.cs
- QilVisitor.cs
- NativeMethodsCLR.cs
- SynchronizationLockException.cs
- TypedTableBase.cs
- QueryOutputWriter.cs
- Table.cs
- SystemResources.cs
- AxDesigner.cs
- AliasGenerator.cs
- ToolStripProgressBar.cs
- WebPartEditorApplyVerb.cs
- RuntimeEnvironment.cs
- MetaModel.cs
- Activator.cs
- ItemDragEvent.cs
- ActivityXRefConverter.cs
- Control.cs
- DataServiceConfiguration.cs
- CellTreeNodeVisitors.cs
- DataGrid.cs
- TemplatePagerField.cs
- StreamWriter.cs
- Enum.cs
- CollectionBase.cs
- PathTooLongException.cs
- FileAuthorizationModule.cs
- DataObjectAttribute.cs
- AsyncDataRequest.cs
- MimeTypePropertyAttribute.cs
- SurrogateSelector.cs
- Config.cs
- ExtenderProvidedPropertyAttribute.cs
- Triplet.cs
- ConfigurationProviderException.cs
- Path.cs
- HttpHandlersSection.cs
- followingsibling.cs
- ViewPort3D.cs
- ProjectionCamera.cs
- SimpleHandlerFactory.cs
- ContentElementAutomationPeer.cs
- ForEachAction.cs
- MappingMetadataHelper.cs
- NameSpaceEvent.cs
- AutoResizedEvent.cs
- DataTableMappingCollection.cs
- MenuItem.cs
- SourceSwitch.cs
- LayoutSettings.cs
- CompositionAdorner.cs
- DataServiceOperationContext.cs
- HtmlHistory.cs
- MatcherBuilder.cs
- FormatPage.cs
- PointAnimationClockResource.cs
- SiteMapNode.cs
- MenuItemBinding.cs
- WindowsProgressbar.cs
- ArrayConverter.cs
- DynamicDiscoveryDocument.cs
- ToolStripSeparatorRenderEventArgs.cs
- Ref.cs
- CodeDomSerializerException.cs
- URLMembershipCondition.cs
- LiteralLink.cs
- XmlChoiceIdentifierAttribute.cs
- GridViewColumnCollection.cs