Пример #1
0
        public static void UpdateEstimationOnExpert(EstimationOnExpert estimation)
        {
            var query = $@"update EstimationOnExpert
                        set Value = {estimation.Value}
                        where IdProblem = {estimation.IdProblem}
                        and IdEstimator = {estimation.IdEstimator}
                        and IdEstimatedExpert = {estimation.IdEstimatedExpert}";

            ExecuteQueryWithResult <object>(query);
        }
Пример #2
0
        public static void CreateEstimationOnExpert(EstimationOnExpert est)
        {
            var query = "insert into EstimationOnExpert values(@IdEstimator, @IdEstimatedExpert, @IdProblem, @Value) ";

            ExecuteQuery(query, est);
        }