Msdata.SystInstanceTypeContexts (mscmp_syst_instance v0.1.0)

Defines the data structure of the Instance Type Context.

Establishes Instance Type defaults for each of an Application's defined Datastore contexts.

Defined in MscmpSystInstance.

Summary

Functions

Creates a changeset for inserting a new Instance Type Context.

Creates a changeset for updating an existing Instance Type Context.

Types

t()

@type t() :: %Msdata.SystInstanceTypeContexts{
  __meta__: Ecto.Schema.Metadata.t(),
  application:
    Msdata.SystApplications.t() | Ecto.Association.NotLoaded.t() | nil,
  application_context:
    Msdata.SystApplicationContexts.t() | Ecto.Association.NotLoaded.t() | nil,
  application_context_id: Ecto.UUID.t() | nil,
  default_db_pool_size: non_neg_integer() | nil,
  diag_role_created: String.t() | nil,
  diag_role_modified: String.t() | nil,
  diag_row_version: integer() | nil,
  diag_timestamp_created: DateTime.t() | nil,
  diag_timestamp_modified: DateTime.t() | nil,
  diag_update_count: integer() | nil,
  diag_wallclock_modified: DateTime.t() | nil,
  id: Ecto.UUID.t() | nil,
  instance_type:
    Msdata.SystEnumItems.t() | Ecto.Association.NotLoaded.t() | nil,
  instance_type_application:
    Msdata.SystInstanceTypeApplications.t()
    | Ecto.Association.NotLoaded.t()
    | nil,
  instance_type_application_id: Ecto.UUID.t() | nil
}

Functions

insert_changeset(insert_params)

Creates a changeset for inserting a new Instance Type Context.

Parameters

  • insert_params: A map containing the parameters for creating a new Instance Type Context.

Returns

An Ecto.Changeset.t/0 struct ready for insertion.

update_changeset(instance_type_context, update_params \\ %{})

Creates a changeset for updating an existing Instance Type Context.

Parameters

  • instance_type_context: The existing Instance Type Context struct to be updated.

  • update_params: A map containing the parameters for updating the Instance Type Context. Defaults to an empty map.

Returns

An Ecto.Changeset.t/0 struct ready for updating.