public static Formulario GetFormulario(ButtonPrimary element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, ButtonPrimaryDomainRoleId) as Formulario; }
public static void SetFormulario(ButtonPrimary element, Formulario newFormulario) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ButtonPrimaryDomainRoleId, newFormulario); }
/// <summary> /// Constructor /// Creates a FormularioHasButtonPrimaries 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">ButtonPrimary to use as the target of the relationship.</param> public FormularioHasButtonPrimaries(Formulario source, ButtonPrimary target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(FormularioHasButtonPrimaries.FormularioDomainRoleId, source), new DslModeling::RoleAssignment(FormularioHasButtonPrimaries.ButtonPrimaryDomainRoleId, target)}, null) { }