Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / UntypedNullExpression.cs / 1 / UntypedNullExpression.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Data.Metadata.Edm; using System.Data.Common.CommandTrees; namespace System.Data.Common.EntitySql { ////// Represents an untyped null. /// internal sealed class UntypedNullExpression : DbExpression { internal UntypedNullExpression( DbCommandTree commandTree ) : base( commandTree, DbExpressionKind.Null ) { this.ResultType = TypeUsage.NullType; } ////// The visitor pattern method for expression visitors that do not produce a result value. /// /// An instance of DbExpressionVisitor. public override void Accept( DbExpressionVisitor visitor ) { throw EntityUtil.NotSupported(); } ////// The visitor pattern method for expression visitors that produce a result value of a specific type. /// /// An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. public override T Accept( DbExpressionVisitor visitor ) { throw EntityUtil.NotSupported(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Data.Metadata.Edm; using System.Data.Common.CommandTrees; namespace System.Data.Common.EntitySql { ////// Represents an untyped null. /// internal sealed class UntypedNullExpression : DbExpression { internal UntypedNullExpression( DbCommandTree commandTree ) : base( commandTree, DbExpressionKind.Null ) { this.ResultType = TypeUsage.NullType; } ////// The visitor pattern method for expression visitors that do not produce a result value. /// /// An instance of DbExpressionVisitor. public override void Accept( DbExpressionVisitor visitor ) { throw EntityUtil.NotSupported(); } ////// The visitor pattern method for expression visitors that produce a result value of a specific type. /// /// An instance of a typed DbExpressionVisitor that produces a result value of type TResultType. public override T Accept( DbExpressionVisitor visitor ) { throw EntityUtil.NotSupported(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlConnectionPoolProviderInfo.cs
- PersonalizableAttribute.cs
- RelatedEnd.cs
- MemberInitExpression.cs
- ImageFormatConverter.cs
- C14NUtil.cs
- BStrWrapper.cs
- EnvironmentPermission.cs
- jithelpers.cs
- CodeSubDirectory.cs
- ConnectionPoolManager.cs
- COM2IDispatchConverter.cs
- RectKeyFrameCollection.cs
- ListViewInsertEventArgs.cs
- KeyboardNavigation.cs
- WebControlsSection.cs
- DbConnectionOptions.cs
- SingleKeyFrameCollection.cs
- XamlClipboardData.cs
- SafeFileMappingHandle.cs
- ThemeInfoAttribute.cs
- DocumentViewerBaseAutomationPeer.cs
- WorkflowWebService.cs
- BitmapSource.cs
- DeferredSelectedIndexReference.cs
- ToolStripItem.cs
- Stacktrace.cs
- HostSecurityManager.cs
- MultiView.cs
- JoinTreeNode.cs
- CannotUnloadAppDomainException.cs
- HtmlElementCollection.cs
- Rfc2898DeriveBytes.cs
- CompilationLock.cs
- RectangleGeometry.cs
- OpenTypeLayout.cs
- RangeBaseAutomationPeer.cs
- KeyEvent.cs
- WorkflowControlClient.cs
- Publisher.cs
- Blend.cs
- ReturnEventArgs.cs
- HMACSHA384.cs
- Schema.cs
- Property.cs
- SpotLight.cs
- VisualBasicImportReference.cs
- BooleanFunctions.cs
- PerformanceCounterCategory.cs
- SingleKeyFrameCollection.cs
- Object.cs
- SHA1CryptoServiceProvider.cs
- CriticalHandle.cs
- XmlDictionary.cs
- SemanticAnalyzer.cs
- SingleTagSectionHandler.cs
- XhtmlTextWriter.cs
- CallbackValidatorAttribute.cs
- SvcMapFileLoader.cs
- SymLanguageType.cs
- DocumentPageTextView.cs
- Util.cs
- SiteMapDataSource.cs
- Point3DCollection.cs
- HttpContextWrapper.cs
- RadioButton.cs
- DesignerPerfEventProvider.cs
- MarkupCompilePass2.cs
- DesignerRegionCollection.cs
- UnsafeNativeMethods.cs
- ReferencedAssembly.cs
- HttpDictionary.cs
- CapiSafeHandles.cs
- ModuleConfigurationInfo.cs
- GroupStyle.cs
- BitmapFrame.cs
- ToolStripDesignerAvailabilityAttribute.cs
- SByteStorage.cs
- AlternationConverter.cs
- DataExpression.cs
- SqlAliasesReferenced.cs
- UnsafeNativeMethods.cs
- XmlDictionaryString.cs
- _LazyAsyncResult.cs
- CodePageEncoding.cs
- FormsIdentity.cs
- RowsCopiedEventArgs.cs
- ObjectToken.cs
- PenLineCapValidation.cs
- FileSystemInfo.cs
- SqlMethods.cs
- IndexedEnumerable.cs
- KnownBoxes.cs
- Part.cs
- DataPagerCommandEventArgs.cs
- CodeStatementCollection.cs
- CmsInterop.cs
- ObjectQueryProvider.cs
- ThrowHelper.cs
- FontFamily.cs