Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- MemberAccessException.cs
- WindowProviderWrapper.cs
- UpdateDelegates.Generated.cs
- SiteMapNode.cs
- LicenseContext.cs
- TimerElapsedEvenArgs.cs
- _AutoWebProxyScriptWrapper.cs
- DataTableReader.cs
- HotSpotCollection.cs
- MailWebEventProvider.cs
- OutputWindow.cs
- BulletedList.cs
- HttpsHostedTransportConfiguration.cs
- EditingCoordinator.cs
- LookupBindingPropertiesAttribute.cs
- RubberbandSelector.cs
- File.cs
- AlternateViewCollection.cs
- ReadContentAsBinaryHelper.cs
- ECDsaCng.cs
- ByteAnimation.cs
- CodeVariableReferenceExpression.cs
- SQLInt16.cs
- EmptyReadOnlyDictionaryInternal.cs
- RtfFormatStack.cs
- FileStream.cs
- KnownColorTable.cs
- GroupBox.cs
- Control.cs
- SqlDataSourceSelectingEventArgs.cs
- PlacementWorkspace.cs
- PageClientProxyGenerator.cs
- FuncTypeConverter.cs
- Metafile.cs
- EntityViewGenerationConstants.cs
- DataPagerFieldCollection.cs
- BitArray.cs
- RemoteWebConfigurationHostServer.cs
- DuplicateWaitObjectException.cs
- DataGridViewColumnEventArgs.cs
- X509DefaultServiceCertificateElement.cs
- UrlRoutingModule.cs
- EventEntry.cs
- ZipIOLocalFileBlock.cs
- RadioButtonRenderer.cs
- Roles.cs
- HTTPNotFoundHandler.cs
- Attributes.cs
- WindowsListViewSubItem.cs
- EntityCommand.cs
- ClassHandlersStore.cs
- UpdatePanelTriggerCollection.cs
- FileSystemWatcher.cs
- XMLSyntaxException.cs
- HtmlEmptyTagControlBuilder.cs
- WebBaseEventKeyComparer.cs
- RuntimeEnvironment.cs
- IndexerNameAttribute.cs
- Form.cs
- VirtualizedItemPattern.cs
- ModelTreeEnumerator.cs
- StringCollection.cs
- EntityDataSourceContextCreatingEventArgs.cs
- EntityDataSourceUtil.cs
- ConstructorExpr.cs
- SchemaImporterExtension.cs
- KeySplineConverter.cs
- ValidatingReaderNodeData.cs
- InProcStateClientManager.cs
- TargetException.cs
- XmlCDATASection.cs
- CompilerParameters.cs
- XmlAttributeAttribute.cs
- XmlSchemaAppInfo.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- EncoderParameter.cs
- OdbcConnectionString.cs
- SessionStateItemCollection.cs
- DbConnectionPoolGroup.cs
- ArglessEventHandlerProxy.cs
- GlyphShapingProperties.cs
- ClientBuildManagerCallback.cs
- ClaimSet.cs
- TextTreeUndo.cs
- RefreshEventArgs.cs
- ContextProperty.cs
- MatrixTransform.cs
- TiffBitmapDecoder.cs
- PanelDesigner.cs
- HttpListenerRequestUriBuilder.cs
- ErrorRuntimeConfig.cs
- DefaultAsyncDataDispatcher.cs
- WebConfigurationHostFileChange.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ControlSerializer.cs
- BeginEvent.cs
- InboundActivityHelper.cs
- BooleanStorage.cs
- BaseComponentEditor.cs
- GridViewDeleteEventArgs.cs