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
- PageEventArgs.cs
- ListItemConverter.cs
- PolicyException.cs
- SQLMoney.cs
- SHA512Managed.cs
- WebPartDescription.cs
- TextBoxRenderer.cs
- SettingsBindableAttribute.cs
- WindowsClaimSet.cs
- DecimalMinMaxAggregationOperator.cs
- InputScopeConverter.cs
- BlockCollection.cs
- DragEvent.cs
- HwndAppCommandInputProvider.cs
- GlobalizationSection.cs
- BindingNavigatorDesigner.cs
- Funcletizer.cs
- CorePropertiesFilter.cs
- WorkItem.cs
- SimpleWebHandlerParser.cs
- Config.cs
- ElementProxy.cs
- ToolStripArrowRenderEventArgs.cs
- AnimatedTypeHelpers.cs
- ReceiveCompletedEventArgs.cs
- InlineObject.cs
- MailDefinitionBodyFileNameEditor.cs
- PeerMessageDispatcher.cs
- WebBrowserHelper.cs
- ToolStripItem.cs
- Annotation.cs
- Rect.cs
- CodeExporter.cs
- BCLDebug.cs
- SamlAttributeStatement.cs
- nulltextnavigator.cs
- TabItem.cs
- ScriptResourceMapping.cs
- Quaternion.cs
- DataObjectMethodAttribute.cs
- Decorator.cs
- BatchWriter.cs
- XPathCompiler.cs
- CharEnumerator.cs
- TextServicesDisplayAttributePropertyRanges.cs
- CustomErrorsSection.cs
- RtfNavigator.cs
- MdiWindowListStrip.cs
- NamespaceQuery.cs
- FixUp.cs
- TableAutomationPeer.cs
- TextEditorTables.cs
- StateBag.cs
- SqlBooleanizer.cs
- DataGridPagerStyle.cs
- Literal.cs
- SessionState.cs
- KeyValuePairs.cs
- Double.cs
- PropertyGridEditorPart.cs
- BinaryKeyIdentifierClause.cs
- ToolBarButtonDesigner.cs
- ValidatorCollection.cs
- TypeRefElement.cs
- SqlXml.cs
- RewritingValidator.cs
- SafeThreadHandle.cs
- XamlNamespaceHelper.cs
- DefaultBindingPropertyAttribute.cs
- FilterElement.cs
- WinHttpWebProxyFinder.cs
- DataTableNameHandler.cs
- SamlAuthorityBinding.cs
- DurableInstancingOptions.cs
- GenerateTemporaryTargetAssembly.cs
- ResXFileRef.cs
- SpStreamWrapper.cs
- PageCatalogPart.cs
- EventsTab.cs
- columnmapkeybuilder.cs
- TextFormatterImp.cs
- CheckBoxAutomationPeer.cs
- HatchBrush.cs
- CollectionViewGroup.cs
- DoubleLink.cs
- Column.cs
- FormsAuthenticationTicket.cs
- XsltQilFactory.cs
- TrackingRecord.cs
- MsmqHostedTransportConfiguration.cs
- WmlLiteralTextAdapter.cs
- RootProfilePropertySettingsCollection.cs
- Matrix3D.cs
- DnsEndpointIdentity.cs
- mediaeventshelper.cs
- MetadataUtilsSmi.cs
- GridViewRowPresenter.cs
- ElementHostAutomationPeer.cs
- MappingException.cs
- DocumentPageView.cs