Home > other >  Modify and permissions
Modify and permissions

Time:11-25

In front of a simple introduction of the MVC programming model and Excel import and export data, below is some simple introduction about modification and authority, need to pay attention to some:

There should be a 3:
There is no need (1) new (database) of listModuleID, but not found in oldModuleIDs,
No, in (2) the need to remove the listModuleID oldModuleIDs in some,
ListModuleID (3) stay the same in some, also some oldModuleIDs,
Skip said from which the data, that is to say before that how many data
Take the meaning of article shows how much data, and is equivalent to our common pagesize
Example: the Skip (1.) Take (4)
The meaning of the above statements from the second data to display 4
Below is the Skip view style:
List Generic collections


As: c # provides a data transformation key, if can transform, it returns the converted value, if you don't value it returns null, won't appear abnormal
Cannot be used for basic data types (string) is generally used in some objects
As: when used with reference data type

In this style view (flightCabinIDs)
Verify flightCabinIDs
More passing flightCabinIDs are consistent and the session ID,
Have data to determine whether sessionFlightCabinIDs, length and the number of elements in the user transfer should be consistent, sessionFlightCabinIDs and transmit sessionFlightCabinIDs should keep consistent
  • Related