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 / CreateRefExpr.cs / 1 / CreateRefExpr.cs
//----------------------------------------------------------------------
//
// Copyproperty (c) Microsoft Corporation. All propertys reserved.
//
//
// @owner [....]
// @backup [....]
//---------------------------------------------------------------------
namespace System.Data.Common.EntitySql
{
using System;
using System.Globalization;
using System.Collections;
using System.Collections.Generic;
///
/// Represents CREATEREF expression
/// createref( entitySet, keys )
///
internal sealed class CreateRefExpr : Expr
{
private Expr _entitySet;
private Expr _keys;
private Expr _typeIdentifier;
///
/// Initializes CreateRefExpr
///
/// expression representing the entity set
///
internal CreateRefExpr( Expr entitySet, Expr keys )
{
_entitySet = entitySet;
_keys = keys;
}
///
/// Initializes CreateRefExpr
///
///
///
///
internal CreateRefExpr(Expr entitySet, Expr keys, Expr typeIdentifier )
{
_entitySet = entitySet;
_keys = keys;
_typeIdentifier = typeIdentifier;
}
///
/// return the expression for the entity set
///
internal Expr EntitySet
{
get { return _entitySet; }
}
///
/// returns the expression for the keys
///
internal Expr Keys
{
get { return _keys; }
}
///
/// gets typeidentifier if exists
///
internal Expr TypeIdentifier
{
get { return _typeIdentifier; }
}
}
///
/// Represents KEY expression
/// key( expr )
///
internal class KeyExpr : Expr
{
private Expr _refExpr;
///
/// initializes KEY expression
///
///
internal KeyExpr( Expr refExpr )
{
_refExpr = refExpr;
}
///
/// returns ref inner expression
///
internal Expr RefExpr
{
get { return _refExpr; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------------
//
// Copyproperty (c) Microsoft Corporation. All propertys reserved.
//
//
// @owner [....]
// @backup [....]
//---------------------------------------------------------------------
namespace System.Data.Common.EntitySql
{
using System;
using System.Globalization;
using System.Collections;
using System.Collections.Generic;
///
/// Represents CREATEREF expression
/// createref( entitySet, keys )
///
internal sealed class CreateRefExpr : Expr
{
private Expr _entitySet;
private Expr _keys;
private Expr _typeIdentifier;
///
/// Initializes CreateRefExpr
///
/// expression representing the entity set
///
internal CreateRefExpr( Expr entitySet, Expr keys )
{
_entitySet = entitySet;
_keys = keys;
}
///
/// Initializes CreateRefExpr
///
///
///
///
internal CreateRefExpr(Expr entitySet, Expr keys, Expr typeIdentifier )
{
_entitySet = entitySet;
_keys = keys;
_typeIdentifier = typeIdentifier;
}
///
/// return the expression for the entity set
///
internal Expr EntitySet
{
get { return _entitySet; }
}
///
/// returns the expression for the keys
///
internal Expr Keys
{
get { return _keys; }
}
///
/// gets typeidentifier if exists
///
internal Expr TypeIdentifier
{
get { return _typeIdentifier; }
}
}
///
/// Represents KEY expression
/// key( expr )
///
internal class KeyExpr : Expr
{
private Expr _refExpr;
///
/// initializes KEY expression
///
///
internal KeyExpr( Expr refExpr )
{
_refExpr = refExpr;
}
///
/// returns ref inner expression
///
internal Expr RefExpr
{
get { return _refExpr; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- mansign.cs
- DataGridAddNewRow.cs
- MessageDirection.cs
- PseudoWebRequest.cs
- WebConfigurationHost.cs
- SkipStoryboardToFill.cs
- EmptyElement.cs
- Helper.cs
- IndexerNameAttribute.cs
- DesignTimeParseData.cs
- XpsDocument.cs
- TemplateField.cs
- XmlAttributeHolder.cs
- TypeReference.cs
- BridgeDataRecord.cs
- HyperLink.cs
- FileAuthorizationModule.cs
- DataGridCell.cs
- KeyInstance.cs
- DataColumnCollection.cs
- SystemWebSectionGroup.cs
- MenuCommand.cs
- DataControlFieldCell.cs
- EqualityComparer.cs
- DocumentGridPage.cs
- DataGridViewRowsRemovedEventArgs.cs
- MessageDispatch.cs
- UserControl.cs
- GroupItemAutomationPeer.cs
- CatalogPartChrome.cs
- PropertyInformationCollection.cs
- PropertyBuilder.cs
- UiaCoreTypesApi.cs
- BaseParser.cs
- MetafileHeaderWmf.cs
- CompilerParameters.cs
- AssemblyAssociatedContentFileAttribute.cs
- TabControlAutomationPeer.cs
- SaveFileDialog.cs
- DiscoveryMessageSequence.cs
- XamlTypeMapper.cs
- ToolStripOverflowButton.cs
- XmlElement.cs
- PartBasedPackageProperties.cs
- SafeLibraryHandle.cs
- ConfigurationManagerHelperFactory.cs
- EntityProxyTypeInfo.cs
- RedirectionProxy.cs
- ActiveXSite.cs
- RelationshipEndMember.cs
- FlowchartSizeFeature.cs
- SecurityToken.cs
- ResourceManagerWrapper.cs
- SchemaElementLookUpTableEnumerator.cs
- Int16KeyFrameCollection.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ChtmlLinkAdapter.cs
- TypeUtil.cs
- StringResourceManager.cs
- MasterPageBuildProvider.cs
- ZipIOLocalFileBlock.cs
- FontUnit.cs
- Configuration.cs
- IndexedEnumerable.cs
- CookielessHelper.cs
- CachedTypeface.cs
- XmlSchemaImport.cs
- MsmqInputChannelListenerBase.cs
- Lease.cs
- ReflectionHelper.cs
- ChangeBlockUndoRecord.cs
- wgx_sdk_version.cs
- DeobfuscatingStream.cs
- CodeArgumentReferenceExpression.cs
- TdsValueSetter.cs
- SourceFileBuildProvider.cs
- GcHandle.cs
- Latin1Encoding.cs
- FocusChangedEventArgs.cs
- Rotation3DAnimation.cs
- FastPropertyAccessor.cs
- TextShapeableCharacters.cs
- ProfilePropertyNameValidator.cs
- StyleCollection.cs
- FixedBufferAttribute.cs
- DesigntimeLicenseContextSerializer.cs
- CodeTypeMemberCollection.cs
- EntityDataSourceView.cs
- UpdatePanelTriggerCollection.cs
- Span.cs
- XhtmlBasicCalendarAdapter.cs
- ExpandSegmentCollection.cs
- WCFModelStrings.Designer.cs
- ThreadStartException.cs
- TemplateManager.cs
- ObjectSet.cs
- DefaultMemberAttribute.cs
- VirtualPathProvider.cs
- SecurityTokenContainer.cs
- Wizard.cs