OneToMany constructor
const
OneToMany({
- required Type targetEntity,
- bool cascadeDelete = false,
- bool lazyLoad = true,
- bool eagerLoad = false,
- RelationAction onDelete = RelationAction.noAction,
- RelationAction onUpdate = RelationAction.noAction,
Implementation
const OneToMany({
required this.targetEntity,
this.cascadeDelete = false,
this.lazyLoad = true,
this.eagerLoad = false,
this.onDelete = RelationAction.noAction,
this.onUpdate = RelationAction.noAction,
});