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
- FixedSOMFixedBlock.cs
- DrawingContext.cs
- FileLevelControlBuilderAttribute.cs
- FusionWrap.cs
- TypedTableGenerator.cs
- XmlNodeList.cs
- UdpAnnouncementEndpoint.cs
- EntityEntry.cs
- ModelVisual3D.cs
- SerializationStore.cs
- StreamingContext.cs
- PropertyTab.cs
- DbDataAdapter.cs
- XmlHierarchyData.cs
- XmlAttributeOverrides.cs
- SerializerProvider.cs
- XmlSchemaElement.cs
- ExpressionPrefixAttribute.cs
- ChangePasswordAutoFormat.cs
- ObjectDataSourceDisposingEventArgs.cs
- BasePropertyDescriptor.cs
- EntityDataSourceWrapperCollection.cs
- MessageSecurityOverHttpElement.cs
- PointLight.cs
- MsmqHostedTransportManager.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- CipherData.cs
- TitleStyle.cs
- SizeChangedInfo.cs
- RuleRefElement.cs
- DataGridTable.cs
- KeyValueConfigurationElement.cs
- PropertyPathWorker.cs
- MetadataCacheItem.cs
- TagMapInfo.cs
- PathFigure.cs
- HostProtectionException.cs
- MouseActionConverter.cs
- HitTestWithGeometryDrawingContextWalker.cs
- ContainerTracking.cs
- MatrixAnimationUsingPath.cs
- Graph.cs
- ListViewInsertedEventArgs.cs
- AuthorizationRule.cs
- ComplusEndpointConfigContainer.cs
- OleDbParameterCollection.cs
- AssemblyUtil.cs
- SapiRecoContext.cs
- SoapAttributes.cs
- StorageTypeMapping.cs
- AttributeExtensions.cs
- VerticalAlignConverter.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- ActivityAction.cs
- XmlSchemaGroupRef.cs
- StringToken.cs
- ConnectionsZone.cs
- DelegateHelpers.Generated.cs
- HtmlInputCheckBox.cs
- XmlSchemaType.cs
- SpecialFolderEnumConverter.cs
- IPAddressCollection.cs
- indexingfiltermarshaler.cs
- WebPartTransformerCollection.cs
- Vector3DKeyFrameCollection.cs
- AnnotationMap.cs
- ScrollContentPresenter.cs
- UDPClient.cs
- TextMetrics.cs
- WebPartAddingEventArgs.cs
- ZipIOBlockManager.cs
- _AutoWebProxyScriptWrapper.cs
- AdvancedBindingPropertyDescriptor.cs
- EventHandlersDesigner.cs
- ObjectPropertyMapping.cs
- WarningException.cs
- RemotingException.cs
- CodeDOMProvider.cs
- Preprocessor.cs
- PeerInvitationResponse.cs
- SqlDataSourceFilteringEventArgs.cs
- CodeEntryPointMethod.cs
- ProfileInfo.cs
- DbMetaDataFactory.cs
- DrawListViewItemEventArgs.cs
- ScriptingProfileServiceSection.cs
- PointConverter.cs
- ObjectItemAssemblyLoader.cs
- DataGridViewAccessibleObject.cs
- EventsTab.cs
- SynchronousReceiveElement.cs
- LicenseManager.cs
- DataBoundControlHelper.cs
- FontStretch.cs
- CultureInfo.cs
- SqlVersion.cs
- BitmapVisualManager.cs
- XmlNamespaceManager.cs
- DataRecordInfo.cs
- WebControlAdapter.cs