示例#1
0
        public void DeletarServidor(Guid id, string tabela)
        {
            string sqlDelete = GenericQuerys.GerarDeleteQuery(id, tabela);

            _conn.ExecuteScalar(sqlDelete, null, _trans);
        }
示例#2
0
        public void RemoverVideo(Guid id)
        {
            string sqlDelete = GenericQuerys.GerarDeleteQuery(id, "Video");

            _conn.Execute(sqlDelete, null, _trans);
        }