Exemplo n.º 1
0
        } // Map function closer

        public List <SqlParameter> MapParamsForUpsert(OrderStatusData entity) => new List <SqlParameter>
        {
            new SqlParameter("@order_status_key", entity.OrderStatusKey),
            new SqlParameter("@order_status_code", entity.OrderStatusCode),
            new SqlParameter("@order_status_name", entity.OrderStatusName),
            new SqlParameter("@order_status_type", entity.OrderStatusType),
            new SqlParameter("@order_status_desc", entity.OrderStatusDesc),
            GetOutParam()
        };
Exemplo n.º 2
0
 public List <SqlParameter> MapParamsForDelete(OrderStatusData entity) => MapParamsForDelete(entity.OrderStatusKey);