Skip to content

IRow interface

namespace: Serenity.Data   assemblySerenity.Net.Services

Row interface

public interface IRow : IEntityWithJoins

Members

name description
Fields { get; } Gets the fields.
IdField { get; } Gets the identifier field.
IgnoreConstraints { get; set; } Gets or sets a value indicating whether [ignore constraints].
IsAnyFieldAssigned { get; } Gets a value indicating whether this row instance has any field assigned.
Item { get; set; } Gets or sets a field value with specified name
NameField { get; } Gets the name field.
TrackAssignments { get; set; } Gets or sets a flag indicating whether to track assignments to field values.
TrackWithChecks { get; set; } Gets or sets a flag indicating whether to track assignments to field values in addition to throwing an exception on read if an unassigned field with null value is accessed. Setting this to true implicitly sets TrackAssignments to true, and setting it to false does not change TrackAssignments value. This flag is useful when loading a partial row from a database query and you want to ensure that only assigned fields are read. Connection extensions like List, ById, etc. automatically set this flag to true for rows they load.
ClearAssignment(…) Clears the assignment.
CloneRow() Clones the row.
CreateNew() Creates a new instance of the row type.
GetDictionaryData(…) Gets the dictionary data.
GetDictionaryDataKeys() Gets the dictionary data keys.
GetIndexedData(…) Gets the indexed data.
IsAssigned(…) Determines whether the specified field is assigned.
OnFieldGet(…) Called to check if a field is read without being assigned a value when tracking with checks.
OnFieldSet(…) Called when a field is assigned a value.
SetDictionaryData(…) Sets the dictionary data.
SetIndexedData(…) Sets the indexed data.

See Also