1
Answer

Can anyone explain this method please

S

S

12y
957
1
A Take method that extracts property values from the business object and adds these to an object array.

private Object[] Take(Customer customer)

return new Object[] 
{
        "@CustomerId", customer.CustomerId,
        "@CompanyName", customer.Company,
}

From this I can see that the method returns a new object array which contains comma seperated values, one string and one the actual property of the customer class, but I cant see how these are binded or are they not? is it simply a name\key, value pair on the returned collection? 

Answers (1)