예제 #1
0
        public static SubtipoFacturaList GetList(ESubtipoFactura tipo)
        {
            QueryConditions conditions = new QueryConditions {
                SubtipoFactura = tipo
            };

            return(GetList(SubtipoFactura.SELECT(conditions), false));
        }
예제 #2
0
        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));
        }