Class TypedRow
Represents a type-safe row of data when schema is known at compile-time. Typed rows store data in instance fields, providing better performance and schema definition compile-time checking than DynamicRows at the expense of inability to define schema at runtime
Inheritance
System.Object
TypedRow
Implements
System.IEquatable<Row>
System.Collections.Generic.IEnumerable<System.Object>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.DataAccess.CRUD
Assembly: NFX.dll
Syntax
[Serializable]
public abstract class TypedRow : Row, IConfigurable, IConfigurationPersistent, IEquatable<Row>, IEnumerable<object>, IEnumerable, IValidatable, IJSONWritable
Constructors
TypedRow()
Declaration
protected TypedRow()
Properties
Schema
References a schema for a table that this row is a part of
Declaration
public override sealed Schema Schema { get; }
Property Value
Type | Description |
---|---|
Schema |
Overrides
Methods
GetFieldValue(Schema.FieldDef)
Declaration
public override object GetFieldValue(Schema.FieldDef fdef)
Parameters
Type | Name | Description |
---|---|---|
Schema.FieldDef | fdef |
Returns
Type | Description |
---|---|
System.Object |
Overrides
SetFieldValue(Schema.FieldDef, Object)
Declaration
public override void SetFieldValue(Schema.FieldDef fdef, object value)
Parameters
Type | Name | Description |
---|---|---|
Schema.FieldDef | fdef | |
System.Object | value |
Overrides
Implements
System.IEquatable<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable