onebite2
asked on
Business Objects and lists
I have a list of values for a particular table as collection .Now I need to clean the value in that virtual column 'CardNumber' which is declared in the Business object .
How can I iterate through the Business object using the values in the list and clean thevalue in particular column??
Below is the sample code of list and Business object..I appreciate if any one can give me syntax.
How can I iterate through the Business object using the values in the list and clean thevalue in particular column??
Below is the sample code of list and Business object..I appreciate if any one can give me syntax.
'Read only list -
Dim _contractlist As BusinessLogic.Lists.ServiceContractsSearch = BusinessLogic.Lists. ContractsSearch.GetList(Me.DBConnectionString, duedateserver)
'Iterate through each row in the list and cleaning the column in the Business object ,this will save to the database.
Dim Contract As BusinessLogic.Contract
It would be helpful to know the implementation details of BusinessLogic.Lists.Servic eContracts Search. Does it inherit one of the built-in collections? Does it have a member which is IEnumerable?
For each contact in _contractlist
contact.CardNumber = nothing
Next
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.