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?
Loading
VulpesPosted Feb 22, 2012, 9:36 AM
So, of the four elements in the Object array returned by the Take method:
* the first and third are the parameter names
* the second and fourth are the respective values of those parameters