Table of Contents

Class FetchOnlyAttribute

Namespace
DevExpress.Xpo
Assembly
DevExpress.Xpo.v24.1.dll

Applied to persistent properties and fields. When applied, specifies that the target property or field value can be loaded from the database but should not be saved (should not be included in the INSERT and UPDATE SQL statements).

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true)]
public sealed class FetchOnlyAttribute : Attribute
Inheritance
FetchOnlyAttribute
Inherited Members

Constructors

FetchOnlyAttribute()

Initializes a new instance of the FetchOnlyAttribute class.

public FetchOnlyAttribute()