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
- AnimatedTypeHelpers.cs
- PaintValueEventArgs.cs
- XmlSchemas.cs
- DocumentReference.cs
- HttpRequestCacheValidator.cs
- OutputCacheSettings.cs
- Thickness.cs
- XdrBuilder.cs
- WinInet.cs
- StringWriter.cs
- XmlUrlResolver.cs
- CollectionBuilder.cs
- LinqDataSourceContextEventArgs.cs
- QuaternionIndependentAnimationStorage.cs
- ClientConfigurationHost.cs
- CustomAttributeBuilder.cs
- RelationshipConstraintValidator.cs
- AutoGeneratedFieldProperties.cs
- UTF8Encoding.cs
- EdmItemCollection.OcAssemblyCache.cs
- Vector3DAnimationBase.cs
- ColumnWidthChangingEvent.cs
- PropertyToken.cs
- DocumentPageTextView.cs
- XmlNodeReader.cs
- SqlBulkCopyColumnMappingCollection.cs
- DataGridViewRowCancelEventArgs.cs
- GridPattern.cs
- IconHelper.cs
- ContentPropertyAttribute.cs
- RequestTimeoutManager.cs
- MessageDirection.cs
- FontSizeConverter.cs
- TreeWalkHelper.cs
- TemplatedAdorner.cs
- EntityCollection.cs
- VisualStyleTypesAndProperties.cs
- Rule.cs
- PersistencePipeline.cs
- CriticalHandle.cs
- MembershipSection.cs
- AtomMaterializerLog.cs
- Point4D.cs
- WindowAutomationPeer.cs
- InvalidProgramException.cs
- ToolStripDropDownMenu.cs
- DESCryptoServiceProvider.cs
- elementinformation.cs
- XmlSecureResolver.cs
- MemoryMappedFile.cs
- QilChoice.cs
- MemberHolder.cs
- Encoding.cs
- UiaCoreApi.cs
- DesignColumn.cs
- unsafenativemethodstextservices.cs
- counter.cs
- FileUtil.cs
- AudioSignalProblemOccurredEventArgs.cs
- PointF.cs
- MultipartIdentifier.cs
- _ListenerResponseStream.cs
- ButtonAutomationPeer.cs
- SQLBytesStorage.cs
- ChildChangedEventArgs.cs
- SqlError.cs
- BindingOperations.cs
- HttpWriter.cs
- DateTime.cs
- DataChangedEventManager.cs
- MultiPropertyDescriptorGridEntry.cs
- FormViewPageEventArgs.cs
- StrokeDescriptor.cs
- DataRowComparer.cs
- GroupLabel.cs
- ValueConversionAttribute.cs
- BaseDataListDesigner.cs
- AlphabetConverter.cs
- TreeNodeStyleCollection.cs
- Freezable.cs
- CollectionChangeEventArgs.cs
- SymbolType.cs
- PointConverter.cs
- ErrorHandler.cs
- ArgumentException.cs
- SeekableReadStream.cs
- SeverityFilter.cs
- StringOutput.cs
- SmiMetaDataProperty.cs
- WebReferencesBuildProvider.cs
- DynamicDiscoSearcher.cs
- ContainerUIElement3D.cs
- ExtendedProperty.cs
- DataGridViewRowCollection.cs
- EntityDataSourceStatementEditor.cs
- WebPartEventArgs.cs
- CollectionViewProxy.cs
- sqlcontext.cs
- ControlCollection.cs
- XmlSchemaSimpleTypeList.cs