Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ErrorFormatter.cs
- RepeaterItem.cs
- DispatcherOperation.cs
- RMEnrollmentPage3.cs
- BinHexEncoder.cs
- FilteredAttributeCollection.cs
- DSASignatureDeformatter.cs
- WebContext.cs
- ObjectNavigationPropertyMapping.cs
- SamlNameIdentifierClaimResource.cs
- ipaddressinformationcollection.cs
- DataGridViewRowPostPaintEventArgs.cs
- remotingproxy.cs
- externdll.cs
- DataBindingExpressionBuilder.cs
- TextDecorationLocationValidation.cs
- ConsumerConnectionPoint.cs
- InstanceNameConverter.cs
- UInt64.cs
- HttpFileCollection.cs
- FamilyTypefaceCollection.cs
- SwitchDesigner.xaml.cs
- SqlComparer.cs
- ContainerControlDesigner.cs
- LinkedResource.cs
- WhitespaceRuleReader.cs
- XmlDataDocument.cs
- Query.cs
- Win32Native.cs
- XPathParser.cs
- ImmutableObjectAttribute.cs
- ZipFileInfoCollection.cs
- KeyGesture.cs
- OpCodes.cs
- ByteStorage.cs
- StylusTip.cs
- ResetableIterator.cs
- StreamGeometryContext.cs
- AsyncOperation.cs
- SQlBooleanStorage.cs
- ManagementException.cs
- _AutoWebProxyScriptEngine.cs
- EncoderFallback.cs
- DynamicResourceExtension.cs
- RelativeSource.cs
- CryptoApi.cs
- InstancePersistenceContext.cs
- HandleTable.cs
- X509ChainElement.cs
- EpmCustomContentWriterNodeData.cs
- String.cs
- SpotLight.cs
- EventWaitHandle.cs
- WebZone.cs
- DnsPermission.cs
- CachedCompositeFamily.cs
- SetState.cs
- TextRange.cs
- NeutralResourcesLanguageAttribute.cs
- ControlParameter.cs
- WithParamAction.cs
- CodeCatchClauseCollection.cs
- DelegatingConfigHost.cs
- DescendantBaseQuery.cs
- DataPager.cs
- DetailsViewDeletedEventArgs.cs
- FontInfo.cs
- AdjustableArrowCap.cs
- UnionCqlBlock.cs
- SqlStream.cs
- WebServiceErrorEvent.cs
- COAUTHIDENTITY.cs
- InstanceLockLostException.cs
- Parser.cs
- RunClient.cs
- AttributeCollection.cs
- TemplatePropertyEntry.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- CommandCollectionEditor.cs
- TemplateEditingVerb.cs
- SymbolUsageManager.cs
- SqlXml.cs
- TypeNameHelper.cs
- StandardOleMarshalObject.cs
- ScrollViewer.cs
- PartialClassGenerationTaskInternal.cs
- ReflectEventDescriptor.cs
- DynamicRendererThreadManager.cs
- TreeNodeCollection.cs
- COM2ColorConverter.cs
- MediaElementAutomationPeer.cs
- MdiWindowListStrip.cs
- DbConnectionHelper.cs
- RowUpdatingEventArgs.cs
- PreloadedPackages.cs
- CaseStatementSlot.cs
- XPathCompileException.cs
- DataBoundLiteralControl.cs
- DbConnectionStringCommon.cs
- ReadOnlyCollectionBase.cs