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
- EmptyEnumerator.cs
- GenericAuthenticationEventArgs.cs
- OptimisticConcurrencyException.cs
- TypeExtensionConverter.cs
- XmlCharCheckingReader.cs
- RelationshipConverter.cs
- XamlStream.cs
- SQLBoolean.cs
- DataGridViewAdvancedBorderStyle.cs
- TransformGroup.cs
- ErrorEventArgs.cs
- Message.cs
- EncodingNLS.cs
- SqlProviderManifest.cs
- TargetConverter.cs
- CodeLabeledStatement.cs
- HtmlInputReset.cs
- SendMailErrorEventArgs.cs
- Triangle.cs
- Model3DGroup.cs
- ScriptRegistrationManager.cs
- DataGridViewAddColumnDialog.cs
- DetectRunnableInstancesTask.cs
- DocumentXmlWriter.cs
- MemberProjectedSlot.cs
- PropertyChangedEventArgs.cs
- autovalidator.cs
- ProcessModelSection.cs
- RelationshipConverter.cs
- SafeNativeMethodsMilCoreApi.cs
- DataPagerFieldCollection.cs
- FloatUtil.cs
- prompt.cs
- RelationshipType.cs
- CuspData.cs
- UrlPropertyAttribute.cs
- SchemaType.cs
- _FtpControlStream.cs
- FlowNode.cs
- _CookieModule.cs
- InfoCardAsymmetricCrypto.cs
- ActiveXHost.cs
- SQLBinaryStorage.cs
- WeakRefEnumerator.cs
- SqlUserDefinedTypeAttribute.cs
- TcpAppDomainProtocolHandler.cs
- BaseComponentEditor.cs
- DriveInfo.cs
- Run.cs
- SQLByteStorage.cs
- OrthographicCamera.cs
- DetailsViewInsertEventArgs.cs
- GridViewRowPresenter.cs
- NotConverter.cs
- XamlFxTrace.cs
- SignatureDescription.cs
- MenuItem.cs
- CrossSiteScriptingValidation.cs
- SqlUdtInfo.cs
- XsdBuildProvider.cs
- DtdParser.cs
- UnsafeNativeMethods.cs
- AtomPub10CategoriesDocumentFormatter.cs
- HtmlElementErrorEventArgs.cs
- SystemPens.cs
- SQLBytes.cs
- ToolBarOverflowPanel.cs
- LineMetrics.cs
- UrlAuthFailedErrorFormatter.cs
- TypeFieldSchema.cs
- TemplateBindingExtensionConverter.cs
- SupportsEventValidationAttribute.cs
- BamlRecordHelper.cs
- RootBrowserWindowProxy.cs
- VariableQuery.cs
- PolyQuadraticBezierSegment.cs
- CoTaskMemUnicodeSafeHandle.cs
- DataBindingExpressionBuilder.cs
- AlphabeticalEnumConverter.cs
- HtmlLink.cs
- ConversionContext.cs
- DataGridViewBindingCompleteEventArgs.cs
- PresentationTraceSources.cs
- Psha1DerivedKeyGenerator.cs
- DataGridViewCheckBoxCell.cs
- AppDomainFactory.cs
- WinEventTracker.cs
- SyndicationSerializer.cs
- Visitor.cs
- CodeRegionDirective.cs
- OracleConnectionString.cs
- AnonymousIdentificationSection.cs
- EndSelectCardRequest.cs
- EventEntry.cs
- IdentityReference.cs
- AncestorChangedEventArgs.cs
- OleServicesContext.cs
- GeneratedCodeAttribute.cs
- DATA_BLOB.cs
- srgsitem.cs