Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / UntypedNullExpression.cs / 1305376 / UntypedNullExpression.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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() : base(DbExpressionKind.Null, 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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() : base(DbExpressionKind.Null, 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
- XmlSchemaInfo.cs
- ReflectPropertyDescriptor.cs
- LineMetrics.cs
- FileCodeGroup.cs
- ObjectDataSourceEventArgs.cs
- TypeToTreeConverter.cs
- ItemsChangedEventArgs.cs
- SelectedGridItemChangedEvent.cs
- DataGridViewRowCollection.cs
- SortAction.cs
- DynamicVirtualDiscoSearcher.cs
- DateRangeEvent.cs
- ProcessHostServerConfig.cs
- datacache.cs
- MenuItem.cs
- SourceFileInfo.cs
- Utils.cs
- SizeKeyFrameCollection.cs
- AdCreatedEventArgs.cs
- XmlWrappingReader.cs
- CodeObject.cs
- XPathExpr.cs
- CombinedGeometry.cs
- CharacterMetricsDictionary.cs
- BindStream.cs
- XPathEmptyIterator.cs
- PriorityItem.cs
- QueryContinueDragEventArgs.cs
- XmlBinaryReader.cs
- X509UI.cs
- TypeHelper.cs
- MarkupCompilePass1.cs
- SocketException.cs
- ThicknessAnimationBase.cs
- WindowsSolidBrush.cs
- SerialPinChanges.cs
- DllNotFoundException.cs
- HttpSessionStateBase.cs
- PropertyGridCommands.cs
- GridViewEditEventArgs.cs
- Attribute.cs
- TraceEventCache.cs
- SymbolEqualComparer.cs
- MetadataItemSerializer.cs
- Context.cs
- DataGridViewSelectedRowCollection.cs
- SortQuery.cs
- ContentControl.cs
- ThreadStateException.cs
- DataProtectionSecurityStateEncoder.cs
- TypeHelpers.cs
- WebControlsSection.cs
- ColumnMapCopier.cs
- EditorBrowsableAttribute.cs
- RunClient.cs
- AuthStoreRoleProvider.cs
- AutomationProperties.cs
- CodeParameterDeclarationExpression.cs
- OperationBehaviorAttribute.cs
- CategoryNameCollection.cs
- PageClientProxyGenerator.cs
- NotCondition.cs
- AuthenticationService.cs
- ReflectionServiceProvider.cs
- SoapWriter.cs
- UidManager.cs
- ArglessEventHandlerProxy.cs
- Hashtable.cs
- DataControlCommands.cs
- MediaContext.cs
- TrackingStringDictionary.cs
- Comparer.cs
- TextServicesLoader.cs
- LinkedResource.cs
- AuthenticatedStream.cs
- SimpleLine.cs
- PropertyRecord.cs
- Int64Animation.cs
- HtmlWindow.cs
- GridViewDeleteEventArgs.cs
- Rotation3D.cs
- InternalConfigSettingsFactory.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- SQLGuid.cs
- SymmetricAlgorithm.cs
- UpdatePanel.cs
- KeyboardNavigation.cs
- UserControl.cs
- SHA256Managed.cs
- UserControlBuildProvider.cs
- GenericEnumConverter.cs
- FixedElement.cs
- HtmlFormParameterWriter.cs
- ExclusiveHandle.cs
- SqlUtils.cs
- BatchServiceHost.cs
- ProxyManager.cs
- FolderBrowserDialog.cs
- AnnotationService.cs
- BufferedGraphics.cs