public static SubtipoFacturaList GetList(ESubtipoFactura tipo) { QueryConditions conditions = new QueryConditions { SubtipoFactura = tipo }; return(GetList(SubtipoFactura.SELECT(conditions), false)); }
internal static string SELECT(QueryConditions conditions) { OrderList orders = new OrderList(); orders.NewOrder("Tipo", ListSortDirection.Ascending, typeof(SubtipoFactura)); orders.NewOrder("Codigo", ListSortDirection.Ascending, typeof(SubtipoFactura)); conditions.Orders = orders; return(SubtipoFactura.SELECT(conditions, false)); }