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
- DataGridViewMethods.cs
- WebServiceClientProxyGenerator.cs
- OutputCacheSection.cs
- MonthChangedEventArgs.cs
- DataSetMappper.cs
- CompressionTransform.cs
- PathFigureCollectionValueSerializer.cs
- GenericAuthenticationEventArgs.cs
- ProfileSection.cs
- ServiceDocument.cs
- BitmapEffectDrawingContextState.cs
- FormatControl.cs
- ParsedAttributeCollection.cs
- util.cs
- UnitControl.cs
- VoiceInfo.cs
- SequentialWorkflowHeaderFooter.cs
- DictionaryContent.cs
- AffineTransform3D.cs
- TransformDescriptor.cs
- RepeatInfo.cs
- Debugger.cs
- MissingManifestResourceException.cs
- CryptographicAttribute.cs
- DBDataPermissionAttribute.cs
- RegisteredExpandoAttribute.cs
- WebPartDisplayModeCancelEventArgs.cs
- PanelStyle.cs
- TimeSpanValidator.cs
- FileDialogPermission.cs
- HttpResponse.cs
- ConversionContext.cs
- XmlImplementation.cs
- AuthenticationModuleElementCollection.cs
- SecurityHelper.cs
- Delay.cs
- DataTableCollection.cs
- MemberInitExpression.cs
- TextTreeFixupNode.cs
- WebRequestModuleElement.cs
- TimeSpanValidator.cs
- FilteredAttributeCollection.cs
- BitmapCodecInfoInternal.cs
- ScrollProperties.cs
- BindingList.cs
- AnonymousIdentificationSection.cs
- ForceCopyBuildProvider.cs
- Style.cs
- XmlSerializableWriter.cs
- DbConnectionHelper.cs
- DefaultAsyncDataDispatcher.cs
- StylusSystemGestureEventArgs.cs
- DataSourceSelectArguments.cs
- SessionStateItemCollection.cs
- WsdlInspector.cs
- CFGGrammar.cs
- LicenseContext.cs
- ContextMenuService.cs
- SystemIPGlobalProperties.cs
- CodeObjectCreateExpression.cs
- TreeNodeMouseHoverEvent.cs
- EditCommandColumn.cs
- ExpressionHelper.cs
- WebPartConnectionsConfigureVerb.cs
- ManualResetEvent.cs
- EnumType.cs
- BaseTemplateParser.cs
- WindowsScrollBar.cs
- DataGridViewCheckBoxColumn.cs
- BuildResultCache.cs
- BaseUriHelper.cs
- AssociatedControlConverter.cs
- DnsPermission.cs
- TabItemAutomationPeer.cs
- sqlinternaltransaction.cs
- DbConnectionPoolIdentity.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- FormatterConverter.cs
- PageContentAsyncResult.cs
- ColorConvertedBitmapExtension.cs
- InvalidOleVariantTypeException.cs
- SqlErrorCollection.cs
- MachineKeySection.cs
- Int64AnimationUsingKeyFrames.cs
- EntityTypeBase.cs
- BoundField.cs
- MouseGesture.cs
- FilteredDataSetHelper.cs
- RoutedCommand.cs
- EmulateRecognizeCompletedEventArgs.cs
- NavigationCommands.cs
- GZipStream.cs
- RangeBase.cs
- CommandManager.cs
- PriorityBinding.cs
- IDReferencePropertyAttribute.cs
- TimeSpanStorage.cs
- PopupEventArgs.cs
- LocalizableAttribute.cs
- IdentityNotMappedException.cs