Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / ALinq / FilterQueryOptionExpression.cs / 1 / FilterQueryOptionExpression.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Respresents a filter query option in resource bound expression tree.
//
//
// @owner [....]
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System;
using System.Linq.Expressions;
///
/// An resource specific expression representing a filter query option.
///
internal class FilterQueryOptionExpression : QueryOptionExpression
{
/// predicate
private Expression predicate;
///
/// Creates a FilterQueryOptionExpression expression
///
/// the return type of the expression
/// the predicate
internal FilterQueryOptionExpression(Type type, Expression predicate)
: base((ExpressionType)ResourceExpressionType.FilterQueryOption, type)
{
this.predicate = predicate;
}
/// Gets the query option value.
internal Expression Predicate
{
get
{
return this.predicate;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Respresents a filter query option in resource bound expression tree.
//
//
// @owner [....]
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System;
using System.Linq.Expressions;
///
/// An resource specific expression representing a filter query option.
///
internal class FilterQueryOptionExpression : QueryOptionExpression
{
/// predicate
private Expression predicate;
///
/// Creates a FilterQueryOptionExpression expression
///
/// the return type of the expression
/// the predicate
internal FilterQueryOptionExpression(Type type, Expression predicate)
: base((ExpressionType)ResourceExpressionType.FilterQueryOption, type)
{
this.predicate = predicate;
}
/// Gets the query option value.
internal Expression Predicate
{
get
{
return this.predicate;
}
}
}
}
// 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
- ClientRolePrincipal.cs
- ToolStripDropTargetManager.cs
- PopupRoot.cs
- precedingquery.cs
- HtmlMeta.cs
- DelegatingChannelListener.cs
- SqlBooleanMismatchVisitor.cs
- PrintEvent.cs
- Keyboard.cs
- RequestResizeEvent.cs
- TransactionState.cs
- HttpHandlersSection.cs
- PropertyMetadata.cs
- CheckBoxBaseAdapter.cs
- WebPartPersonalization.cs
- WasEndpointConfigContainer.cs
- InputMethodStateTypeInfo.cs
- TextTreeInsertElementUndoUnit.cs
- CompositeDataBoundControl.cs
- FlowSwitchDesigner.xaml.cs
- EvidenceBase.cs
- MonthCalendar.cs
- XmlIlVisitor.cs
- BamlBinaryReader.cs
- ColumnWidthChangedEvent.cs
- ComboBox.cs
- DeleteMemberBinder.cs
- ThreadStartException.cs
- CoreChannel.cs
- Monitor.cs
- FunctionMappingTranslator.cs
- DataGridViewCellStateChangedEventArgs.cs
- FormViewRow.cs
- _AutoWebProxyScriptEngine.cs
- JpegBitmapEncoder.cs
- ListBoxItemAutomationPeer.cs
- HostExecutionContextManager.cs
- UrlUtility.cs
- ValueSerializerAttribute.cs
- EnumConverter.cs
- InputLanguage.cs
- MemberInfoSerializationHolder.cs
- SmiEventSink_Default.cs
- CodeStatement.cs
- Rect3D.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- InternalRelationshipCollection.cs
- SpotLight.cs
- ElementHost.cs
- ApplicationSettingsBase.cs
- SqlNodeAnnotation.cs
- ExecutedRoutedEventArgs.cs
- ConfigurationElementProperty.cs
- SQLResource.cs
- BuildManager.cs
- DataGridViewImageColumn.cs
- SingleTagSectionHandler.cs
- ValueType.cs
- ScriptResourceHandler.cs
- EntityDataSourceSelectedEventArgs.cs
- AudioFormatConverter.cs
- MatchAttribute.cs
- SamlAuthorizationDecisionStatement.cs
- SqlBulkCopyColumnMapping.cs
- CompoundFileDeflateTransform.cs
- SectionXmlInfo.cs
- MenuAutomationPeer.cs
- CFGGrammar.cs
- DetailsViewRow.cs
- XPathBinder.cs
- DataServiceStreamProviderWrapper.cs
- ManagementQuery.cs
- SecurityContextSecurityToken.cs
- XmlJsonReader.cs
- PropertyRecord.cs
- ListViewGroupConverter.cs
- TextFindEngine.cs
- CultureSpecificStringDictionary.cs
- MemoryRecordBuffer.cs
- Ops.cs
- ServiceReference.cs
- DesignerDataTable.cs
- RepeaterItemCollection.cs
- TypedTableBaseExtensions.cs
- Model3D.cs
- TextEditorThreadLocalStore.cs
- HttpContextWrapper.cs
- ArraySegment.cs
- XmlCodeExporter.cs
- Style.cs
- Transform.cs
- TaskFactory.cs
- EventlogProvider.cs
- ScrollChrome.cs
- ComponentEvent.cs
- XmlCharType.cs
- List.cs
- CustomValidator.cs
- TranslateTransform.cs
- SQLBoolean.cs