Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Metadata / Edm / EntitySet.cs / 1 / EntitySet.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; namespace System.Data.Metadata.Edm { ////// concrete Class for representing a entity set /// public class EntitySet : EntitySetBase { #region Constructors ////// The constructor for constructing the EntitySet with a given name and an entity type /// /// The name of the EntitySet /// The db schema /// The db table /// The provider specific query that should be used to retrieve the EntitySet /// The entity type of the entities that this entity set type contains ///Thrown if the argument name or entityType is null internal EntitySet(string name, string schema, string table, string definingQuery, EntityType entityType) : base(name, schema, table, definingQuery, entityType) { } #endregion #region Properties ////// Returns the kind of the type /// public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.EntitySet; } } ////// Gets/Sets the entity type of this entity set /// public new EntityType ElementType { get { return (EntityType)base.ElementType; } } #endregion } } // 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.Text; using System.Diagnostics; namespace System.Data.Metadata.Edm { ////// concrete Class for representing a entity set /// public class EntitySet : EntitySetBase { #region Constructors ////// The constructor for constructing the EntitySet with a given name and an entity type /// /// The name of the EntitySet /// The db schema /// The db table /// The provider specific query that should be used to retrieve the EntitySet /// The entity type of the entities that this entity set type contains ///Thrown if the argument name or entityType is null internal EntitySet(string name, string schema, string table, string definingQuery, EntityType entityType) : base(name, schema, table, definingQuery, entityType) { } #endregion #region Properties ////// Returns the kind of the type /// public override BuiltInTypeKind BuiltInTypeKind { get { return BuiltInTypeKind.EntitySet; } } ////// Gets/Sets the entity type of this entity set /// public new EntityType ElementType { get { return (EntityType)base.ElementType; } } #endregion } } // 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
- ObjectResult.cs
- TextParaLineResult.cs
- AdornerDecorator.cs
- WinFormsSecurity.cs
- QueryHandler.cs
- EventLogPropertySelector.cs
- ProfileSettingsCollection.cs
- WindowsScroll.cs
- CodeDOMUtility.cs
- XmlDataSourceView.cs
- SerialPort.cs
- MarkupObject.cs
- CodeCompileUnit.cs
- DataGridHelper.cs
- ExpressionEditorAttribute.cs
- ContentHostHelper.cs
- PrinterResolution.cs
- SerialErrors.cs
- LinearKeyFrames.cs
- BooleanExpr.cs
- SafeNativeMethods.cs
- IntPtr.cs
- BuilderPropertyEntry.cs
- ImageBrush.cs
- DependentTransaction.cs
- SrgsSemanticInterpretationTag.cs
- RightsManagementInformation.cs
- BamlStream.cs
- TypeConverter.cs
- XmlAttributeAttribute.cs
- RunClient.cs
- TemplateEditingService.cs
- RectangleF.cs
- XmlUrlResolver.cs
- AssemblyCache.cs
- Canvas.cs
- TypeListConverter.cs
- Expander.cs
- StylusTip.cs
- Calendar.cs
- DiscoveryExceptionDictionary.cs
- OperationDescription.cs
- StorageTypeMapping.cs
- RecognizerStateChangedEventArgs.cs
- GiveFeedbackEvent.cs
- DataServiceRequestException.cs
- DataViewListener.cs
- RtfControlWordInfo.cs
- ApplicationBuildProvider.cs
- DefaultParameterValueAttribute.cs
- XmlSchemaComplexType.cs
- ObjectItemCachedAssemblyLoader.cs
- XmlnsDictionary.cs
- ColumnHeaderConverter.cs
- ParserExtension.cs
- ByteFacetDescriptionElement.cs
- Site.cs
- ReplyAdapterChannelListener.cs
- AnnotationHighlightLayer.cs
- StyleCollectionEditor.cs
- TableParagraph.cs
- BitStream.cs
- SortKey.cs
- UIElementParaClient.cs
- _SafeNetHandles.cs
- AvTrace.cs
- PublisherIdentityPermission.cs
- SettingsBase.cs
- SlotInfo.cs
- CollectionCodeDomSerializer.cs
- OleDbInfoMessageEvent.cs
- ConfigDefinitionUpdates.cs
- ExitEventArgs.cs
- Char.cs
- DataControlImageButton.cs
- NameValuePair.cs
- XmlSchemaComplexContent.cs
- AssemblyResourceLoader.cs
- ResourceProviderFactory.cs
- WebColorConverter.cs
- ServiceHttpHandlerFactory.cs
- ArraySubsetEnumerator.cs
- TableCellCollection.cs
- TextCollapsingProperties.cs
- CollectionType.cs
- InProcStateClientManager.cs
- SmiTypedGetterSetter.cs
- TimerElapsedEvenArgs.cs
- webeventbuffer.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- EmptyEnumerator.cs
- PrePrepareMethodAttribute.cs
- CornerRadiusConverter.cs
- WindowsListViewItem.cs
- SoapAttributeAttribute.cs
- CleanUpVirtualizedItemEventArgs.cs
- Page.cs
- ViewSimplifier.cs
- TextRange.cs
- FormView.cs