Open jthompsonnait opened 2 years ago
This comment outlines the action that can happen on the forms. Action are in response to the user interacting with the form, pressing button, or controls.
PRG Post Redirect Get
- rule: all tracks require a re-sequence track number
- rule: track numbers must be greater than 0
- rule: track numbers must be unique
- rule: tracks numbers must not introduce holes
The data models are the C# classes that will be coded in the class library project/application (folder: ViewModels) that holds the public data classes in our solution. These classes represent the query class models and the command class models (CQRS)
public class TrackSelection
{
public int TrackId {get; set;}
public string SongName {get; set;}
public string AlbumTitle{get; set;}
public string ArtistName{get; set;}
public int Milliseconds {get; set;}
public decimal Price {get; set;}
}
public class PlaylistTrackInfo
{
public int TrackId {get; set;}
public int TrackNumber {get; set;}
public string SongName {get; set;}
public int Milliseconds {get; set;}
}
No model class, individual parameters
for the Remove Tracks functionality, the SelectedTrack and TrackId will be required for transactional processing
for the Move Tracks functionality, the TrackId, TrackNumber and TrackInput will be required for transactional processing
public class PlaylistTrackTRX
{
public bool SelectedTrack {get; set;}
public int TrackId {get; set;}
public int TrackNumber {get; set;}
public int TrackInput {get; set;}
}
This comment will describe the various methods that will be used for Commands (CQRS) that alter the database. Queries are read only and require on average no complex processing. You may in another comment outline your query methods. However, commands require business rules, data validation and manipulations of one or more tables and/or records. Therefore, the processing of commands could required extensive logic to be outlined.
include the method signature and a bullet list of processing (pseudo-code)
This task list area will be completed once the implementation plan has been outlined. This area is where one creates the task list that is associated with the milestone. The tasks that are outlined in this area, are the tasks that are counted for the milestone.