Muchas gracias, este video me ayudo mucho para comprender las bases basicas ya que estaba muy perdido sobre ello.
@InfoToolsSV Жыл бұрын
Excelente, saludos!
@frankmaverik20088 ай бұрын
Excelente video, el mas claro que he visto, muchas gracias
@InfoToolsSV8 ай бұрын
Gracias a ti
@sobrenaturalrock49248 ай бұрын
Me sirvio muchisimo, era justo lo que buscaba, algo simple sin enredos de EF y demas
@kvelezАй бұрын
0:07 Interesante esas img no creo sean de stock, muy probable ya tienes algo de XP con AI.
@InfoToolsSVАй бұрын
¿La imagen de fondo? La tengo desde antes que hubieran IA XD.
@kvelezАй бұрын
@@InfoToolsSV Interesante, noto que le llama la atencion la actriz.
@frankmaverik20088 ай бұрын
de pronto podes hacer un ejemplo de un controlador de realizade post de una estructura maestro detalle 👍
@InfoToolsSV8 ай бұрын
Claro que sí, próximamente, saludos!
@enriqueruiz32011 ай бұрын
Gracias.. por favor me puedes indicar cómo configuro mi VSCode para tener los menús contextuales a los comandos.. Gracias !
@InfoToolsSV11 ай бұрын
La extensión oficial de Microsoft para C# proporciona las opciones necesarias para menús contextuales como en la creación de clases, enums, etc. Saludos!
@juandiegorinconurdaneta8016 Жыл бұрын
excelente video, por cierto me gusta como personalizaste visual stuidio code puedes describir como lo personalizaste?
@InfoToolsSV Жыл бұрын
Gracias. Actualmente estoy usando el tema Dracula (draculatheme.com/) puedes agregarlo desde las extensiones, la barra lateral principal la he movido a la derecha, tengo deshabilitadas varias ventanas de la barra lateral, sólo tengo el Explorador, Extensiones, Depuración, SQL Server y Thunder Client. Para los vídeos hago zoom en VSCode para que se vea más grande el texto.
@laloserrano9711 Жыл бұрын
Más vídeos por favor
@kvelezАй бұрын
SQL: -- Table Definition CREATE TABLE Product ( Id BIGINT NOT NULL IDENTITY(1,1), Name NVARCHAR(45) NOT NULL, Price DECIMAL(12,2) NOT NULL, Amount INT NOT NULL, Description NVARCHAR(100) NOT NULL, CreationDate DATE DEFAULT GETDATE(), CONSTRAINT PK_PRODUCT_KEY PRIMARY KEY (Id) ); -- InsertProduct Stored Procedure with TRY...CATCH Block CREATE OR ALTER PROCEDURE InsertProduct ( @Name NVARCHAR(45), @Price DECIMAL(12,2), @Amount INT, @Description NVARCHAR(100), @CreationDate DATE = NULL -- Optional, defaults to current date if not provided ) AS BEGIN -- Declare a variable to store error information DECLARE @ErrorMessage NVARCHAR(4000), @ErrorSeverity INT, @ErrorState INT; BEGIN TRY -- If @CreationDate is NULL, use the current date IF @CreationDate IS NULL SET @CreationDate = GETDATE(); -- Insert into the Product table INSERT INTO Product (Name, Price, Amount, Description, CreationDate) VALUES (@Name, @Price, @Amount, @Description, @CreationDate); END TRY BEGIN CATCH -- Capture the error information SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(), @ErrorState = ERROR_STATE(); -- Return the error information RAISERROR (@ErrorMessage, @ErrorSeverity, @ErrorState); END CATCH; END; -- DeleteProduct Stored Procedure with TRY...CATCH Block CREATE OR ALTER PROCEDURE DeleteProduct(@Id BIGINT) AS BEGIN DECLARE @ErrorMessage NVARCHAR(4000), @ErrorSeverity INT, @ErrorState INT; BEGIN TRY -- Delete the product by Id DELETE FROM Product WHERE Id = @Id; END TRY BEGIN CATCH -- Capture the error information SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(), @ErrorState = ERROR_STATE(); -- Return the error information RAISERROR (@ErrorMessage, @ErrorSeverity, @ErrorState); END CATCH; END; -- GetProducts Stored Procedure CREATE OR ALTER PROCEDURE GetProducts AS BEGIN SELECT * FROM Product; END; -- UpdateProduct Stored Procedure with TRY...CATCH Block CREATE OR ALTER PROCEDURE UpdateProduct ( @Id BIGINT, @Name NVARCHAR(45), @Price DECIMAL(12,2), @Amount INT, @Description NVARCHAR(100), @CreationDate DATE = NULL -- Optional, defaults to current date if not provided ) AS BEGIN -- Declare a variable to store error information DECLARE @ErrorMessage NVARCHAR(4000), @ErrorSeverity INT, @ErrorState INT; BEGIN TRY -- If @CreationDate is NULL, use the current date IF @CreationDate IS NULL SET @CreationDate = GETDATE(); -- Update the specific product by Id UPDATE Product SET Name = @Name, Price = @Price, Amount = @Amount, Description = @Description, CreationDate = @CreationDate WHERE Id = @Id; END TRY BEGIN CATCH -- Capture the error information SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(), @ErrorState = ERROR_STATE(); -- Return the error information RAISERROR (@ErrorMessage, @ErrorSeverity, @ErrorState); END CATCH; END;
@InfoToolsSVАй бұрын
No es necesario el código en comentarios, el repositorio es público.
@kvelezАй бұрын
@@InfoToolsSV Lo hago por rapidez y por compartir mi solucion con otras personas.