메소드 | 설명 | |
---|---|---|
AddRecord ( string strClientName ) : bool |
AddRecord Uses DAL helper class to execute u_AddRecord_i using the current record in the view Takes strProjectName as a parameter and doesn't need to, this should be removed. Calls the ConvertKCPToString function to get the string of locations and numbers from the Key Value Pair.
|
|
BoxDetailsPresenter ( IRecordView view ) : System |
Initializes a new instance of the BoxDetailsPresenter class.
|
|
BoxDetailsPresenter ( ISearchView view ) : System |
Initializes a new instance of the BoxDetailsPresenter class.
|
|
DeleteFile1 ( ) : void |
Deletes the file1.
|
|
DeleteFile2 ( ) : void |
Deletes the file2.
|
|
DeleteRecord ( ) : bool |
GetEntry Uses DAL helper class to execute u_DeleteRecord_d. Deletes the currently viewed record.
|
|
GetEntry ( string RecordID ) : bool |
GetEntry Uses DAL helper class to execute u_GetRecordByID_s with the RecordID in order to populate the view from the returned Dataset. Checks each Row has a value before assigning it. Calls the ConvertStringToKVP function to get the list of locations and box numbers.
|
|
GetSearchResults ( ) : bool |
GetSearchResults Uses the BaseDal helper class to retrieve search results based on the paramater list sent to u_SearchRecords_s . The search logic is contained in the SQL of that stored procedure. Updates the view with the results dataset.
|
|
UpdateRecord ( ) : bool |
UpdateRecord Uses DAL helper class to execute u_UpdateRecord_u using the current record in the view Checks each view property has a value before assigning it. Calls the ConvertKCPToString function to get the string of locations and numbers from the Key Value Pair.
|
메소드 | 설명 | |
---|---|---|
ConvertKVPToString ( int>.List |
Converts the KVP to string.
|
|
ConvertStringToKVP ( string strEntryString ) : int>>.List |
Converts the string to KVP.
|
|
UploadFile ( System.Web.HttpPostedFile fleFile ) : string |
Uploads the file.
|
public AddRecord ( string strClientName ) : bool | ||
strClientName | string | string |
리턴 | bool |
public BoxDetailsPresenter ( IRecordView view ) : System | ||
view | IRecordView | The view. |
리턴 | System |
public BoxDetailsPresenter ( ISearchView view ) : System | ||
view | ISearchView | The view. |
리턴 | System |