Stefan Hornburg (Racke) > Interchange6-Schema-0.070 > Interchange6::Schema::Result::OrderlinesShipping

Download:
Interchange6-Schema-0.070.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Interchange6::Schema::Result::OrderlinesShipping

ACCESSORS ^

orderlines_id

Foreign key constraint on "orderlines_id" in Interchange6::Schema::Result::Orderline via "orderline" relationship.

addresses_id

Foreign key constraint on "addresses_id" in Interchange6::Schema::Result::Address via "address" relationship.

shipments_id

Foreign key constraint on "shipments_id" in Interchange6::Schema::Result::Shipment via "shipment" relationship.

PRIMARY KEY ^

Each unique combination of "orderline" and "address" can have multiple related "shipments" in case an "orderline" needs to be shipped in more than one consignment.

RELATIONS ^

address

Type: belongs_to

Related object: Interchange6::Schema::Result::Address

orderline

Type: belongs_to

Related object: Interchange6::Schema::Result::Orderline

shipment

Type: belongs_to

Related object: Interchange6::Schema::Result::Shipment

METHODS ^

delete

Rows in this table should not be deleted so we overload "delete" in DBIx::Class::Row to throw an exception.

NOTE: if "delete" in DBIx::Class::ResultSet is called on a result set then this overloaded method is bypassed. Please consider using "delete_all" in DBIx::Class::ResultSet instead. Of course we also cannot prevent deletes performed outside DBIx::Class control.

syntax highlighting: