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
- WindowsAltTab.cs
- WindowsListBox.cs
- OleDbCommand.cs
- GC.cs
- BidirectionalDictionary.cs
- BamlCollectionHolder.cs
- CompositeActivityMarkupSerializer.cs
- DataControlPagerLinkButton.cs
- WebUtil.cs
- ChannelToken.cs
- Model3DGroup.cs
- CodeNamespaceCollection.cs
- TextParagraphView.cs
- DbConnectionPoolGroup.cs
- odbcmetadatacolumnnames.cs
- GenericAuthenticationEventArgs.cs
- TreeNodeCollection.cs
- GroupJoinQueryOperator.cs
- CssClassPropertyAttribute.cs
- InfoCardArgumentException.cs
- Single.cs
- PartialTrustHelpers.cs
- SqlUtil.cs
- DataTableTypeConverter.cs
- DATA_BLOB.cs
- UmAlQuraCalendar.cs
- SchemaNotation.cs
- DmlSqlGenerator.cs
- ConnectionPoolManager.cs
- SqlBulkCopyColumnMapping.cs
- DetailsViewDeleteEventArgs.cs
- JoinElimination.cs
- BinaryNode.cs
- IPPacketInformation.cs
- CellNormalizer.cs
- MessageEventSubscriptionService.cs
- ReadWriteObjectLock.cs
- SQLDateTime.cs
- SqlConnectionPoolProviderInfo.cs
- XsltArgumentList.cs
- HttpHandlerAction.cs
- SR.Designer.cs
- CollectionViewGroup.cs
- TemplateModeChangedEventArgs.cs
- ViewStateException.cs
- InternalBufferOverflowException.cs
- ScriptingWebServicesSectionGroup.cs
- HitTestWithGeometryDrawingContextWalker.cs
- AssemblyAssociatedContentFileAttribute.cs
- EncryptedKeyIdentifierClause.cs
- WebServiceParameterData.cs
- FrameworkContentElement.cs
- Int32Animation.cs
- HashMembershipCondition.cs
- FormViewInsertedEventArgs.cs
- VersionedStreamOwner.cs
- NetworkInformationException.cs
- Registry.cs
- ImageSourceConverter.cs
- MemberRelationshipService.cs
- CodePrimitiveExpression.cs
- DoWorkEventArgs.cs
- OptionUsage.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- ExtensionFile.cs
- CacheForPrimitiveTypes.cs
- CommandField.cs
- TraceSection.cs
- ResourcesBuildProvider.cs
- StreamGeometry.cs
- PerfProviderCollection.cs
- ContainerUtilities.cs
- CellParaClient.cs
- CommentEmitter.cs
- AlphaSortedEnumConverter.cs
- QuaternionRotation3D.cs
- FixedPageStructure.cs
- TextLineResult.cs
- BufferedGraphics.cs
- PersistenceTypeAttribute.cs
- SingleConverter.cs
- DropDownList.cs
- DataGridViewColumnHeaderCell.cs
- ValueUnavailableException.cs
- DataPager.cs
- SqlBuffer.cs
- IteratorFilter.cs
- XMLDiffLoader.cs
- DesignObjectWrapper.cs
- HttpConfigurationContext.cs
- XmlHierarchyData.cs
- BitVector32.cs
- Enum.cs
- XmlLangPropertyAttribute.cs
- WebPartRestoreVerb.cs
- DoubleLinkList.cs
- XpsFilter.cs
- Dynamic.cs
- FatalException.cs
- UnsafeNativeMethods.cs