public static DslModeling::LinkedElementCollection<ColumnaRenglon> GetColumnaRenglon(Renglones element) { return GetRoleCollection<DslModeling::LinkedElementCollection<ColumnaRenglon>, ColumnaRenglon>(element, RenglonesDomainRoleId); }
public void Ordenar() { Renglones.Sort((y, x) => x.PuntosTotales.CompareTo(y.PuntosTotales)); }
public static void SetRenglones(ColumnaRenglon element, Renglones newRenglones) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ColumnaRenglonDomainRoleId, newRenglones); }
/// <summary> /// Constructor /// Creates a RenglonesHasColumnaRenglon link in the same Partition as the given Renglones /// </summary> /// <param name="source">Renglones to use as the source of the relationship.</param> /// <param name="target">ColumnaRenglon to use as the target of the relationship.</param> public RenglonesHasColumnaRenglon(Renglones source, ColumnaRenglon target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(RenglonesHasColumnaRenglon.RenglonesDomainRoleId, source), new DslModeling::RoleAssignment(RenglonesHasColumnaRenglon.ColumnaRenglonDomainRoleId, target)}, null) { }
public static void SetTable(Renglones element, Table newTable) { DslModeling::DomainRoleInfo.SetLinkedElement(element, RenglonesDomainRoleId, newTable); }
public static Table GetTable(Renglones element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, RenglonesDomainRoleId) as Table; }
/// <summary> /// Constructor /// Creates a TableHasRenglones link in the same Partition as the given Table /// </summary> /// <param name="source">Table to use as the source of the relationship.</param> /// <param name="target">Renglones to use as the target of the relationship.</param> public TableHasRenglones(Table source, Renglones target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(TableHasRenglones.TableDomainRoleId, source), new DslModeling::RoleAssignment(TableHasRenglones.RenglonesDomainRoleId, target)}, null) { }