Constructors

Properties

Accessors

Methods

Create a relationship and add it inside of the class, saving the relationship mapping model inside. It will be able to get from the getter. Return the same class for chaining pattern.

memberof

ModelRelationshipFacade

Shortcut for RelationshipEnum.BelongsToOneRelation

memberof

ModelRelationshipFacade

Return the field name of "to" prop of "join" section

memberof

ModelRelationshipFacade

Return the field name of of the foreign key

memberof

ModelRelationshipFacade

Return the field name of "from" prop of "join" section

memberof

ModelRelationshipFacade

Return the name of the relationship between the origin model to the end model. This is created based on the relationship between them.

memberof

ModelRelationshipFacade

Return model RelationType based on the enum

memberof

ModelRelationshipFacade

Return the relationship model created from adding relationship on "Add" method

memberof

ModelRelationshipFacade

Get the table name of the static prop in ModelClass

memberof

ModelRelationshipFacade

Get the many to many table name (table1_table2)

memberof

ModelRelationshipFacade

Shortcut for RelationshipEnum.HasManyRelation

memberof

ModelRelationshipFacade

Shortcut for RelationshipEnum.HasOneRelation

memberof

ModelRelationshipFacade

Shortcut for RelationshipEnum.HasOneThroughRelation

memberof

ModelRelationshipFacade

Shortcut for RelationshipEnum.ManyToManyRelation

memberof

ModelRelationshipFacade