Back to Devexpress

XPMemberInfo.IsFetchOnly Property

xpo-devexpress-dot-xpo-dot-metadata-dot-xpmemberinfo-c5c9ff85.md

latest1.3 KB
Original Source

XPMemberInfo.IsFetchOnly Property

Specifies if the member value can be saved to the database.

Namespace : DevExpress.Xpo.Metadata

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
public bool IsFetchOnly { get; }
vb
Public ReadOnly Property IsFetchOnly As Boolean

Property Value

TypeDescription
Boolean

true , if the member value can be loaded from the database but should not be saved (should not be included in the INSERT and UPDATE SQL statements); false - if the value can be both loaded and saved.

|

Remarks

To change the IsFetchOnly value, use the FetchOnlyAttribute.

See Also

XPMemberInfo Class

XPMemberInfo Members

DevExpress.Xpo.Metadata Namespace