EntityValueWithId<TEntity,TPropertiesAvailableStatus> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The base class of entity value implementation generated from the model, when it support Id.
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class EntityValueWithId<TEntity,TPropertiesAvailableStatus> : Microsoft.VisualStudio.ProjectSystem.Query.Framework.EntityValueWithId, Microsoft.VisualStudio.ProjectSystem.Query.IEntityWithId<TEntity> where TPropertiesAvailableStatus : class, IPropertiesAvailableStatus, new()
[<System.Runtime.CompilerServices.Nullable(0)>]
type EntityValueWithId<'Entity, 'PropertiesAvailableStatus (requires 'PropertiesAvailableStatus : null and 'PropertiesAvailableStatus :> IPropertiesAvailableStatus and 'PropertiesAvailableStatus : (new : unit -> 'PropertiesAvailableStatus))> = class
inherit EntityValueWithId
interface IEntityWithId<'Entity>
interface IEntityWithId
interface IEntity
Public MustInherit Class EntityValueWithId(Of TEntity, TPropertiesAvailableStatus)
Inherits EntityValueWithId
Implements IEntityWithId(Of TEntity)
Type Parameters
- TEntity
The type of the entity item.
- TPropertiesAvailableStatus
A strong type to check whether a property value is available.
- Inheritance
- Derived
- Attributes
- Implements
Constructors
EntityValueWithId<TEntity,TPropertiesAvailableStatus>(IEntityRuntimeModel, EntityIdentity, TPropertiesAvailableStatus) |
Initializes a new instance of the EntityValueWithId<TEntity,TPropertiesAvailableStatus> class. |
EntityValueWithId<TEntity,TPropertiesAvailableStatus>(IEntityRuntimeModel) |
Initializes a new instance of the EntityValueWithId<TEntity,TPropertiesAvailableStatus> class. Only used to create an instance in the deserialization time. |
Properties
EntityRuntime | (Inherited from EntityValueBase) |
Id | (Inherited from EntityValueWithId) |
IsFrozen |
Gets whether the object is immutable. Once the entity values are initialized, it will be frozen and become immutable. (Inherited from EntityValueBase) |
PropertiesAvailableStatus |
Gets the property available status of this entity. |
SelfQuery |
Gets a base query to query information under this entity. |
Site |
Gets the site of the entity. (It is a part of infrastructure to attach additional collections to it. (Inherited from EntityValueBase) |
Methods
Explicit Interface Implementations
IEntity.PropertiesAvailableStatus | (Inherited from EntityValueBase) |
IEntityValue.LimitAvailableProperties(IPropertiesAvailableStatus) | (Inherited from EntityValueBase) |
IEntityValue.SetRelatedEntities(String, IReadOnlyCollection<IEntityValue>) | (Inherited from EntityValueBase) |
IEntityValue.SetSite(IEntitySite) | (Inherited from EntityValueBase) |
IEntityValue.TryGetRelatedEntities(String, IEnumerable<IEntityValue>) | (Inherited from EntityValueBase) |
IEntityValueFromProvider.ProviderState | (Inherited from EntityValueBase) |
IFreezable.IsFrozen | (Inherited from EntityValueBase) |