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
- XmlSchemaComplexContentExtension.cs
- Timeline.cs
- mongolianshape.cs
- ConfigurationElementProperty.cs
- EndpointAddress.cs
- CodeExporter.cs
- PhonemeConverter.cs
- SQLBytes.cs
- FreezableDefaultValueFactory.cs
- Int64Storage.cs
- CheckableControlBaseAdapter.cs
- MaskDesignerDialog.cs
- SimpleFileLog.cs
- SRDisplayNameAttribute.cs
- StreamWriter.cs
- MostlySingletonList.cs
- AgileSafeNativeMemoryHandle.cs
- HtmlContainerControl.cs
- WebPartCloseVerb.cs
- InputGestureCollection.cs
- AssociationType.cs
- XXXInfos.cs
- PrePrepareMethodAttribute.cs
- FixedSOMTextRun.cs
- MarkupExtensionReturnTypeAttribute.cs
- TableChangeProcessor.cs
- XmlSchemaCollection.cs
- securitycriticaldataformultiplegetandset.cs
- HttpHandlerAction.cs
- XmlBuffer.cs
- TryLoadRunnableWorkflowCommand.cs
- RemoveStoryboard.cs
- DataGridViewAutoSizeModeEventArgs.cs
- EventProvider.cs
- DbSetClause.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SortAction.cs
- SelectionWordBreaker.cs
- StagingAreaInputItem.cs
- WriteTimeStream.cs
- HMACSHA256.cs
- EDesignUtil.cs
- FormViewPagerRow.cs
- XmlNodeList.cs
- SystemIcmpV6Statistics.cs
- DataGridCommandEventArgs.cs
- Module.cs
- EditingMode.cs
- Point3DValueSerializer.cs
- ProfessionalColorTable.cs
- OuterGlowBitmapEffect.cs
- PageParserFilter.cs
- EntityParameter.cs
- PasswordRecoveryDesigner.cs
- TextInfo.cs
- ContractNamespaceAttribute.cs
- FastEncoder.cs
- DynamicDocumentPaginator.cs
- XPathNodeIterator.cs
- WebPartConnectionsConfigureVerb.cs
- ConcurrentDictionary.cs
- EncoderParameter.cs
- EpmContentDeSerializer.cs
- DataGridViewCellConverter.cs
- PermissionListSet.cs
- TreeNodeStyle.cs
- MessageQueueTransaction.cs
- MenuItemBindingCollection.cs
- ViewManager.cs
- MsmqAppDomainProtocolHandler.cs
- EntityDataSourceWrapper.cs
- ScrollBarAutomationPeer.cs
- GridViewRowCollection.cs
- _BufferOffsetSize.cs
- OracleRowUpdatingEventArgs.cs
- DashStyle.cs
- columnmapfactory.cs
- dtdvalidator.cs
- XmlDataDocument.cs
- Calendar.cs
- BaseProcessProtocolHandler.cs
- XmlSchemaSet.cs
- CodeGroup.cs
- ParserHooks.cs
- ToolStripDesignerAvailabilityAttribute.cs
- Debugger.cs
- TableRowGroup.cs
- TimeSpanValidatorAttribute.cs
- ExpressionBuilder.cs
- FilterableAttribute.cs
- GenericTypeParameterConverter.cs
- TrackBarDesigner.cs
- Attributes.cs
- SplineKeyFrames.cs
- XmlnsDictionary.cs
- BuiltInPermissionSets.cs
- ImageClickEventArgs.cs
- OuterGlowBitmapEffect.cs
- MulticastNotSupportedException.cs
- FindCriteria11.cs