public static Formulario GetFormulario(ButtonDanger element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, ButtonDangerDomainRoleId) as Formulario; }
public static void SetFormulario(ButtonDanger element, Formulario newFormulario) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ButtonDangerDomainRoleId, newFormulario); }
/// <summary> /// Constructor /// Creates a FormularioHasButtonDangers link in the same Partition as the given Formulario /// </summary> /// <param name="source">Formulario to use as the source of the relationship.</param> /// <param name="target">ButtonDanger to use as the target of the relationship.</param> public FormularioHasButtonDangers(Formulario source, ButtonDanger target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(FormularioHasButtonDangers.FormularioDomainRoleId, source), new DslModeling::RoleAssignment(FormularioHasButtonDangers.ButtonDangerDomainRoleId, target)}, null) { }