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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Pkcs7Signer.cs
- WindowPattern.cs
- TypeSystem.cs
- FileLoadException.cs
- Camera.cs
- StringHelper.cs
- Validator.cs
- Selection.cs
- TdsRecordBufferSetter.cs
- UIHelper.cs
- WorkflowView.cs
- ToolStripButton.cs
- SqlColumnizer.cs
- DetailsViewDeleteEventArgs.cs
- DataExpression.cs
- HtmlInputButton.cs
- DocumentPage.cs
- SimpleBitVector32.cs
- DataSourceBooleanViewSchemaConverter.cs
- DbgCompiler.cs
- DisplayNameAttribute.cs
- FixedSOMTable.cs
- MergePropertyDescriptor.cs
- SettingsSavedEventArgs.cs
- BamlVersionHeader.cs
- StrongNameHelpers.cs
- sqlser.cs
- SiteMapNode.cs
- XmlDataImplementation.cs
- SqlDataAdapter.cs
- RecordManager.cs
- DBDataPermission.cs
- XmlLoader.cs
- Instrumentation.cs
- StringUtil.cs
- ParallelTimeline.cs
- MetadataCollection.cs
- IDispatchConstantAttribute.cs
- COM2ExtendedTypeConverter.cs
- Rule.cs
- PngBitmapEncoder.cs
- SmiSettersStream.cs
- TransactedBatchingElement.cs
- StringCollection.cs
- X509SecurityTokenAuthenticator.cs
- UserMapPath.cs
- KeyEventArgs.cs
- ThemeDirectoryCompiler.cs
- MetadataArtifactLoaderCompositeFile.cs
- MethodBuilder.cs
- CqlQuery.cs
- TaskFactory.cs
- DotExpr.cs
- PrefixQName.cs
- EncoderReplacementFallback.cs
- RuleSettingsCollection.cs
- OleDbParameter.cs
- bidPrivateBase.cs
- XmlWrappingWriter.cs
- MexHttpBindingCollectionElement.cs
- DrawingCollection.cs
- ColorConverter.cs
- basemetadatamappingvisitor.cs
- FixedSOMFixedBlock.cs
- ProxyManager.cs
- TypeHelpers.cs
- FrameworkName.cs
- LinqDataSource.cs
- SafeNativeMethods.cs
- BasicKeyConstraint.cs
- RefreshPropertiesAttribute.cs
- SmtpNegotiateAuthenticationModule.cs
- CalloutQueueItem.cs
- NegationPusher.cs
- AccessDataSourceWizardForm.cs
- AliasGenerator.cs
- Tablet.cs
- ColorBlend.cs
- ClientConvert.cs
- KnownAssemblyEntry.cs
- CellCreator.cs
- RowBinding.cs
- ExtendedProperty.cs
- DupHandleConnectionReader.cs
- ImplicitInputBrush.cs
- VersionedStreamOwner.cs
- ClientScriptManager.cs
- Publisher.cs
- PropertyGridView.cs
- DateTimeSerializationSection.cs
- BindingEditor.xaml.cs
- LogicalExpr.cs
- CodeMethodInvokeExpression.cs
- ChangeDirector.cs
- GridViewSortEventArgs.cs
- SamlAuthorizationDecisionStatement.cs
- DataSysAttribute.cs
- StylusPointPropertyInfo.cs
- IsolatedStorageException.cs
- ImageIndexConverter.cs