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
- ProfessionalColors.cs
- Rfc4050KeyFormatter.cs
- ZoneMembershipCondition.cs
- BitmapPalettes.cs
- EllipseGeometry.cs
- SQLDoubleStorage.cs
- StrokeSerializer.cs
- ClassValidator.cs
- Typography.cs
- SingleSelectRootGridEntry.cs
- ToolStripSeparatorRenderEventArgs.cs
- Matrix3D.cs
- SignatureHelper.cs
- AtomServiceDocumentSerializer.cs
- ShortcutKeysEditor.cs
- Symbol.cs
- SHA256Managed.cs
- CodeNamespaceImportCollection.cs
- NumericPagerField.cs
- NonVisualControlAttribute.cs
- LockedActivityGlyph.cs
- ProgressBar.cs
- RawStylusInputCustomData.cs
- LessThan.cs
- HtmlTableRowCollection.cs
- PageAsyncTask.cs
- HtmlTernaryTree.cs
- Errors.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- HitTestParameters3D.cs
- SqlVisitor.cs
- xmlfixedPageInfo.cs
- RightsManagementErrorHandler.cs
- SplitterCancelEvent.cs
- CallbackHandler.cs
- SelectedDatesCollection.cs
- UnionCqlBlock.cs
- ComplexPropertyEntry.cs
- PropertyInformationCollection.cs
- SecureEnvironment.cs
- WebUtil.cs
- GroupJoinQueryOperator.cs
- Closure.cs
- XamlBuildTaskServices.cs
- StorageInfo.cs
- DecimalConverter.cs
- IIS7UserPrincipal.cs
- WindowPattern.cs
- HtmlToClrEventProxy.cs
- KnownBoxes.cs
- WebReferencesBuildProvider.cs
- ChannelServices.cs
- ResourcePart.cs
- RuntimeWrappedException.cs
- SoapAttributeOverrides.cs
- RenderOptions.cs
- HttpHandlerAction.cs
- ItemsControl.cs
- InkCanvasAutomationPeer.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- BindingCollection.cs
- DelimitedListTraceListener.cs
- SessionParameter.cs
- SwitchExpression.cs
- StringFormat.cs
- Stack.cs
- XPathNavigatorKeyComparer.cs
- AppearanceEditorPart.cs
- FunctionDetailsReader.cs
- SystemUnicastIPAddressInformation.cs
- PenThreadPool.cs
- GACIdentityPermission.cs
- MachineKeyConverter.cs
- ConnectionInterfaceCollection.cs
- WindowsRebar.cs
- DataGridViewButtonCell.cs
- WmlObjectListAdapter.cs
- SystemFonts.cs
- XmlDeclaration.cs
- IfElseDesigner.xaml.cs
- QueryCursorEventArgs.cs
- AspNetRouteServiceHttpHandler.cs
- DownloadProgressEventArgs.cs
- ListViewUpdatedEventArgs.cs
- ResourceReferenceExpression.cs
- InkSerializer.cs
- PrintDocument.cs
- SocketElement.cs
- UrlMappingsSection.cs
- InputGestureCollection.cs
- SqlHelper.cs
- OleAutBinder.cs
- ExpressionsCollectionEditor.cs
- ExpressionHelper.cs
- ServiceControllerDesigner.cs
- StringValidatorAttribute.cs
- SQLBytesStorage.cs
- JsonEncodingStreamWrapper.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- DrawingContextDrawingContextWalker.cs