This topic has not yet been rated - Rate this topic

IncludeAttribute Class

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Specifies that the association should be part of any code generated client entities.

Namespace:  System.Web.DomainServices
Assembly:  System.Web.DomainServices (in System.Web.DomainServices.dll)
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true, 
	Inherited = true)]
public sealed class IncludeAttribute : Attribute

When applied to an entity association, this attribute specifies that the association should be part of any code generated client entities, and that any related entities should be included when serializing results to the client. It is up to the query method to make sure that the associated entities are actually loaded. This attribute can also be used to specify member projections.

System.Object
  System.Attribute
    System.Web.DomainServices.IncludeAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)