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
- ObjectTypeMapping.cs
- InputLangChangeRequestEvent.cs
- objectresult_tresulttype.cs
- SqlConnectionPoolGroupProviderInfo.cs
- SystemIPGlobalProperties.cs
- ImpersonateTokenRef.cs
- CorrelationToken.cs
- LineSegment.cs
- ProfilePropertySettings.cs
- DependencyObjectPropertyDescriptor.cs
- ProjectionQueryOptionExpression.cs
- objectquery_tresulttype.cs
- DetailsViewUpdatedEventArgs.cs
- EntityContainer.cs
- StreamProxy.cs
- SplitterCancelEvent.cs
- _LocalDataStoreMgr.cs
- GridViewColumn.cs
- PolicyImporterElement.cs
- CompilationSection.cs
- DrawItemEvent.cs
- ReadOnlyCollectionBase.cs
- DataStreamFromComStream.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- DataGridViewRow.cs
- IdentityHolder.cs
- CDSsyncETWBCLProvider.cs
- NonParentingControl.cs
- MenuAutomationPeer.cs
- RemotingException.cs
- ListControlBoundActionList.cs
- ActivityExecutionContextCollection.cs
- TextSearch.cs
- SqlDataSourceConfigureSelectPanel.cs
- GridViewColumnCollection.cs
- XmlILModule.cs
- InputLanguage.cs
- WriteableBitmap.cs
- LineSegment.cs
- MembershipUser.cs
- Bezier.cs
- FileVersion.cs
- Add.cs
- SafeReversePInvokeHandle.cs
- SafeLocalMemHandle.cs
- TransformerTypeCollection.cs
- Authorization.cs
- VirtualPathUtility.cs
- AvTraceDetails.cs
- KeySplineConverter.cs
- SizeConverter.cs
- DragEvent.cs
- SspiWrapper.cs
- InheritablePropertyChangeInfo.cs
- WebPartEventArgs.cs
- CodeCastExpression.cs
- InputProcessorProfilesLoader.cs
- CodeAssignStatement.cs
- HttpRawResponse.cs
- ComplusTypeValidator.cs
- FilterEventArgs.cs
- PeerNameRecordCollection.cs
- ProxyWebPartManager.cs
- AccessibleObject.cs
- XmlSerializerVersionAttribute.cs
- SR.cs
- WebRequestModuleElementCollection.cs
- TextEditorCopyPaste.cs
- HwndSource.cs
- Pts.cs
- SqlCommandBuilder.cs
- Expressions.cs
- Convert.cs
- HandledEventArgs.cs
- WrappedIUnknown.cs
- TrackingMemoryStream.cs
- ToolStripItem.cs
- BorderSidesEditor.cs
- ListControl.cs
- MDIClient.cs
- WinFormsComponentEditor.cs
- FileLogRecordEnumerator.cs
- SqlColumnizer.cs
- MachineKeySection.cs
- ButtonFieldBase.cs
- DiffuseMaterial.cs
- GridViewRowPresenterBase.cs
- PerformanceCounterPermissionEntry.cs
- BehaviorDragDropEventArgs.cs
- HttpWriter.cs
- MaskedTextBoxTextEditor.cs
- MultipleViewProviderWrapper.cs
- LayoutInformation.cs
- DeploymentSection.cs
- FirstMatchCodeGroup.cs
- LogRestartAreaEnumerator.cs
- ServiceOperationInvoker.cs
- FormsAuthenticationUserCollection.cs
- PageAction.cs
- SecureEnvironment.cs