コード例 #1
0
        private static void ClearAssignedToPaidBill(int billId)
        {
            string sql = $"sp_ClearAssignedOnBillClosed {billId}";

            SqlDataAccess.ExecuteQuery(sql);
        }
コード例 #2
0
        private static void RemoveAssignedBill(int billId, int roommateId)
        {
            string sql = $"sp_RemoveAssignedBill '{billId}', '{roommateId}'";

            SqlDataAccess.ExecuteQuery(sql);
        }