TableRelationshipReference class

A relationship table between two tables.

Implementers

Constructors

TableRelationshipReference(String relationshipTable, String sourceTable, String sourceField, Type sourceFieldType, String sourceRelationshipField, String targetTable, String targetField, Type targetFieldType, String targetRelationshipField, {String? relationshipField, String? sourceRelationshipFieldIndex, String? targetRelationshipFieldIndex})

Properties

hashCode → int
The hash code for this object.
no setteroverride
relationshipField → String?
The virtual/entity relationship field name.
final
relationshipTable → String
The source table name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceField → String
The source table field name.
final
sourceFieldType → Type
The source table field type.
final
sourceRelationshipField → String
The source relationship field name, int the relationshipTable.
final
sourceRelationshipFieldIndex → String?
The index of the sourceRelationshipField
final
sourceTable → String
The source table field name.
final
targetField → String
The target table field name.
final
targetFieldType → Type
The target table field type.
final
targetRelationshipField → String
The target relationship field name, int the relationshipTable.
final
targetRelationshipFieldIndex → String?
The index of the targetRelationshipField
final
targetTable → String
The target table name.
final

Methods

copyWithEntityTypes(TypeInfo sourceFieldEntityType, TypeInfo targetFieldEntityType) → TableRelationshipReferenceEntityTyped
Returns a copy as TableRelationshipReference, with entity types sourceFieldEntityType and targetFieldEntityType.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override