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