Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / CommandTrees / DbExpressionVisitor_TResultType.cs / 1305376 / DbExpressionVisitor_TResultType.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System.Collections.Generic; using System.Data.Metadata.Edm; namespace System.Data.Common.CommandTrees { ////// The expression visitor pattern abstract base class that should be implemented by visitors that return a result value of a specific type. /// ///The type of the result value produced by the visitor. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Db")] public abstract class DbExpressionVisitor{ /// /// Called when an expression of an otherwise unrecognized type is encountered. /// /// The expression. public abstract TResultType Visit(DbExpression expression); ////// Typed visitor pattern method for DbAndExpression. /// /// The DbAndExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbAndExpression expression); ////// Typed visitor pattern method for DbApplyExpression. /// /// The DbApplyExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbApplyExpression expression); ////// Typed visitor pattern method for DbArithmeticExpression. /// /// The DbArithmeticExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbArithmeticExpression expression); ////// Typed visitor pattern method for DbCaseExpression. /// /// The DbCaseExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbCaseExpression expression); ////// Typed visitor pattern method for DbCastExpression. /// /// The DbCastExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbCastExpression expression); ////// Typed visitor pattern method for DbComparisonExpression. /// /// The DbComparisonExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbComparisonExpression expression); ////// Typed visitor pattern method for DbConstantExpression. /// /// The DbConstantExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbConstantExpression expression); ////// Typed visitor pattern method for DbCrossJoinExpression. /// /// The DbCrossJoinExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbCrossJoinExpression expression); ////// Visitor pattern method for DbDerefExpression. /// /// The DbDerefExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbDerefExpression expression); ////// Typed visitor pattern method for DbDistinctExpression. /// /// The DbDistinctExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbDistinctExpression expression); ////// Typed visitor pattern method for DbElementExpression. /// /// The DbElementExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbElementExpression expression); ////// Typed visitor pattern method for DbExceptExpression. /// /// The DbExceptExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbExceptExpression expression); ////// Typed visitor pattern method for DbFilterExpression. /// /// The DbFilterExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbFilterExpression expression); ////// Visitor pattern method for DbFunctionExpression /// /// The DbFunctionExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbFunctionExpression expression); ////// Visitor pattern method for DbEntityRefExpression. /// /// The DbEntityRefExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbEntityRefExpression expression); ////// Visitor pattern method for DbRefKeyExpression. /// /// The DbRefKeyExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbRefKeyExpression expression); ////// Typed visitor pattern method for DbGroupByExpression. /// /// The DbGroupByExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbGroupByExpression expression); ////// Typed visitor pattern method for DbIntersectExpression. /// /// The DbIntersectExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbIntersectExpression expression); ////// Typed visitor pattern method for DbIsEmptyExpression. /// /// The DbIsEmptyExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbIsEmptyExpression expression); ////// Typed visitor pattern method for DbIsNullExpression. /// /// The DbIsNullExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbIsNullExpression expression); ////// Typed visitor pattern method for DbIsOfExpression. /// /// The DbIsOfExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbIsOfExpression expression); ////// Typed visitor pattern method for DbJoinExpression. /// /// The DbJoinExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbJoinExpression expression); ////// Visitor pattern method for DbLambdaExpression. /// /// The DbLambdaExpression that is being visited. ///An instance of TResultType. public virtual TResultType Visit(DbLambdaExpression expression) { throw EntityUtil.NotSupported(); } ////// Visitor pattern method for DbLikeExpression. /// /// The DbLikeExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbLikeExpression expression); ////// Visitor pattern method for DbLimitExpression. /// /// The DbLimitExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbLimitExpression expression); #if METHOD_EXPRESSION ////// Typed visitor pattern method for MethodExpression. /// /// The Expression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(MethodExpression expression); #endif ////// Typed visitor pattern method for DbNewInstanceExpression. /// /// The DbNewInstanceExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbNewInstanceExpression expression); ////// Typed visitor pattern method for DbNotExpression. /// /// The DbNotExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbNotExpression expression); ////// Typed visitor pattern method for DbNullExpression. /// /// The DbNullExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbNullExpression expression); ////// Typed visitor pattern method for DbOfTypeExpression. /// /// The DbOfTypeExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbOfTypeExpression expression); ////// Typed visitor pattern method for DbOrExpression. /// /// The DbOrExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbOrExpression expression); ////// Typed visitor pattern method for DbParameterReferenceExpression. /// /// The DbParameterReferenceExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbParameterReferenceExpression expression); ////// Typed visitor pattern method for DbProjectExpression. /// /// The DbProjectExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbProjectExpression expression); ////// Typed visitor pattern method for DbPropertyExpression. /// /// The DbPropertyExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbPropertyExpression expression); ////// Typed visitor pattern method for DbQuantifierExpression. /// /// The DbQuantifierExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbQuantifierExpression expression); ////// Typed visitor pattern method for DbRefExpression. /// /// The DbRefExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbRefExpression expression); ////// Typed visitor pattern method for DbRelationshipNavigationExpression. /// /// The DbRelationshipNavigationExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbRelationshipNavigationExpression expression); ////// Typed visitor pattern method for DbScanExpression. /// /// The DbScanExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbScanExpression expression); ////// Typed visitor pattern method for DbSortExpression. /// /// The DbSortExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbSortExpression expression); ////// Typed visitor pattern method for DbSkipExpression. /// /// The DbSkipExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbSkipExpression expression); ////// Typed visitor pattern method for DbTreatExpression. /// /// The DbTreatExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbTreatExpression expression); ////// Typed visitor pattern method for DbUnionAllExpression. /// /// The DbUnionAllExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbUnionAllExpression expression); ////// Typed visitor pattern method for DbVariableReferenceExpression. /// /// The DbVariableReferenceExpression that is being visited. ///An instance of TResultType. public abstract TResultType Visit(DbVariableReferenceExpression expression); } } // 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
- AxisAngleRotation3D.cs
- XsltQilFactory.cs
- SiteMapNodeItemEventArgs.cs
- TreeViewImageKeyConverter.cs
- StringPropertyBuilder.cs
- WebBrowserNavigatedEventHandler.cs
- WebPartConnectionsConfigureVerb.cs
- GradientBrush.cs
- SiteMapHierarchicalDataSourceView.cs
- WMIInterop.cs
- ObjectQueryProvider.cs
- ColorPalette.cs
- MdbDataFileEditor.cs
- FontNamesConverter.cs
- RuntimeWrappedException.cs
- SqlStream.cs
- FormatterServices.cs
- IndexedString.cs
- VirtualDirectoryMapping.cs
- EditingCommands.cs
- EncoderParameters.cs
- IndexerHelper.cs
- BinaryCommonClasses.cs
- WindowsSlider.cs
- BypassElement.cs
- CompressedStack.cs
- FocusWithinProperty.cs
- TypedDataSetSchemaImporterExtension.cs
- RTLAwareMessageBox.cs
- WebReference.cs
- AttributeQuery.cs
- ScriptReferenceEventArgs.cs
- BroadcastEventHelper.cs
- SmtpException.cs
- FixUp.cs
- DescendentsWalkerBase.cs
- SHA1Managed.cs
- SymLanguageVendor.cs
- RegexStringValidator.cs
- ProfileGroupSettingsCollection.cs
- CategoryList.cs
- EntitySqlQueryState.cs
- DataGridColumnsPage.cs
- Operators.cs
- GacUtil.cs
- XmlMembersMapping.cs
- ContentFileHelper.cs
- DetailsViewPageEventArgs.cs
- MdiWindowListItemConverter.cs
- CookieParameter.cs
- HuffCodec.cs
- FlowDocumentPageViewerAutomationPeer.cs
- Walker.cs
- cryptoapiTransform.cs
- MetadataItemEmitter.cs
- CommandField.cs
- CacheAxisQuery.cs
- FocusWithinProperty.cs
- HashMembershipCondition.cs
- GridEntry.cs
- PolyLineSegment.cs
- ProxySimple.cs
- StatusBar.cs
- FontCollection.cs
- FileClassifier.cs
- Process.cs
- ModelPerspective.cs
- dataprotectionpermissionattribute.cs
- IResourceProvider.cs
- DbModificationCommandTree.cs
- ProvidersHelper.cs
- DeleteStoreRequest.cs
- BitStream.cs
- BidPrivateBase.cs
- ProtectedProviderSettings.cs
- FormsAuthenticationModule.cs
- FtpCachePolicyElement.cs
- DependencyObjectProvider.cs
- TriState.cs
- Base64Decoder.cs
- LineUtil.cs
- NamedPipeActivation.cs
- BitmapEffectCollection.cs
- Bidi.cs
- sqlpipe.cs
- OutOfMemoryException.cs
- thaishape.cs
- ToolStripDropDownMenu.cs
- BaseParser.cs
- SystemColorTracker.cs
- ContainerVisual.cs
- Storyboard.cs
- SHA1Managed.cs
- ControlBuilderAttribute.cs
- InternalConfigConfigurationFactory.cs
- PointAnimationUsingPath.cs
- relpropertyhelper.cs
- X509Utils.cs
- InputLangChangeEvent.cs
- SessionParameter.cs