BuildYourOwnDAL.Actions.DatabaseAction.CreateCommand C# (CSharp) Méthode

CreateCommand() protected méthode

protected CreateCommand ( ) : SqlCommand
Résultat System.Data.SqlClient.SqlCommand
        protected SqlCommand CreateCommand()
        {
            var command = Connection.CreateCommand();
            command.Transaction = Transaction;
            return command;
        }